Ad Space — Top Banner

Capital Gains Tax Estimate Calculator

Estimate federal capital gains tax on investments based on purchase price, sale price, holding period, and income bracket.

Your data stays in your browser. We do not store, collect, or transmit any information you enter.
Estimated Capital Gains Tax

Capital gains tax is charged on the profit from selling an asset (stocks, bonds, real estate, etc.) for more than you paid. The tax rate depends on how long you held the asset and your taxable income level. Understanding the difference between short-term and long-term capital gains is essential for tax planning.

Basic Formula: Capital Gain = Sale Price - Purchase Price - Transaction Costs Tax Owed = Capital Gain × Applicable Tax Rate

Short-Term vs. Long-Term Capital Gains:

  • Short-term: Asset held for 1 year or less. Taxed at your ordinary income tax rate (10%–37%).
  • Long-term: Asset held for more than 1 year. Taxed at preferential rates (0%, 15%, or 20%).

2025 Long-Term Capital Gains Tax Rates (Federal):

Filing Status 0% Rate 15% Rate 20% Rate
Single Up to $48,350 $48,351–$533,400 Over $533,400
Married Filing Jointly Up to $96,700 $96,701–$600,050 Over $600,050
Head of Household Up to $64,750 $64,751–$566,700 Over $566,700

Net Investment Income Tax (NIIT): An additional 3.8% surtax applies to investment income for individuals with modified adjusted gross income over $200,000 (single) or $250,000 (married filing jointly). This makes the effective top long-term capital gains rate 23.8%.

Short-Term Capital Gains Rates (Ordinary Income, 2025):

Tax Bracket Rate
$0–$11,925 10%
$11,926–$48,475 12%
$48,476–$103,350 22%
$103,351–$197,300 24%
$197,301–$250,525 32%
$250,526–$626,350 35%
Over $626,350 37%

Capital Losses: If you sell an asset for less than you paid, you have a capital loss. Capital losses offset capital gains dollar for dollar. If your losses exceed your gains, you can deduct up to $3,000 of net capital losses against ordinary income per year. Remaining losses carry forward to future tax years indefinitely.

Tax-Loss Harvesting: Selling losing investments before year-end to offset gains is a common strategy. Be aware of the wash-sale rule — if you buy a substantially identical security within 30 days before or after the sale, the loss is disallowed.

State Taxes: Many states also tax capital gains, typically at ordinary income rates. State capital gains taxes range from 0% (in states with no income tax like Florida, Texas, Nevada) to over 13% (California). This calculator estimates federal tax only.

Practical Tips: Hold investments for at least one year and one day to qualify for long-term rates. Consider timing your sales to years when your income is lower. Donate appreciated assets to charity instead of selling them to avoid capital gains entirely and receive a tax deduction. Inherited assets receive a stepped-up cost basis, eliminating unrealized gains at death.


Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.