Capital Gains Calculator

Enter the values the capital gains form asks for and the result is computed here, in the page, with no sign-up and no upload. Change one field at a time to see how sensitive the capital gains figure is to that assumption.

Calculator
Tax Comparison
Tax Strategies

Asset Information

Tax Information

Short-Term vs Long-Term Tax Comparison

Tax-Loss Harvesting Calculator

2026 Capital Gains Tax Brackets

Tax Rate Single Married Filing Jointly Married Filing Separately Head of Household
0% $0 - $49,450 $0 - $98,900 $0 - $49,450 $0 - $66,200
15% $49,451 - $545,500 $98,901 - $613,700 $49,451 - $306,850 $66,201 - $579,600
20% $545,501+ $613,701+ $306,851+ $579,601+

Note: Short-term capital gains (assets held ≤12 months) are taxed as ordinary income according to federal income tax brackets (10%-37%).

Embed tool Add this tool to your website Get embed code

Add this calculator to a related page with a visible HeyCal source link.

Instant results No signup required Standard formulas Free to use

Frequently Asked Questions about Capital Gains Calculator

How do I sanity-check the capital gains result?

Rerun the calculator with a known example and compare it against the figure you expect; then swap back to your own numbers.

Which capital gains inputs change the outcome most?

Adjust one field at a time. The figure that shifts the result hardest is the assumption worth double-checking before you rely on it.

How do I calculate capital gains tax for 2026?

Enter your purchase price, sale price, and holding period. Then input your annual taxable income and filing status. The calculator applies the 2026 long‑term capital gains brackets (0%, 15%, or 20%) for assets held longer than 12 months. For short‑term holdings, it uses your ordinary income tax rate. Results show your gain, tax rate, and estimated tax owed.

Is the capital gains tax calculator really free, with no hidden fees?

Yes, completely free. There are no subscriptions, no credits, no upsells. The tool runs entirely in your browser, so there’s no server cost for the developer, and you don’t pay a cent.

Can I use this calculator for cryptocurrency gains?

Absolutely. Cryptocurrency is treated as property for tax purposes, so the same rules apply. Enter your purchase price (cost basis) and sale price (fair market value at time of trade). The holding period counts from acquisition to sale. Use the Tax Comparison tab to see how much you’d save by holding longer.

What if I have both short‑term and long‑term gains in the same year?

The calculator asks for “Other Capital Gains This Year,” which includes all gains—regardless of type. It adds that to your total, and the tax breakdown applies the appropriate rate to the gain you entered. For a detailed analysis, you can run each asset separately and manually sum the taxes.