Capital Gains Tax & Profit Calculator
### Taxation & Wealth Strategy: Short-Term vs. Long-Term Capital Gains The IRS rewards patient capital by offering preferential tax rates on assets held for more than one continuous year. #### Ke...
⚙ Input Values
📊 Results
Embed on Your Website
Copy and paste this code into your website.
<iframe src="https://calcusolve.com/calculator/capital-gains-calculator?embed=true" width="100%" height="600" frameborder="0" loading="lazy" title="Capital Gains Tax & Profit Calculator"></iframe> ⚖ Scenario Comparison
What This Means For You
Saved Calculations
No saved calculations yet.
Click "Save" to bookmark your current result.
📐 Formula
💡 Practical Example
For example, purchasing stock for $25,000 and selling for $40,000 with $200 in fees after holding for more than 1 year (Single filer, $85,000 income, 5.0% state tax): \. Tax owed is 15.0% Federal ($2,220.00) + 5.0% State ($740.00) = $2,960.00 total tax, leaving $11,840.00 in net after-tax profit.
📖 About Capital Gains Tax & Profit Calculator
Taxation & Wealth Strategy: Short-Term vs. Long-Term Capital Gains
The IRS rewards patient capital by offering preferential tax rates on assets held for more than one continuous year.
Key Tax Brackets & Surtaxes
- Long-Term Rates (0%, 15%, 20%): Most middle-class filers pay 15% on long-term gains, while high earners above 500k pay 20%.
- Net Investment Income Tax (NIIT 3.8%): Imposed under ACA on investment income for Single filers earning over 200,000 (250,000 for Married Filing Jointly).
- Tax-Loss Harvesting: Net capital losses can offset unlimited capital gains plus up to 3,000 per year of ordinary income.
How to Use This Calculator
Enter your Original Purchase Price / Cost Basis () (e.g. 25000), Sale Price / Gross Proceeds () (e.g. 40000), Brokerage / Transaction Fees () (e.g. 200), Asset Holding Period — choose from options such as Long-Term (Held > 1 Year - Preferential Tax Rates), Short-Term (Held ≤ 1 Year - Ordinary Income Rates), Tax Filing Status — choose from options such as Single Filer, Married Filing Jointly, Head of Household, Total Taxable Income (Excluding this gain, ) (e.g. 85000), and State Capital Gains Tax Rate (%) (e.g. 0 for FL/TX/WA, 5 for avg, 9.3 for CA). Results update instantly as you type — no submit button or page reload required. Adjust any value to compare scenarios side by side.
The Formula
Federal and state capital gains tax calculations: Capital Gain = Gross Sale Proceeds - Adjusted Cost Basis - Transaction Fees Tax Owed = Net Gain × (Federal Rate + NIIT Rate + State Rate)-Tax Profit = Net Capital Gain - Total Tax Owed Holding Period Rules:- Short-Term (Held 1 Year): Taxed at ordinary income marginal tax brackets (10% to 37%).- Long-Term (Held > 1 Year): Preferential rates of 0%, 15%, or 20% depending on taxable income.
Worked Example
For example, purchasing stock for 25,000 and selling for 40,000 with 200 in fees after holding for more than 1 year (Single filer, 85,000 income, 5.0% state tax): . Tax owed is 15.0% Federal (2,220.00) + 5.0% State (740.00) = 2,960.00 total tax, leaving 11,840.00 in net after-tax profit.
Understanding Your Result
Long-term capital gains (assets held over 12 months) are taxed at 0%, 15%, or 20% depending on taxable income — significantly below ordinary income rates. Short-term gains are taxed as ordinary income. Tax-loss harvesting — selling losing positions to offset gains — can reduce or eliminate capital gains liability in a given year. For real estate, the 250,000/500,000 principal residence exclusion applies if you've lived in the home 2 of the last 5 years.
💡 Financial Planning: Expert Principles & Risk Awareness
- All calculations assume fixed rates and idealized conditions. Real-world results vary due to market volatility, inflation, fees, and taxes.
- The Consumer Financial Protection Bureau (CFPB) recommends consulting a certified financial planner (CFP) for decisions involving significant sums.
- Run at least three scenarios: optimistic, pessimistic, and most-likely — to understand the full range of potential outcomes before committing.
- Inflation averages 2–3% annually in the US (Federal Reserve target). Long-term projections that ignore inflation significantly overstate future purchasing power.
- Tax treatment varies widely by account type (IRA, 401k, brokerage), jurisdiction, and income level. Verify tax implications with a CPA before acting.
- Compound interest works for you in savings/investments and against you in debt. The difference of even 1% in rate, sustained over decades, is enormous.
- Emergency funds (3–6 months of expenses) should be established before optimizing for returns — financial security precedes financial growth.
- Financial projections older than 12 months should be recalculated. Interest rates, tax brackets, and market conditions shift materially year to year.
Results are for informational and educational purposes only. Always verify critical decisions with a qualified professional.