Important Disclaimer — Not Financial Advice
The results from this calculator are for informational and educational purposes only. They are not a guarantee of actual outcomes and should not be considered financial, investment, tax, or legal advice. Always consult a qualified professional for advice tailored to your specific financial situation. See our Terms of Service and Privacy Policy for more information.
Selling an asset for more than you paid? The IRS wants a cut. This calculator figures out exactly how much tax you owe based on your profit, how long you held the asset, and your income bracket. In 2026, long-term capital gains rates remain at 0%, 15%, or 20% depending on your taxable income — but short-term gains (assets held 12 months or less) get taxed at your ordinary income rate, which can be as high as 37%.
A capital gains tax calculator estimates the tax owed on the profit from selling an asset, based on how long you held it and your income bracket.
Short-term gains (held 12 months or less) are taxed at your ordinary income rate — up to 37% in 2026.
Extended holds (over 12 months) qualify for the 0%, 15%, or 20% rate, which is substantially lower for most earners.
Your overall taxable income determines which bracket you fall in — selling in a low-income year can save thousands.
The primary residence exclusion can shield up to $250,000 of gain ($500,000 for married couples) from taxation entirely.
Capital Gain = Selling Price - (Purchase Price + Selling Expenses); Tax Amount = Capital Gain * Applicable Tax Rate
Subtract what you paid (plus any commissions or fees) from what you sold it for. That profit gets multiplied by whichever tax rate applies to your situation.
Say you bought 100 shares of Apple at $150 in March 2024 and sold them at $200 in May 2026. That is $5,000 in profit over 14 months, which qualifies for the lower rate. If your taxable income is $95,000, you fall in the 15% bracket and owe $750. But if you had sold after just 10 months, the IRS taxes that $5,000 at your ordinary income rate — potentially $1,850 if you are in the 37% bracket. That 14-month hold saved you over $1,100.
You purchased stock for $5,000 and sold it for $8,000 after two years. Your capital gain is $3,000. At the 15% rate (which applies to most middle-income earners in 2026), you owe $450. If you had sold after just 8 months instead, that same $3,000 would be taxed at your ordinary rate — potentially $1,110 if you are in the 37% bracket.
Understanding Tax Brackets: What Rate Do You Actually Pay?
2026 tax brackets: 10% up to $11,925, 12% up to $48,475, 22% up to $103,350. Learn why a raise won't raise taxes on ALL your income, how marginal rates actually work, and calculate your effective tax rate with our free tool.
9 min read
Trump Gas Tax Holiday: How Lower Fuel Costs Could Impact Your Mortgage and Budget
Learn how the proposed gas tax holiday affects your personal finances, including mortgage affordability. Practical tips and calculators included.
5 min read
Bezos on Zero Federal Income Tax: How It Affects Your Mortgage, Savings & Loans
Bezos wants zero federal income tax on bottom 50% of earners. See how this tax proposal changes your mortgage payment, loan affordability, and retirement savings.
5 min read
PITI Formula: Calculate Your Full Monthly Mortgage Payment (Tax + Insurance)
Your PITI payment = principal + interest + property tax + insurance. See the exact formula with examples. Includes $300K loan at 6.5% — full PITI = $2,321/mo.
8 min read
These authoritative sources inform our calculator methodology and ensure accuracy.
Written by Qasem Mohammed
Financial tools developer and founder of QFINHUB. All calculators are built with industry-standard formulas and reviewed for accuracy. Content is for educational purposes only — always consult a qualified financial professional for decisions about your specific situation.
Last updated: August 10, 2026 ·About QFINHUB · Editorial Policy
Last reviewed by Qasem Mohammed — August 10, 2026
AI & Software Engineer, Founder & Lead Developer at QFINHUB · Editorial Policy
Learn more →
Learn more →
Learn more →
Learn more →
Learn more →
Learn more →
Learn more →
Estimate your income tax liability with marginal rate brackets and deductions.
TaxCalculate sales tax amounts and total purchase prices for any state or local tax rate.
TaxEstimate annual property taxes based on home value, assessment rate, and local millage rates.
TaxCalculate potential federal and state estate tax liability based on estate value and exemptions.
TaxEstimate inheritance tax owed by beneficiaries based on state laws and relationship tiers.
TaxCalculate self-employment tax including Social Security and Medicare contributions for freelancers.
TaxCalculate capital gains tax on investments including short-term and long-term rates with bracket analysis.
Capital Gain
$10,000.00
Tax Owed
$1,500.00
15% long-term rate
Net Proceeds
$18,500.00
Effective Tax Rate on Gain
+15.00%