Capital Gains Tax Calculator (USA)
Calculate your capital gains tax on property sales considering US-specific regulations and exemptions.
How to Calculate Capital Gains Tax
The capital gains tax is calculated as:
Where:
- Selling Price: The amount received from selling the property
- Purchase Price: The original cost of acquiring the property
- Expenses: Costs associated with the sale (commissions, legal fees, improvements, etc.)
- Tax Rate: The applicable capital gains tax rate based on holding period and income
- Capital Gains Tax: The tax owed on the profit from the sale
Calculator: Capital Gains Tax
Tax Calculation Breakdown
Tax Composition
Tax Analysis
Analysis & Recommendations
Your capital gains tax of $18,750 represents 15% of your capital gain.
- Holding period of 7 years qualifies for long-term capital gains treatment
- Primary residence exclusion not applicable for investment property
- Consider timing of sale to optimize tax impact
- Explore 1031 exchange for deferring capital gains tax
Understanding Capital Gains Tax in the USA
Capital gains tax is a tax on the profit realized from selling an asset that has increased in value. In the context of real estate, it applies to the gain made from selling property. The tax is only applied when the asset is sold (realized), not while it's held (unrealized).
The basic formula for calculating capital gains tax is:
\[\text{Capital Gains Tax} = (\text{Selling Price} - \text{Purchase Price} - \text{Expenses}) \times \text{Tax Rate}\]
However, the calculation involves several steps:
- Determine the selling price of the property
- Calculate the adjusted basis (original purchase price + improvements + expenses)
- Calculate the capital gain (selling price - adjusted basis)
- Determine the applicable tax rate based on holding period and income
- Calculate the tax owed
- Short-term gains (held ≤1 year) taxed as ordinary income
- Long-term gains (held >1 year) taxed at preferential rates
- Primary residence exclusion allows up to $250,000/$500,000 exclusion
- State taxes may apply in addition to federal taxes
- Depreciation recapture may apply to investment properties
Test Your Knowledge
If you sell a property for $500,000 that you bought for $300,000 with $20,000 in expenses and improvements, what is the capital gain?
What is the difference between short-term and long-term capital gains rates?
What is the maximum capital gains exclusion for a single filer selling their primary residence?
What is the purpose of a 1031 exchange in real estate?
You bought a property for $200,000, spent $30,000 on improvements, and sold it for $350,000 after paying $15,000 in selling expenses. If your long-term capital gains tax rate is 15%, what is the tax owed?
Calculate the capital gain and the tax owed.
Q&A
Q: What are the current federal long-term capital gains tax rates in the USA?
A: As of 2023, federal long-term capital gains tax rates in the USA are:
0% Rate:
- Single Filers: Income up to $44,625
- Married Filing Jointly: Income up to $89,250
- Married Filing Separately: Income up to $44,625
- Head of Household: Income up to $59,750
15% Rate:
- Single Filers: Income $44,626 - $492,300
- Married Filing Jointly: Income $89,251 - $553,850
- Married Filing Separately: Income $44,626 - $276,900
- Head of Household: Income $59,751 - $523,050
20% Rate:
- Single Filers: Income over $492,300
- Married Filing Jointly: Income over $553,850
- Married Filing Separately: Income over $276,900
- Head of Household: Income over $523,050
Note: These rates apply to most assets including real estate. Higher-income taxpayers may also be subject to the 3.8% Net Investment Income Tax (NIIT).
Q: Can I avoid capital gains tax by using a 1031 exchange, and what are the requirements?
A: A 1031 exchange allows you to defer (not avoid) capital gains tax by reinvesting proceeds from the sale of an investment property into another "like-kind" property:
Key Requirements:
- Like-Kind Property: Must be investment property for investment property (residential for residential, commercial for commercial)
- Timeline: Identify replacement property within 45 days of sale
- Closing: Complete purchase within 180 days of sale or tax return due date (whichever is earlier)
- Qualified Intermediary: Required to facilitate the exchange
- Equal or Greater Value: Replacement property must be equal or greater value than the one sold
Restrictions:
- Cannot use for personal residences (primary homes)
- Cannot receive proceeds before reinvesting
- Complex rules apply to partnerships and entities
Benefits:
Defers tax indefinitely if you continue exchanging properties. Eventually, when you sell without exchanging, you'll owe the deferred tax, but you may benefit from stepped-up basis at death for heirs.
Q: How do state capital gains taxes work, and which states have the highest rates?
A: State capital gains taxes vary significantly and add to federal taxes:
States with Highest Top Rates:
- California: 13.3% (highest in the nation)
- Hawaii: 11%
- New Jersey: 10.75%
- New York: 8.82% (plus local taxes)
- Oregon: 9.9%
States with No Income Tax (No Capital Gains Tax):
- Alaska, Florida, Nevada, South Dakota, Texas, Washington, Wyoming
- Washington D.C. has income tax
Special Considerations:
- Some states don't distinguish between short and long-term gains
- Many states follow federal definitions of gains
- Part-year residents may be taxed on gains from property in state
- Some states offer exclusions for primary residences
When calculating total tax liability, always consider both federal and state rates. For example, a 15% federal rate plus 13.3% California rate equals 28.3% total on long-term gains.