Home Sale Capital Gains Tax Calculator 2025 — §121 Exclusion

Enter your sale price, basis, and income to see the §121 exclusion, taxable gain, and estimated 2025 federal capital-gains tax — in your browser.

Free 2025 home sale capital gains tax calculator. Enter sale price, selling costs, adjusted cost basis, and other income to compute the gain, the §121 exclusion ($250,000 single / $500,000 married), the taxable gain, and the estimated federal long-term capital-gains tax (0/15/20%) plus 3.8% NIIT. Source: IRS Topic No. 701 & Publication 523 (§121 exclusion); IRS Topic No. 409 & Rev. Proc. 2024-40 (2025 long-term capital-gains thresholds); IRC §1411 (NIIT). Runs entirely in your browser; no data sent to any server. Not tax or legal advice. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

How is the gain on a home sale calculated?

Gain = amount realized − adjusted cost basis. Amount realized is the sale price minus selling expenses (agent commission, closing costs). Adjusted cost basis is your purchase price plus the cost of capital improvements. The §121 exclusion ($250,000 single / $500,000 married) is then subtracted from the gain. (Source: IRS Publication 523.)

Home Sale Capital Gains Tax Calculator (2025)

This 2025 home sale capital gains calculator works out your gain (sale price − selling costs − cost basis), applies the §121 exclusion ($250,000 single / $500,000 married), and estimates the federal long-term capital-gains tax (0/15/20%) plus 3.8% NIIT on any taxable gain.

Enter your sale below to see the gain, how much the §121 exclusion covers, the taxable gain, and an estimate of the federal capital-gains tax and 3.8% NIIT. Everything runs in your browser — no data is transmitted.

Important: This is a federal estimate only. It does not compute state capital-gains tax, and it does not model depreciation recapture (unrecaptured §1250 gain, taxed up to 25%) if the home was ever a rental. Source: IRS Topic No. 701 & Publication 523 (§121 exclusion); IRS Topic No. 409 & Rev. Proc. 2024-40 (2025 long-term capital-gains thresholds); IRC §1411 (NIIT); figures for the 2025 tax year, data as of 2024-10-22. Rates and rules change; this is not tax or legal advice.