Finance category
Mortgage, loan, investing, tax, and money calculators.
Capital Gains Exclusion Calculator
IRS §121 excludes $250K of gain ($500K married joint) on sale of primary residence — if you've owned and used it as primary residence 2 of last 5 years. This calculator sizes the exclusion and taxable portion.
Taxable gain (after exclusion)
$0
Excluded gain
$308,000
Total gain
$308,000
Max exclusion for status
$500,000
Tests passed
Yes
How the math works
$650K sale − $42K expenses − $300K basis = $308K gain. Joint filer $500K exclusion. Full $308K excluded → $0 taxable.
One of the most powerful tax breaks. Time sales: live in home long enough to meet the 2-year test, then sell tax-free. Don't blow the test by a month.
EveryCalc calculators are designed for fast, practical estimates with transparent inputs and no required account. We use plain formulas, visible assumptions, and related tools so visitors can check the result from more than one angle.
Results are informational only. For financial, tax, legal, medical, construction, or other high-impact decisions, verify the output against primary sources or a qualified professional.
Learn more about our review process on the EveryCalc methodology page.
How this calculator works
What this page estimates
This Capital Gains Exclusion Calculator is built to give a quick, browser-based estimate for capital gains exclusion. IRS §121 excludes $250K of gain ($500K married joint) on sale of primary residence — if you've owned and used it as primary residence 2 of last 5 years. This calculator sizes the exclusion and taxable portion. The inputs stay on the page during normal use, and the result should be treated as an estimate for planning, comparison, or education rather than professional advice.
Calculation approach
The calculator applies the standard relationship implied by the inputs, then formats the answer so it can be checked and reused. For finance tools, the most important step is using consistent units, rates, time periods, and assumptions before comparing the result with another calculator or outside quote.
Example workflow
For example, start with a realistic value you already know, change one input at a time, and watch how the answer moves. That makes it easier to tell whether the result is being driven by the main amount, the rate, the time period, or a unit conversion.
Practical checks
- Use current, real-world numbers when the result affects money, health, tax, or legal decisions.
- Run a low, base, and high case when the inputs are estimates.
- Check the related calculators below when the next decision depends on a different assumption.
How to interpret the capital gains exclusion result
Best use
Use the result as a planning number for comparing payments, rates, returns, tax reserves, or cash-flow choices before you request a quote or make a commitment.
Cross-check
Compare the answer with the contract, lender estimate, tax form, brokerage statement, payroll record, or invoice that will control the real-world outcome.
Watch for
Do not rely on a single optimistic rate, return, or fee assumption. Money pages work best when you run low, base, and high cases and keep professional advice separate from the estimate.
This page belongs to the Finance calculator library, so the answer should be read in the context of the decision you are modeling rather than as a universal rule.
Before relying on this capital gains exclusion estimate
Most calculator mistakes come from the inputs, not the arithmetic. Use this short audit before you reuse the answer in a spreadsheet, quote, application, or important conversation.
Confirm source numbers
Match balances, rates, fees, taxes, income, and payment dates against the lender quote, payroll record, tax form, statement, invoice, or contract.
Separate cash flow from total cost
A lower monthly payment can still cost more over time if fees, interest, taxes, or a longer term are hidden in the structure.
Run conservative cases
Test at least one higher-cost or lower-return case before using the output for a purchase, refinance, investment, loan, or tax decision.
Rerun this page when the rate, price, term, fee, tax rule, income, expense, or expected holding period changes.
How to Use
- Enter sale price, basis, and filing status.
- Confirm ownership/use tests.
- See excluded gain and taxable remainder.
Frequently Asked Questions
Both tests must pass?
Yes. Ownership: owned 24 of last 60 months. Use: lived in as primary residence 24 of last 60. Can be different 24-month periods but both must be met.
Partial exclusion?
If you sell early due to job change, health, or unforeseen event, prorated exclusion based on months qualified / 24. Get CPA review before filing.
Can I use it again?
Once every 2 years from last §121 sale. Two-year 'look-back' period is automatic reset.
Related Calculators
More Finance Calculators
Browse all finance →AI Cost Calculator
Compare token costs across OpenAI, Anthropic, and Google AI models. Calculate monthly API spending for GPT-4o, Claude, Gemini, and more.
Tip Calculator
Calculate the perfect tip and split the bill between friends. Choose preset percentages or enter a custom tip amount.
Bill Splitter Calculator
Split an uneven restaurant bill by item, divide tax and tip proportionally, and see exactly who owes whom.
Discount Calculator
Calculate sale price, discount amount, stacked discounts, sales tax, and total savings for any markdown.
Gas Mileage Calculator
Calculate MPG or km/L, estimate trip fuel cost, and compare annual fuel expenses between two vehicles.
Sales Tax Calculator
Add sales tax to a price, reverse-calculate the pre-tax amount from a total, and estimate tax for multiple items on one receipt.
Keep exploring