Capital Gains Tax Calculator 2026
Calculate short-term and long-term capital gains taxes for 2026. Enter your purchase price, sale price, and holding period. Free capital gains estimator.
How to Use This Capital Gains Tax
Enter your purchase price and sale price for the asset, specify the holding period (short-term if held less than 1 year, long-term if held over 1 year), select your filing status, and enter your annual taxable income.
Optionally add your state tax rate if your state taxes capital gains. The calculator will show your capital gain, federal and state taxes owed, and your net profit after tax. Try comparing short-term vs. long-term scenarios to see the significant tax savings from holding investments longer.
What Is Capital Gains Tax?
A capital gains tax calculator estimates the federal and state taxes you'll owe when you sell an investment (stock, mutual fund, real estate, cryptocurrency, etc.) for a profit. Capital gains taxes vary dramatically depending on how long you held the asset.
Understanding capital gains taxes helps you plan investment sales strategically, evaluate the true net returns on investments, and make informed decisions about rebalancing your portfolio. The tax difference between short-term and long-term gains can be substantial, making holding periods strategically important.
Formula & Methodology
Capital gains tax calculation depends on holding period:
Capital Gain = Sale Price − Cost Basis (Purchase Price)
Short-term Tax = Capital Gain × Ordinary Income Tax Rate (10% to 37%)
Long-term Tax = Capital Gain × LTCG Rate (0%, 15%, or 20%)
The LTCG rate is determined by your total taxable income and filing status. For 2026, single filers pay 0% on LTCG up to $47,025 of taxable income, 15% from $47,025 to $518,900, and 20% above $518,900.
Net Profit = Capital Gain − Federal Tax − State Tax (if applicable)
Practical Examples
Example 1 - Long-term Gain: You buy a stock for $10,000 and sell it for $15,000 after holding it for 2 years. Capital gain = $5,000. As a single filer with $75,000 taxable income, you're in the 15% LTCG bracket. Federal tax = $5,000 × 15% = $750. With a 5% state tax, state tax = $5,000 × 5% = $250. Total tax = $1,000. Net profit = $5,000 - $1,000 = $4,000.
Example 2 - Short-term Gain: Same $10,000 investment sold for $15,000, but held only 6 months. Same filer is in the 12% ordinary income bracket. Federal tax = $5,000 × 12% = $600. State tax = $250. Total tax = $850. Net profit = $5,000 - $850 = $4,150. Note: While short-term resulted in lower tax here, this is less typical than long-term gains having lower rates.
Frequently Asked Questions
Related Calculators
Income Tax Calculator
Estimate your federal income tax liability based on your gross income, filing status, deductions, and number of dependents using 2024 US federal tax brackets.
Tax Refund Calculator 2026
Estimate your 2026 tax refund or amount owed. Enter your income, withholdings, deductions, and credits to see your estimated refund. Free and accurate tax calculator.
Investment Return Calculator
Calculate the future value of your investments with compound growth, monthly contributions, inflation adjustment, and capital gains tax. See nominal, real, and after-tax returns.
ROI Calculator
Calculate your return on investment including ROI percentage, profit or loss, annualized ROI, and monthly equivalent return. Enter your initial investment and final value to see a full breakdown.
People Also Calculate
Mortgage Payment Calculator
Calculate your monthly mortgage payment, total interest, and overall cost of a home loan based on price, down payment, interest rate, and loan term.
Compound Interest Calculator
Calculate how your investments grow over time with compound interest. See the power of compounding with regular monthly contributions and different compounding frequencies.
Loan Payoff Calculator
Find out how long it will take to pay off your loan and how much interest you will pay. Enter your balance, interest rate, and monthly payment to see your payoff timeline.