💰

Capital Gains Tax & Profit Calculator

Finance Free Instant Private
Finance

### 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...

Reviewed by Noman Khan · MBA
Last updated:
Editorial Guidelines

⚙ Input Values

📊 Results

Capital Gains Summary
Net Gain: $14,800.00 | Total Tax: $2,960.00 | After-Tax: $11,840.00
Total Net Capital Gain / Profit
$14,800.00
Estimated Federal Capital Gains Tax
$2,220.00 (15.0% Fed)
Estimated State Capital Gains Tax
$740.00 (5% State)
Total Combined Tax Liability
$2,960.00
Net Profit After All Taxes
$11,840.00
Effective Tax Rate on Gain (%)
20.00%
✦ Tax Bracket & Strategy Diagnostic
Capital Gains Analysis: Selling at $40,000 against a cost basis of $25,000 (and $200 fees) yields a pre-tax Net Capital Gain of $14,800.00 (Long-Term > 1 Year). Federal Tax: $2220.00 (15.0% base) + State Tax: $740.00 (5%) = Total Tax $2,960.00 (Effective rate: 20.00%). Net take-home profit: $11,840.00.
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>

📐 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.

💡 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.

❓ Frequently Asked Questions

What is the difference between short-term and long-term capital gains?

Short-term capital gains apply to assets held for one year or less and are taxed at ordinary income tax rates (up to 37%). Long-term gains apply to assets held for more than one year and receive lower preferential rates (0%, 15%, or 20%).

How much can you make before paying capital gains tax?

For 2024/2026, Single filers pay 0% federal long-term capital gains tax on total income up to $47,025 (up to $94,050 for Married Filing Jointly).

What is Net Investment Income Tax (NIIT)?

NIIT is a 3.8% federal surtax on investment income (capital gains, dividends, interest) that applies to individuals with modified adjusted gross income over $200,000 ($250,000 for married couples).

Can capital losses offset capital gains?

Yes. Capital losses can offset capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 of remaining net losses against ordinary income per tax year, rolling over any excess indefinitely.

Which states have 0% state capital gains tax?

States with no state income tax on investment capital gains include Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming (Washington state levies a 7% tax on high long-term gains).

Try Other Calculators