Capital Gains Calculator: estimate your tax bill with clarity
Hi, I’m Rachel. This tool estimates your capital gain, what portion is taxable, and the tax due—so you know what a sale might cost you in taxes before you click “sell.”
Quick start: get your number and what it means today
Enter your Purchase Price, Sale Price, Buying Costs, Selling Costs, and the Applicable Tax Rate (%). The output shows cost basis, net proceeds, total gain or loss, the taxable portion, and estimated tax due.
- Buying Costs and Selling Costs include fees and commissions.
- Pick your holding period to align with short-term vs. long-term rates.
- Tax rate is your marginal rate for that holding period.
How the calculator works from inputs to results
This mirrors the standard tax flow, step by step.
- Cost basis = Purchase Price + Buying Costs.
- Proceeds (net) = Sale Price − Selling Costs.
- Capital gain = Proceeds − Cost basis.
- Taxable gain = max(0, capital gain). Losses show tax due as $0.00 here.
- Estimated tax due = Taxable gain × (Applicable Tax Rate ÷ 100).
Note: Short-term gains are usually taxed at ordinary income rates; long-term gains often use preferential rates. You select the Appropriate Tax Rate (%) for your situation.
Worked example: one sale from start to tax due
Inputs
- Purchase Price: $10,000
- Sale Price: $13,000
- Buying Costs: $50
- Selling Costs: $50
- Applicable Tax Rate (%): 15
Outputs
- Cost Basis = $10,000 + $50 = $10,050
- Proceeds (net) = $13,000 − $50 = $12,950
- Capital Gain = $12,950 − $10,050 = $2,900
- Taxable Gain = $2,900
- Estimated Tax Due = $2,900 × 0.15 = $435
Result: a $2,900 long-term capital gain leads to an estimated $435 tax at a 15% rate.
Scenario comparison: fees, price, and rate changes in action
- Higher Selling Costs: If Selling Costs rise from $50 to $350, Proceeds drop by $300. Your gain falls by $300, lowering tax due.
- Short-term vs long-term rate: Keep the same $2,900 gain. If you toggle from a 15% long-term rate to a 32% short-term rate, tax due jumps from $435 to $928.
- Sale Price moves: A $500 lower Sale Price cuts Proceeds by $500. Gain drops by $500; tax due falls proportionally.
Capital Gains Calculator pitfalls that quietly cost you
- Forgetting fees: Missing Buying or Selling Costs understates your basis or overstates proceeds—tax bill looks bigger than it should.
- Wrong holding period: Marking short-term when it’s long-term (or vice versa) misstates the tax rate.
- Using average tax rate: The tool needs your marginal rate for the sale’s character (short or long).
- Assuming losses reduce tax here: The calculator shows $0 tax on a loss but doesn’t net losses against other gains; that happens on your return.
When this gain number is “high” and what to tweak first
- High gain: Big spread between Sale Price and Cost Basis, plus low fees.
- To reduce tax: Hold long enough for long-term treatment; harvest losses elsewhere; donate appreciated shares; consider selling across tax years.
- Check costs: Make sure all allowable fees are included—commissions, exchange fees, and required selling expenses.
Inputs you’ll use most and how to think about each
- Purchase Price: What you paid per asset lot. For multiple lots, calculate per lot or use your brokerage figures.
- Selling Costs: Commissions, platform fees, transfer fees—anything required to sell.
- Applicable Tax Rate (%): Your marginal long-term or short-term rate. For many U.S. filers, long-term brackets are often 0%, 15%, or 20%; short-term aligns with your ordinary income bracket.
Assumptions and boundaries to keep in mind
- Scope: Estimates federal-style tax using a single rate you provide. It doesn’t compute brackets, NIIT, state taxes, or wash sale rules.
- Negative gains: Shown as losses with $0 tax due here; actual tax benefits depend on your full return.
- Units and currency: Dollars; enter whole numbers or cents.
- Timing: Holding period switch helps choose the correct rate, but the tool does not calculate dates.
Glossary
- Cost basis: What the asset “costs” for tax purposes, including buy-side fees.
- Proceeds: What you net after selling costs.
- Capital gain: Proceeds minus cost basis.
Related search phrases you might see: capital gains tax estimator, stock gains calculator, investment profit calculator, CGT calculator, taxable gain tool, short-term gains tax, long-term capital gains rate, realized gains calculator.