Estimate short-term and long-term capital gains tax based on holding period, basis, and filing status.
Last updated: February 23, 2026
Wages, salary, and other income for accurate marginal rate calculation
Long-term gains are taxed at preferential rates: 0%, 15%, or 20% depending on income.
Disclaimer: This calculator provides estimates for federal capital gains taxes only, based on 2026 tax brackets and rates. It does not account for state or local taxes, the alternative minimum tax (AMT), depreciation recapture, qualified small business stock exclusions, opportunity zone deferrals, or wash sale rules. Your actual tax liability may differ based on your complete tax situation. This tool is for educational purposes only and does not constitute tax, legal, or financial advice. Consult a qualified tax professional for guidance specific to your circumstances.
When you sell an investment — stocks, bonds, real estate, cryptocurrency, or other assets — for more than you originally paid, the profit is called a capital gain and is subject to federal tax. How much tax you owe depends on two key factors: how long you held the asset and your total taxable income.
The IRS distinguishes between short-term and long-term capital gains based on your holding period. Assets held for one year or less before selling generate short-term capital gains, which are taxed at ordinary income tax rates — the same progressive brackets that apply to wages and salaries. Assets held for more than one year qualify for preferential long-term capital gains rates of 0%, 15%, or 20%, depending on your taxable income and filing status.
High-income taxpayers may also owe the 3.8% Net Investment Income Tax, sometimes called the Medicare surtax on investment income. The NIIT applies to the lesser of your net investment income or the amount by which your modified adjusted gross income (MAGI) exceeds the threshold: $200,000 for single filers, $250,000 for married filing jointly, $125,000 for married filing separately, and $200,000 for head of household. This means the maximum combined long-term capital gains rate for high earners is effectively 23.8% (20% + 3.8% NIIT).
Your cost basis is generally the original purchase price of the asset plus any associated costs such as commissions, fees, or improvements (for real estate). A higher cost basis means a smaller capital gain and lower taxes. Methods for determining cost basis include specific identification, FIFO (first in, first out), and average cost (for mutual fund shares). Inherited assets typically receive a stepped-up basis to fair market value at the date of death, potentially eliminating unrealized gains.
If you sell an asset for less than your cost basis, you have a capital loss. Capital losses first offset capital gains of the same type (short-term losses offset short-term gains, long-term losses offset long-term gains), then offset gains of the other type. If your total capital losses exceed your total capital gains, you can deduct up to $3,000 per year ($1,500 if married filing separately) against ordinary income. Any remaining losses carry forward to future tax years indefinitely.
Estimate short-term and long-term capital gains tax based on holding period, basis, and filing status. This tool runs in-browser for fast results without account setup.
Yes. US Capital Gains Tax Calculator is free to use on ConvertCrunch.
Results depend on the inputs and assumptions you provide. Always validate final numbers or outputs against your official workflow before publishing or filing.
ConvertCrunch tools are built for immediate use with no signup required.
This tool is part of larger workflows. Open a hub to continue with the next relevant tools.
Paycheck, withholding, tax planning, and reimbursement workflows for recurring money operations.
Pricing, margin, tax, and workload tools for independent operators.
Continue your workflow with these tools from the same playbook.
Paycheck Calculator
Estimate take-home pay after federal taxes, state taxes, and payroll deductions for hourly or salary income.
Overtime Pay Calculator
Calculate overtime pay based on regular hours, overtime hours, and labor law overtime multipliers.
US Income Tax Estimator
Estimate your income tax using current tax brackets and deduction values.. Free online, browser-based tool with instant results and no signup.
US Quarterly Tax Payment Calculator
Calculate your estimated quarterly tax payments to avoid underpayment penalties. Perfect for freelancers and small business owners.
Australia Income Tax Calculator
Estimate Australian income tax with resident/foreign taxpayer rates and optional Medicare levy.
Australia Self-Employment Tax Calculator
Calculate the Australian Medicare Levy and Medicare Levy Surcharge for sole traders and self-employed workers.
US Bonus Tax Calculator
Estimate federal withholding on bonuses using percentage and aggregate methods, plus state tax impact.
US Estimated Tax Penalty Calculator
Estimate underpayment penalties for quarterly taxes using projected payments and annual liability.
US Freelance Income Tax Estimator
Quickly estimate total annual tax burden for freelance and 1099 income.. Free online, browser-based tool with instant results and no signup.
US Income Tax Estimator
Estimate your income tax using current tax brackets and deduction values.. Free online, browser-based tool with instant results and no signup.
US Property Tax Estimator
Estimate your annual property tax based on home value, state, assessment ratio, and homestead exemption.
US Quarterly Tax Payment Calculator
Calculate your estimated quarterly tax payments to avoid underpayment penalties. Perfect for freelancers and small business owners.
Next Step
Continue with Paycheck Calculator