TANDY CONSULTING | HOME SALE TAX GUIDE
You may qualify to exclude up to $250,000—or $500,000 if married filing jointly—of your home sale profit. Learn how to calculate your adjusted basis and estimate your taxable gain.
Under Internal Revenue Code Section 121, qualifying homeowners may exclude some or all of their gain from the sale of a primary residence.
Potential home sale gain exclusion for qualifying homeowners.
Potential exclusion when the couple meets the applicable requirements.
Generally, a homeowner must have owned and used the home as a main residence for at least two years during the five years before the sale. Additional rules apply to married couples, prior exclusions, and special circumstances.
For the full $500,000 married filing jointly exclusion, only one spouse generally needs to meet the ownership test, but both must meet the residence and prior-exclusion requirements.
Enter your estimated home sale details. All dollar fields start at $0, and amounts automatically format with commas as you type. Select "What goes here?" under any field for guidance.
Select the exclusion you believe you qualify for under Section 121.
$250,000: Commonly applies to qualifying single taxpayers and certain other eligible filers.
$500,000: May apply to qualifying married couples filing jointly. One spouse generally must satisfy the ownership test and both must satisfy the residence and prior-exclusion tests.
Leave the selection unchanged if eligibility is uncertain. The calculator will assume no exclusion until you select one.
Enter the total contract selling price for the home, before commissions, selling expenses, and mortgage payoff.
Find this on the purchase agreement or your final seller's Closing Disclosure or settlement statement.
Example: If you sell for $950,000, enter $950,000 even if your mortgage balance is $300,000.
For an ordinary purchase, enter the original purchase price, including amounts financed by a mortgage.
Find this on your purchase closing statement, purchase agreement, or settlement records.
Special situations: Inherited homes, gifts, divorce transfers, and prior 1031 exchanges may require a different starting basis.
Do not enter the current market value simply because the home has appreciated.
Enter qualifying costs you paid when purchasing the home that are properly added to tax basis.
Examples may include owner's title insurance, certain legal fees, recording fees, survey fees, and certain transfer taxes.
Look at the original purchase Closing Disclosure, HUD-1, or ALTA settlement statement.
Do not include: Mortgage points, loan origination fees, prepaid interest, ordinary property taxes, or mortgage insurance premiums as purchase basis costs.
Enter the total cost of qualifying permanent improvements made during ownership that are still reflected in the home.
Examples include kitchen and bathroom remodels, additions, qualifying roof replacements, new HVAC, major plumbing or electrical upgrades, windows, decks, and permanent landscaping.
Review invoices, permits, contractor records, payment statements, and photographs.
Routine cleaning, ordinary repairs, and maintenance usually do not qualify unless part of a larger improvement project.
Enter other qualifying basis increases not already included in your purchase price, closing costs, or improvements.
Examples may include certain special assessments for permanent local improvements, eligible costs paid on behalf of the seller at purchase, and other applicable tax basis adjustments.
These items are less common and should be supported by records.
Do not enter an inherited property's full stepped-up basis as an additional increase if you already used that amount in Starting Basis.
Enter depreciation allowed or allowable from prior rental or business use of the property.
Find the amount on your depreciation schedules, prior Schedule E records, Form 4562, or other business tax records.
Depreciation generally reduces basis even if you failed to claim a deduction you were entitled to take.
Important: This calculator assumes the amount entered relates to depreciation after May 6, 1997. It automatically treats the corresponding portion of gain as ineligible for Section 121 exclusion, limited to the total realized gain.
Do not include this depreciation again in the Other Basis Reductions or Other Gain Not Eligible fields.
Separate rental units, mixed-use properties, and earlier depreciation may require a different calculation.
Enter required basis reductions other than the depreciation already entered.
Examples may include certain casualty-loss deductions, insurance recoveries, energy credits or subsidies related to improvements, easement payments, and applicable prior deferred gain adjustments.
Most homeowners who used the property only as a principal residence may enter $0, depending on their tax history.
Do not include depreciation here. It has its own field so it can be reflected automatically without double-counting.
Enter qualifying costs directly associated with selling your home.
Examples include seller-paid real estate commissions, qualifying escrow and title fees, transfer taxes, and certain legal or advertising expenses.
Use your final seller Closing Disclosure, ALTA settlement statement, or escrow closing statement.
Do not include mortgage payoff, ordinary property taxes, or moving expenses simply because they appear on your closing statement.
Enter separately calculated gain that cannot qualify for Section 121, other than depreciation-related gain already handled above.
An example is gain allocated to certain periods of nonqualified use after 2008.
This is not the same as ordinary taxable gain above the $250,000 or $500,000 exclusion. The calculator determines that separately.
In mixed-use or rental-property situations, professional allocation may be necessary. Leave $0 unless the nonexcludable amount has been calculated.
This field totals Depreciation Allowed or Allowable and Other Required Basis Reductions.
It is displayed so you can see exactly how much is subtracted from starting basis and qualifying additions.
You do not need to type anything here. This design avoids entering the same depreciation or adjustment twice.
Preliminary gain estimate only. This does not calculate federal or California tax owed, determine eligibility, or apply special gain allocations for separate rental or business units. It assumes any selected exclusion is available. Personal-use home losses generally are not deductible.
Your adjusted basis generally starts with your original acquisition basis, adds qualifying acquisition costs and improvements, and subtracts required basis reductions.
Inherited homes, gifted homes, and properties transferred between spouses may have a different starting basis.
Purchase closing statements, contractor invoices, building permits, payment records, remodeling contracts, photographs, depreciation schedules, insurance settlements, and the final sale closing statement can help document an accurate adjusted basis.
Qualifying selling expenses generally reduce the amount realized and can lower taxable gain.
Seller-paid brokerage commissions and eligible agent compensation.
Qualifying settlement, title, and transfer expenses.
Eligible legal fees and transfer taxes directly associated with the sale.
See where to find selling expenses on your closing statement ↓
After the available exclusion, remaining taxable gain is considered alongside your other income when determining federal and California income taxes.
Here's what matters: Federal long-term capital gains generally receive preferential 0%, 15%, or 20% rates, but the applicable brackets depend on overall taxable income. The gain can cross more than one bracket rather than being taxed at one fixed rate in isolation.
California generally taxes capital gains at ordinary state income tax rates. Higher-income taxpayers may owe the federal 3.8% Net Investment Income Tax. Depreciation-related gain may receive special treatment.
| Tax Category | General Treatment |
|---|---|
| Federal Long-Term Capital Gains | Generally 0%, 15%, or 20%, depending on taxable income |
| Net Investment Income Tax | Potential additional 3.8% for certain taxpayers |
| California Income Tax | Generally taxed at ordinary California rates |
| Depreciation-Related Gain | Special rules; certain gain may be subject to a federal rate up to 25% |
| Short-Term Gains | Generally taxed at ordinary federal income tax rates |
Actual taxes depend on filing status, deductions, other income, capital losses, and additional tax rules. This illustration is not a complete tax calculation.
Planning ahead and maintaining accurate records may help reduce your potential tax liability.
Understand ownership, residence, and prior-exclusion rules, including possible reduced exclusions.
Review home improvements and qualifying acquisition costs throughout your ownership period.
Review commissions, eligible escrow costs, title charges, and transfer expenses.
The year of sale may affect capital gains brackets, overall income, and additional taxes.
Eligible investment capital losses may offset taxable gains, subject to tax rules.
Inheritance, divorce, gifts, community property, multiple marriages, prior exchanges, and rental use can change basis.
Practical answers about eligibility, basis records, selling expenses, tax strategies, and special property ownership situations.
Three main tests generally apply: ownership, residence, and prior use of the exclusion.
The ownership and residence periods do not necessarily need to overlap or be continuous.
For the full $500,000 exclusion on a joint return, one spouse generally must meet the ownership test and both must meet the residence and prior-exclusion tests.
Certain qualifying employment changes, health circumstances, and unforeseen events may permit a reduced exclusion. Special rules also exist for some surviving spouses, divorced spouses, and service members.
Start with the original purchase documents. Then identify major improvements and basis adjustments over the entire ownership period.
Example: A homeowner purchased a home for $350,000 and later completed a qualifying $45,000 kitchen remodel, $30,000 roof, and $25,000 HVAC installation. Those improvements may add $100,000 to basis before other adjustments.
Costs must be supported by credible evidence. Photographs and permits may establish that work occurred but do not necessarily prove its cost.
Start with the final seller's closing statement. It may be called a Closing Disclosure, ALTA Settlement Statement, escrow statement, or seller's settlement statement.
Your title company, escrow officer, closing attorney, or real estate agent may be able to supply a copy.
Do not include mortgage payoffs, ordinary property tax prorations, moving expenses, or refundable escrow balances merely because they appear on the settlement statement.
Seller concessions and certain repair arrangements may require individual review.
No. Section 121 generally does not require buying another residence or reinvesting the proceeds.
No. Mortgage payoff generally changes the cash you receive at closing, not the gain calculation.
Certain qualifying employment changes, health circumstances, or unforeseen events may allow a reduced exclusion.
Potentially, yes. The closing year can affect federal capital gains brackets, California income taxes, and possible Net Investment Income Tax.
Example: You expect $150,000 of taxable long-term capital gain after the exclusion.
Closing in Year B may produce a lower tax bill, depending on the complete tax situation. Timing alone does not guarantee savings.
Yes, potentially. Eligible investment losses may offset recognized taxable capital gains.
Simplified example:
Federal short-term and long-term capital gains and losses are subject to netting rules. Prior-year capital loss carryforwards may also be available.
Not every homeowner starts with the original purchase price they personally paid.
Inheritance, gifts, divorce, death of a spouse, rental history, and prior exchanges may change tax basis or affect Section 121 eligibility.
The following situations explain why a professional basis review can be valuable.
Generally, no. Inherited property usually receives a basis based on fair market value at the previous owner's death, subject to exceptions and estate valuation rules.
The beneficiary's starting basis may be $900,000, resulting in approximately $50,000 of gain before selling expenses and other adjustments.
The beneficiary does not automatically qualify for a separate Section 121 exclusion.
Documents: Date-of-death appraisal, estate documents, deeds, and sale closing statement.
Usually, the basis carries over. Qualifying transfers between spouses or former spouses incident to divorce generally do not trigger immediate taxable gain or loss.
Example: A home has a $400,000 combined adjusted basis and is worth $900,000 when one spouse receives the entire home through divorce. The basis generally remains $400,000, subject to adjustments.
Divorce agreements may also affect how residence and ownership periods count for Section 121.
Documents: Divorce decree, property settlement, original purchase documents, and improvement records.
Gifted property generally carries over the donor's adjusted basis for determining gain.
Example: A parent with a $150,000 adjusted basis gifts a home worth $750,000 to a child. The child's starting basis for gain generally remains $150,000.
Special dual-basis rules may apply when fair market value was below the donor's basis at the time of the gift. Certain gift taxes paid may affect basis.
Possibly, and the difference can be significant. Qualifying California community property generally receives a basis adjustment for both spouses' interests at the first spouse's death, provided the estate inclusion requirements are satisfied.
For comparison, equal-interest non-community-property joint tenancy might result in a $650,000 basis if only the deceased spouse's half receives an adjustment.
A qualifying surviving spouse may also be eligible for the $500,000 home sale exclusion if the home is sold within two years of the spouse's death and other requirements are met.
How title is held does not always conclusively establish community property characterization.
Documents: Deeds, trust records, estate documents, and date-of-death appraisal.
Property acquired through a qualifying Section 1031 exchange generally carries forward a tax basis from the relinquished investment property, with adjustments.
Example: An investor exchanges a rental property with a $200,000 adjusted basis for a $700,000 replacement property. In a simplified equal-value exchange with no other basis adjustments, the replacement property's basis may remain approximately $200,000.
If the property is later converted to a primary residence, Section 121 may eventually become available. However, a five-year ownership restriction applies to property acquired through a 1031 exchange, and depreciation and nonqualified-use rules may also apply.
Documents: Form 8824, exchange settlement statements, depreciation schedules, and prior basis records.
Yes. Depreciation allowed or allowable generally reduces adjusted basis, even when it should have been claimed but was not.
Gain attributable to depreciation adjustments after May 6, 1997, generally cannot be excluded under Section 121.
Certain periods of nonqualified use after 2008 can also limit the exclusion, although exceptions apply.
Separate rental units, home offices, and mixed-use properties may need additional allocation and tax reporting.
Documents: Rental dates, prior tax returns, depreciation records, and residence history.
Multiple marriages, divorces, and deaths of spouses can affect adjusted basis, ownership history, and exclusion eligibility.
Suppose you bought a home with your first spouse for $300,000. After divorce, you received the home. You later remarried and the property is now worth $900,000.
The divorce generally does not reset basis to market value. If you file jointly with your new spouse, the $500,000 exclusion may be available if all applicable ownership, residence, and prior-exclusion requirements are satisfied.
If a prior spouse died while you owned qualifying community property, the basis may have been adjusted at death. Remarriage generally does not erase that adjustment.
Documents: Marriage and divorce dates, decrees, deeds, death records, appraisals, and prior sale records.
A married couple may still qualify for the full $500,000 exclusion. Only one spouse generally needs to meet the ownership test, while both must meet the residence and applicable prior-exclusion tests.
The couple may qualify for the full $500,000 exclusion.
If the other spouse has not met the residence test, the full $500,000 exclusion may be unavailable. An exclusion up to $250,000 may still be available based on the qualifying spouse's individual circumstances.
Community property characterization may differ from the name on title. Acquisition dates, source of funds, deeds, and marital agreements matter.
Documents: Deeds, marriage dates, purchase records, residence dates, and marital property agreements.
Reporting is generally required when the sale produces taxable gain or Form 1099-S was issued, even when the gain is fully excluded. Some fully excluded sales without Form 1099-S may not require reporting.
Potentially, yes. Each owner must independently meet the applicable requirements, and gain must be allocated based on ownership interests.
Your home may be one of your largest financial assets. Before you sell, work with Tandy Consulting to understand your adjusted basis, available exclusions, and potential federal and state capital gains taxes.
We can prepare a personalized home sale tax projection to help you understand your potential tax liability and evaluate planning opportunities.
Not sure which improvements, purchase expenses, or adjustments qualify? Let our team help reconstruct and document your home's adjusted cost basis.
One-time fixed fee. A quote is provided before work begins, based on your property's history and available records.
Request an Adjusted Basis QuoteTandy Consulting Inc.
Trusted Tax & Accounting Experts.
Questions? Email ttandy@tandyconsulting.com
Tandy Consulting Inc. This resource is for educational purposes only and is not individualized tax or legal advice. Calculator results are preliminary estimates, not a tax return or tax opinion. Eligibility, depreciation, mixed-use property, ownership history, and individual circumstances may materially change the results. Fees and service scope are confirmed before work begins.
Share Us:
Follow Us:
Disclaimer: The information on this website is for informational and educational purposes only and should not be considered legal, tax, or accounting advice. Laws and regulations— including IRS rules and California conformity provisions—are subject to change, and guidance may evolve after publication. No guarantee is made regarding the accuracy or completeness of the content. Reading this website does not create a client relationship with Tandy Consulting Inc. For advice specific to your situation, please consult a qualified professional. ©2025 Tandy Consulting In. All rights reserved