Calculating Capital Gains Tax on a Home or Rental
Practical steps to estimate capital gains tax on selling a primary home or rental in the US, Canada, UK and Australia—includes adjusted-basis math, exemptions, and a documentation checklist.
Written by
By Sophie Tran
Finance Writer
Sophie covers credit, banking, tax organization, and practical money systems that help readers stay organized and in control.
This content is for informational and educational purposes only and does not constitute financial advice.
To estimate capital gains tax on a home sale, work from a simple formula: taxable gain = sale proceeds − adjusted cost basis − allowable depreciation (if any), then apply the regional rules and reliefs that may reduce or eliminate tax. This article gives a repeatable workflow for the US, Canada, the UK and Australia so you can produce a quick estimate and know what documentation and reporting to prepare.
If you own a primary residence or a small rental and are selling for the first time (or after many years of ownership), follow the steps below to calculate adjusted basis, check common exemptions (for example the US $250k/$500k exclusion or Canada’s principal residence relief), and avoid reporting mistakes and timing pitfalls.
Quick Answer
Estimate capital gains tax by: 1) totaling sale proceeds; 2) subtracting adjusted cost basis (purchase price + qualifying improvements + allowable acquisition and selling costs); 3) subtracting any depreciation taken for rental/business use; and 4) applying your country’s reliefs and tax rates. The final tax depends on residency, whether the property was your main residence, and specific regional rules and deadlines.
Key Takeaways
- Taxable gain = sale price − adjusted cost basis − depreciation (if claimed).
- Check regional reliefs early: US exclusion (commonly $250k/$500k), Canada’s principal residence exemption, UK private residence relief, and Australia’s main residence rules.
- Keep purchase and sale documents, receipts for capital improvements, closing statements and clear records of any rental or business use.
Step-by-step estimation: calculate adjusted cost basis and taxable gain
Primary keyword: capital gains tax on home sale. Use this practical sequence to build an estimate you can refine with tax software or a professional:
1. Gather numbers
Collect your purchase contract, settlement/closing statements, receipts/invoices for improvements, and the final closing statement for the sale (HUD-1, settlement statement, or local equivalent). Note purchase and sale dates and any periods the property was rented or used for business.
2. Compute adjusted cost basis
- Start with the original purchase price.
- Add qualifying capital improvements: structural work, a new roof, room additions, major HVAC replacements—items that increase value or useful life. Routine repairs (painting, minor fixes) are not included.
- Add allowable buying and selling costs where the rules permit: real estate commissions, title fees, legal costs and transfer taxes.
3. Adjust for depreciation and prior deductions
If you claimed depreciation for rental or business use, subtract the total allowable depreciation from the adjusted basis. Depreciation recapture rules (for example in the US) can convert some of that depreciation into ordinary income on sale.
4. Calculate taxable gain
Taxable gain = Sale price − Adjusted cost basis − Depreciation adjustment. After you have that figure, apply any country-specific exclusions or reliefs and the correct tax treatment (capital gains rates, ordinary income for recapture, or other special calculations).
United States: exclusions, depreciation recapture and reporting steps
Key rules: taxpayers who meet ownership and use tests may exclude up to $250,000 of gain for single filers or $500,000 for married filing jointly. The usual standard is having owned and lived in the home for two out of the five years before the sale, but other exceptions and timing rules can apply.
What to include in basis and common traps
- Include purchase price, settlement costs and qualifying improvements.
- Separate repairs from improvements in your records—repairs are not added to basis.
- Track any time the home was used for business or rental. Depreciation taken must be recaptured and is taxable as ordinary income up to the unrecaptured amount.
Reporting
Report sales and taxable gains on Schedule D and Form 8949 when required; if depreciation was taken, use Form 4797 for recapture. If the entire gain is excluded and there are no adjustments, reporting may be simplified—check IRS guidance for the exact filing rules and worksheets.
If you claimed a home office or business use, see How to Claim Home Office Expenses Across US, UK, Canada & Australia for overlapping documentation issues and how business use affects basis and depreciation.
Canada: principal residence relief, reporting checklist and examples
Canada’s principal residence exemption can eliminate capital gains for a property designated as your principal residence for the years you owned it. The calculation changes when the property was partly used to earn income (rental) or when you switch designation between properties.
How to calculate and report
- Compute total gain (sale price − adjusted cost base, which is purchase price + improvements + allowed costs).
- Determine the years owned and the years designated as principal residence; the standard formula often includes a +1 year adjustment in the numerator for the exemption calculation.
- Report the sale on your T1 return and file Form T2091 (or the prescribed election) when claiming full or partial exemption.
Keep purchase and sale agreements, receipts for capital improvements, rental records if applicable, and documentation of designation decisions. These support your numbers if the Canada Revenue Agency requests proof.
UK & Australia: main residence reliefs, timing rules and when tax applies
Both the UK and Australia offer reliefs that often exempt a main home from capital gains tax, but the reliefs hinge on timing, occupancy and any periods of income-producing use.
United Kingdom
- Private Residence Relief covers the periods you lived in the home; certain absences are treated specially.
- Lettings relief has been narrowed and now applies only in limited situations where the owner shared occupation with a tenant.
- Selling a second home or a buy-to-let property normally triggers Capital Gains Tax; UK residents disposing of UK property may have a 60-day reporting requirement in some cases—meet local deadlines to avoid penalties.
Australia
- Main residence exemption typically removes capital gains for the period the property was your home.
- If the property produced income (rental) or was acquired after certain effective dates, different rules and potential discounts (for example a 50% discount for eligible individuals) may apply.
Real Examples
Example 1 — US primary residence (simple): Maria bought a condo in 2008 for $220,000, made $25,000 of qualifying improvements (new kitchen and roof), and sold in 2026 for $550,000. Selling costs (commissions, closing) total $33,000.
Adjusted basis = $220,000 + $25,000 + $0 (buying costs capitalized) = $245,000. Taxable gain before exclusion = $550,000 − $33,000 − $245,000 = $272,000. If Maria qualifies for the $250,000 exclusion (single filer), $22,000 would be taxable gain and subject to capital gains rates; if she and a spouse qualify for the $500,000 exclusion, the entire gain could be excluded.
Example 2 — Canada mixed-use property: Liam bought a house in 2000 for CAD 180,000, lived in it until 2010, then rented it until sale in 2026 for CAD 640,000. He made CAD 40,000 in improvements and incurred CAD 36,000 in selling costs.
Adjusted cost base = 180,000 + 40,000 = 220,000. Total gain = 640,000 − 36,000 − 220,000 = 384,000. Liam can claim principal residence exemption only for the years it was his principal home (2000–2010) and must allocate the gain between exempt and taxable periods. He should prepare Form T2091 and supporting documents to calculate the taxable portion precisely.
Common Mistakes to Avoid
- Failing to separate capital improvements from repairs—repairs don’t increase basis, improvements do.
- Overlooking depreciation recapture for rental use—this can create unexpected ordinary-income tax even if part of the gain is excluded.
- Missing regional filing or reporting deadlines (for example, certain UK reporting rules) and incurring penalties or interest.
- Assuming a full exemption without confirming ownership and use tests that apply in your jurisdiction.
- Discarding key documents—original closing statements, receipts and dates are the core evidence for basis and reliefs.
What You Can Do Next
- Assemble your documents: purchase and sale statements, receipts for capital improvements, rental records and depreciation schedules.
- Run the step-by-step basis calculation above to produce a preliminary taxable gain for your country.
- Use tax software or consult a qualified tax preparer in your country if the property was partially rented, used for business, or if depreciation recapture may be large.
- File required forms and elections by local deadlines; keep digital copies of all documents for at least the statutory audit period.
- Consider post-sale planning: timing of reinvestment, use of proceeds, and whether other tax-advantaged accounts or strategies are relevant to your situation.
FAQ
Do I always pay capital gains tax when I sell my home?
No. Many jurisdictions offer relief for a main residence (US exclusion, Canada principal residence exemption, UK private residence relief, Australia main residence exemption). Whether you pay depends on ownership and use tests, prior rental or business use, and specific regional rules.
How do I calculate adjusted cost basis?
Adjusted cost basis = purchase price + qualifying capital improvements + allowable acquisition costs − any depreciation claimed. Keep clear records and separate improvements from repairs to support your calculation.
What is depreciation recapture and why does it matter?
Depreciation recapture requires reporting prior depreciation deductions as ordinary income (to the extent allowed) when you sell a property that was used for rental or business. It can create taxable income even if some capital gain is excluded under main-residence rules.
Can I split the gain between personal use and rental periods?
Yes. When a property has both personal and income-producing use, you typically allocate gain and reliefs between the periods. Methods differ by country—keep date-stamped occupancy records and rental agreements to support the allocation.
Where can I find official tax guidance for my country?
Use the government tax authority websites and publications listed in the Sources section below for official rules, forms and up-to-date guidance.
Sources
IRS — Publication 523, Selling Your Home
UK Government — Tax when you sell your home
Conclusion: Use the structured adjusted-basis workflow above to produce a careful preliminary estimate of capital gains tax on a home sale for the US, Canada, the UK and Australia. Gather documentation now, apply the regional reliefs that may reduce or eliminate tax, and consult a tax professional when depreciation, partial business use or complex ownership histories are involved. For related topics, review Rental Property Cash Flow After Taxes: US, UK, Canada, Australia and How to Rebalance a Small Investment Portfolio.
Financial disclaimer
This content is for informational and educational purposes only. It does not constitute financial, investment, tax, or legal advice. Always consider your personal situation and consult a qualified professional before making financial decisions.
Reviewed by
CashClimb Review Desk
Editorial Review Team
CashClimb articles are reviewed for clarity, usefulness, and responsible financial education. Content is informational only and is not personal financial advice.
About the author
Sophie Tran
Finance Writer
Sophie Tran focuses on credit, banking, tax organization, and modern financial tools that make managing money easier. She breaks down complex ideas into clear, practical advice that readers can apply right away. Her work explores account comparison, records, payment systems, credit decisions, scams, and tools that help people manage money with more confidence. At CashClimb, Sophie goal is to make modern money management feel simpler, safer, and less stressful for beginner and intermediate readers.
View author profile →Related guides
Taxes
Reporting Foreign Dividends: US, UK, Canada & Australia
Step-by-step checklist for reporting foreign dividends in the US, UK, Canada and Australia — where to enter amounts, documentation to keep, and foreign tax credit basics.
By Sophie Tran
Taxes
Claim Tax Treaty Relief on Foreign Income (US/UK/CA/AU)
Country-by-country playbook for expats and remote workers: how to apply for tax treaty relief on foreign income in the US, UK, Canada and Australia. Checklist.
By Sophie Tran
Taxes
Crypto Tax Checklist: After Selling or Exchanging Crypto
Checklist for beginners in the US, UK, Canada, and Australia: records to save after selling or swapping crypto, how cost-basis and disposal rules differ, key forms, deadlines and common red flags.
By Sophie Tran