Capital Gains Tax Calculator

Tax Planning Calculators

Capital Gains Tax Calculator

Estimate the potential federal tax impact of selling an investment or other capital asset at a gain. Use the calculator to compare sale proceeds with your cost basis, distinguish between short-term and long-term gains, and explore how different assumptions may affect the estimated tax.

What this calculator helps you review

Capital gains planning starts with understanding how much of a sale represents gain and how the holding period may affect its tax treatment. This calculator helps organize those pieces so you can evaluate a potential sale before treating the entire sale price as taxable profit.

  • Estimate your capital gain Compare sale proceeds with the asset’s cost basis to identify the gain represented in the scenario.
  • Review holding period Distinguish between short-term and long-term scenarios when the calculator supports different tax treatment.
  • Estimate potential tax See how the taxable gain may translate into an estimated federal capital gains tax under the assumptions entered.
  • Compare sale scenarios Test different sale prices, basis amounts, or holding-period assumptions before making broader planning decisions.
Capital Gains Tax Calculator from Calculators Today
Important capital gains note

The amount you receive from a sale is not automatically the amount of taxable gain. Cost basis, eligible adjustments, holding period, losses, and other tax rules can materially affect the final taxable amount.

Best used for

This calculator is most useful when you want to estimate the tax effect of a potential or completed sale before incorporating it into your broader tax plan.

  • stock or investment sale scenarios
  • short-term versus long-term gain planning
  • reviewing sale price and cost basis
  • estimating the potential after-tax impact of a gain
2026 Capital Gains Tax Calculator

Estimate Federal Tax on an Investment Gain

Enter your purchase basis, sale proceeds, filing status, taxable ordinary income, and holding period to estimate federal tax on the gain.

Enter Your Capital Gain Details

Use your estimated cost basis and sale proceeds, then identify whether the gain is short-term or long-term and enter taxable ordinary income for the year.

Capital Gain Inputs

Holding period changes the tax treatment

Short-term gains are generally taxed using ordinary income tax rates, while most long-term gains can qualify for the federal 0%, 15%, or 20% capital-gains rate structure.

Other taxable income affects the long-term rate

Long-term capital gains stack on top of other taxable income. That means one gain can span more than one capital-gains rate band.

Capital Gain Formula Basics

Capital Gain Sale proceeds minus cost basis
Holding Period Determines short- or long-term treatment
Estimated Tax Applicable rate applied to the gain
Capital Gains Tax Summary

Estimated Federal Capital Gains Tax

$0

Use the supporting results below to review the gain amount, effective tax rate, and rate treatment estimated from the information entered.

Estimated Capital Gain
$0
Effective Tax Rate on Gain
0.0%
Estimated Rate Treatment
—
Long-term gains can span multiple rate bands

Depending on your other taxable income and filing status, part of a long-term gain may fall in the 0% band while another portion falls in the 15% or 20% band.

Short-term gains are treated differently

When you choose short-term, the calculator estimates the additional ordinary federal income tax created by adding the gain to the taxable income entered.

What these results mean

The calculator subtracts cost basis from sale proceeds to determine the gain. Long-term gains are allocated across the 2026 federal capital-gains bands based on filing status and other taxable income; short-term gains are estimated using ordinary-income brackets.

Special capital-gain rules are not included

This simplified estimator does not calculate the 3.8% Net Investment Income Tax, state taxes, collectibles rates, unrecaptured Section 1250 gain, qualified small-business-stock rules, capital-loss carryovers, or every Schedule D adjustment.

Understanding Your Results

What Your Capital Gains Tax Estimate Means

Your result is based on the difference between the sale amount and the cost basis represented in the calculator, along with the holding-period and tax assumptions used. The most useful way to read the result is to separate the gain itself from the estimated tax applied to that gain.

Estimated Capital Gain

This is the amount by which the sale proceeds exceed the cost basis represented in the calculation. It is the gain being evaluated for tax purposes, not the full sale price.

Cost Basis

Cost basis generally reflects what you paid for the asset, subject to any adjustments included in the calculation. A higher valid basis reduces the gain being measured, while a lower basis increases it.

Estimated Capital Gains Tax

This is the projected federal tax associated with the gain under the calculator’s assumptions. It is a planning estimate rather than a guaranteed filing result.

Holding Period Can Matter

Short-term and long-term gains can receive different federal tax treatment. The result should be interpreted using the holding-period assumption selected in the calculator rather than assuming every gain is taxed the same way.

Sale Proceeds Are Not the Same as Taxable Gain

Selling an asset for $20,000 does not automatically mean you have a $20,000 taxable gain. The gain is generally based on the difference between the sale proceeds and the applicable cost basis, subject to relevant tax rules.

Other Gains, Losses, and Tax Rules May Change the Final Outcome

Capital losses, other investment transactions, special asset rules, additional taxes, and your broader income situation may affect the amount ultimately reported on a tax return.

How to interpret your capital gains estimate

Review the calculation in sequence so you understand what produced the projected tax rather than focusing only on the final dollar amount.

1
Check sale proceeds

Confirm that the sale amount reflects the transaction or scenario you actually want to evaluate.

2
Review cost basis

Make sure the basis assumption is appropriate because it directly affects the estimated gain.

3
Confirm holding period

Verify whether the scenario is being treated as short-term or long-term when that distinction applies.

4
Compare the after-tax impact

Consider the estimated tax alongside the gain to understand how much of the gain may remain after the projected federal tax.

Planning reminder

Capital gains taxation can be affected by factors that a simplified calculator may not capture, including capital losses, transaction-specific basis adjustments, special asset categories, net investment income tax, state taxes, and your overall taxable income. Use the estimate for scenario planning and verify tax-sensitive decisions with current official guidance.

Practical Examples

How Capital Gains Tax Estimates Can Support Planning

Capital gains planning is easier to understand when you separate the sale price, cost basis, gain, holding period, and estimated tax. These examples show how changing one part of the transaction can affect the planning result.

1

Estimating the Gain on a Stock Sale

An investor is considering selling shares and wants to understand how much of the sale represents gain before thinking about the potential tax.

Sale proceeds $18,000
Cost basis $12,000
Estimated capital gain $6,000
Planning interpretation

The tax calculation is based on the estimated $6,000 gain under the calculator’s assumptions, not on the full $18,000 received from the sale.

2

Comparing Short-Term and Long-Term Scenarios

An investor is close to a holding-period threshold and wants to compare how different tax treatment could affect the estimated after-tax result.

Estimated gain $10,000
Scenario A Short-term treatment
Scenario B Long-term treatment
Planning interpretation

Run both scenarios using the same gain amount and appropriate holding-period assumptions. The estimated tax may differ because short-term and long-term gains can receive different federal tax treatment.

3

Testing a Different Sale Price

An investor wants to compare two possible sale prices to see how a larger realized gain could change the projected tax impact.

Cost basis $20,000
Sale scenario A $27,000
Sale scenario B $32,000
Planning interpretation

The first scenario produces a $7,000 gain and the second a $12,000 gain before other adjustments. Comparing both helps show how the larger sale gain may affect estimated tax and after-tax proceeds.

What these examples demonstrate

Capital gains tax planning is not simply about multiplying the sale price by a tax rate. The taxable gain depends on the relationship between proceeds and cost basis, while the holding period and broader tax situation can affect how that gain is treated.

Useful scenarios to compare

  • different potential sale prices
  • short-term versus long-term treatment
  • different valid cost-basis assumptions
  • estimated gain before and after projected federal tax
Example amounts are illustrative

These scenarios demonstrate the mechanics of capital gains planning and are not predictions of actual tax liability. Real transactions may involve basis adjustments, capital losses, special asset rules, net investment income tax, state taxes, and other factors that can change the final result.

What This Calculator Helps You Plan

Use Your Capital Gains Estimate to Plan the Bigger Tax Picture

A capital gains estimate can help you think through more than the tax on one transaction. It can also help you compare sale timing, understand after-tax proceeds, and identify situations where other tax factors deserve a closer look.

01

Potential Tax Before a Sale

Estimate the federal tax impact of a possible sale before you finalize the transaction so the projected gain and tax are part of your planning rather than an afterthought.

02

Short-Term vs. Long-Term Timing

Compare scenarios when holding period may affect tax treatment and consider whether the timing of a sale changes the estimated after-tax outcome.

03

After-Tax Sale Proceeds

Look beyond the gross sale amount by estimating the gain and potential federal tax so you have a clearer view of what may remain after the projected tax impact.

04

Cost-Basis Review

See how the basis used in the calculation affects the estimated gain and identify why accurate purchase and adjustment records can matter when planning a taxable sale.

05

Multiple Sale Scenarios

Compare different potential sale prices, gain amounts, or transaction assumptions to understand how each scenario may affect estimated federal capital gains tax.

06

Year-End Tax Preparation

Incorporate realized gains into broader tax planning so investment sales are considered alongside income, withholding, estimated payments, and other tax items.

Questions this calculator can help you explore

Test realistic scenarios when you are evaluating a potential sale or reviewing a transaction that has already occurred.

✓
How much of the sale proceeds represent an estimated capital gain?
✓
How might short-term and long-term treatment change the projected tax?
✓
How does a different cost basis affect the estimated taxable gain?
✓
What could remain from the gain after the estimated federal tax?
✓
How would selling at a different price change the potential tax impact?
✓
Should this transaction be included in a broader year-end tax review?
Use the estimate as one part of the decision

Tax impact can be important, but it is only one factor in a sale decision. Investment objectives, risk, diversification, cash needs, capital losses, transaction costs, and other financial considerations may also matter. This calculator supports tax scenario planning and does not provide a recommendation to buy, hold, or sell an investment.

Who This Calculator Is For

Who Can Benefit From a Capital Gains Tax Estimate?

This calculator is designed for people who want a clearer estimate of the potential federal tax impact of realizing a capital gain. It is most useful when you already have a reasonable sale value, cost-basis estimate, and holding-period assumption to test.

Individual Investors
People considering or reviewing the sale of stocks, funds, or other capital assets who want to separate sale proceeds from the actual gain and estimate the potential federal tax impact.
Useful for: Reviewing gain, basis, holding period, and estimated tax before or after a sale.
Long-Term Holders
Investors evaluating assets that may qualify for long-term capital gains treatment and who want to understand how that assumption affects a planning estimate.
Useful for: Comparing long-term tax treatment with another realistic sale scenario.
Short-Term Traders
People realizing gains on assets held for shorter periods who want to see how short-term treatment may affect the estimated tax under the calculator’s assumptions.
Useful for: Understanding why holding period can materially affect the projected tax result.
Year-End Tax Planners
Taxpayers reviewing realized or potential gains as part of a broader year-end tax picture that may also include wages, withholding, estimated payments, and other income.
Useful for: Adding investment-sale estimates to a broader tax-planning review.
Scenario Testers
Anyone who wants to compare different sale prices, valid basis assumptions, or holding-period scenarios before deciding how a potential transaction fits into the larger financial picture.
Useful for: Comparing projected gain, tax, and after-tax outcomes across multiple scenarios.

This calculator may be a good fit if you want to:

  • estimate the gain created by a potential or completed asset sale
  • compare sale proceeds with an estimated cost basis
  • review short-term versus long-term tax scenarios
  • estimate the potential federal tax and after-tax impact of a gain

You may need more specialized tax help if you have:

  • multiple gains and losses that must be netted together
  • complex basis adjustments, inherited assets, gifts, or specialized property
  • transactions that may involve net investment income tax or other special rules
  • a situation requiring detailed federal, state, or professional tax analysis
Tax estimates should support the decision, not make it for you

Capital gains taxes are only one consideration when evaluating an asset sale. Investment goals, diversification, risk, cash needs, transaction costs, losses, and other financial circumstances may also matter. Use this calculator for tax scenario planning rather than as a recommendation to buy, hold, or sell an investment.

Financial Planning Resources

Continue Your Planning Beyond This Calculator

Use these Calculators Today planning centers to move from a single tax estimate into broader financial planning, calculator-based analysis, and step-by-step educational guidance.

Financial Planning Bundle Center
Planning Bundles

Financial Planning Bundle Center

Explore grouped financial planning resources designed to help you work through broader goals with related tools, guides, and planning materials in one place.

Explore the Bundle Center
Financial Planning Calculator Center
Calculator Library

Financial Planning Calculator Center

Browse Calculators Today financial calculators across multiple planning areas when you want to compare scenarios, estimate outcomes, and explore related financial decisions.

Explore the Calculator Center
Financial Planning Guide Center
Educational Guides

Financial Planning Guide Center

Find practical financial planning guides that explain core concepts, planning steps, and decision points in a clear format you can use alongside the calculator network.

Explore the Guide Center
Use the resource that fits your next step

Choose the Bundle Center for grouped planning resources, the Calculator Center for additional scenario tools, or the Guide Center when you want deeper educational support before making your next financial decision.

Frequently Asked Questions

Common Questions About Tax Planning Calculators

These calculators are designed to support estimation, comparison, and year-round planning. The answers below explain how to use them responsibly and what to keep in mind when reviewing the results.

1

Are the results from these tax calculators exact?

No. Results are planning estimates based on the information you enter and the assumptions built into the calculator. Actual tax outcomes can differ because of credits, adjustments, special income rules, filing details, and other factors.

2

Can I use these calculators before tax season?

Yes. They can be especially useful during the year when you want to test income changes, review withholding, estimate quarterly payments, compare deductions, or prepare for a possible refund or balance due.

3

Do these calculators replace tax-preparation software or professional advice?

No. They are intended for education and planning. They do not prepare a tax return, verify eligibility for every credit or deduction, or replace official tax forms, current IRS guidance, or advice from a qualified tax professional.

4

Why should I test more than one tax scenario?

Income, withholding, deductions, investment gains, self-employment earnings, and other circumstances can change during the year. Comparing realistic scenarios can help you understand a range of possible outcomes instead of relying on one estimate.

5

Do these calculators include every federal, state, and local tax rule?

No. Each calculator focuses on a specific planning question and may simplify certain tax rules. State and local taxes, specialized federal provisions, and uncommon situations may require separate analysis.

6

How should I use a tax calculator result in my financial planning?

Use the estimate as a starting point for decisions such as budgeting, withholding reviews, quarterly payment planning, refund expectations, or year-end preparation. Revisit the calculation when your income or tax situation changes.

Use estimates to ask better planning questions

Tax calculators are most valuable when they help you compare realistic scenarios, identify areas that deserve attention, and prepare before filing. Always review the assumptions behind the result and use current official tax guidance when more detail is needed.

Trusted Sources

Authoritative Tax Planning Resources

Tax rules and filing requirements can change. Use these government and public-service resources when you need current guidance, official tax information, taxpayer assistance, or more detailed explanations beyond a calculator estimate.

01

Internal Revenue Service — Tax Withholding

Review official federal withholding information, including how paycheck withholding works and when the IRS Tax Withholding Estimator may be useful.

Visit IRS Withholding Resources
02

IRS — Self-Employed Individuals Tax Center

Find official information about self-employment tax obligations, annual filing, estimated quarterly payments, and reporting business income.

Visit the IRS Tax Center
03

Taxpayer Advocate Service

Explore taxpayer-rights information and resources for filing problems, refunds, credits, notices, payment issues, and unresolved IRS concerns.

Visit Taxpayer Advocate Service
04

USAGov — Federal Taxes

Use the federal government’s public information hub for guidance on filing taxes, refunds, withholding, forms, tax assistance, and state or local tax resources.

Explore USAGov Tax Resources
05

Social Security Administration — FICA & SECA Taxes

Learn how Social Security and Medicare taxes apply to employee wages and self-employment earnings, including the distinction between FICA and SECA taxes.

Visit Social Security Guidance
06

Investor.gov — Tax Questions

Review investor-focused information about tax questions involving securities, including why capital gains and losses should ultimately be verified through IRS guidance.

Visit Investor.gov
Use current official guidance when tax rules matter

Calculators Today tools are designed for education and scenario planning. When a decision depends on current filing requirements, tax rates, credits, deductions, payment rules, or eligibility standards, verify the details with the appropriate official source.

Digital Planning Tools

Tax Planning Tools for Your Next Step

Move from a single calculator estimate into a more organized tax-planning process with these Calculators Today resources for preparation, scenario tracking, and deeper year-round planning.

Tax Planning Starter Checklist
Planning Checklist

Tax Planning Starter Checklist

Use a structured checklist to organize the basic information, documents, and planning questions that can help you prepare for tax decisions throughout the year.

Best for Getting organized before deeper tax planning or filing preparation.
View the Starter Checklist
Tax Planning Snapshot Spreadsheet
Planning Spreadsheet

Tax Planning Snapshot Spreadsheet

Create a simple tax-planning snapshot by organizing key income, withholding, and planning figures in one place so you can review your situation more systematically.

Best for Tracking figures and comparing your tax-planning picture as the year develops.
View the Snapshot Spreadsheet
Tax Planning Guide
Planning Guide

Tax Planning Guide

Go deeper into tax-planning concepts, preparation steps, and decision points with a guide designed to help you connect calculator estimates with broader year-round planning.

Best for Building a more complete understanding of your tax-planning process.
View the Tax Planning Guide
Choose the level of support that fits your planning stage

Start with the checklist when you need organization, use the spreadsheet when you want to track and compare figures, or move to the guide when you want a more complete tax-planning framework.

Continue Your Tax Planning

Keep Building Your Tax Planning Strategy

Continue with the full Tax Planning calculator collection when you want another estimate or comparison, or return to the Tax Planning hub when you want calculators, articles, digital tools, and broader educational resources in one place.

Compare tax scenarios Use focused calculators for different tax questions and planning situations.
Plan throughout the year Review withholding, estimated payments, deductions, refunds, and other tax considerations before filing season.
Explore deeper resources Combine calculator estimates with articles, guides, spreadsheets, and trusted tax information.

Calculators Today tax tools are designed for education, estimation, and scenario planning. Use current official tax guidance when a decision depends on specific filing rules, eligibility requirements, or tax-law details.

Scroll to Top