Skip to content

    Under active development. New calculators and features ship every week. Everything currently runs free while the site matures — pricing pages are a preview, checkout is not open yet.

    Calculates locally in your browser · home sale proceeds
    Property / sale

    Home sale proceeds

    The sale price is not the number you receive. Commission, the loan payoff, the basis you have built up and the §121 exclusion all move the answer, and the exclusion is the largest single lever: a married couple can realise half a million dollars of gain tax-free.

    Equity released$371,000Gain share23.2%TaxableNo
    Net proceeds
    $371,000
    after selling costs, the loan payoff and any tax
    Capital gain
    $151,000
    against a $460,000 basis
    Exclusion used
    $151,000
    of $500,000 available to a married filer
    Estimated tax
    $0.00
    15.0% on $0.00
    From sale price to cash in hand
    Each line is a subtraction from the headline number that nobody actually receives.
    $371,000
    From sale price to cash in hand
    LineAmountNote
    Sale price$650,000the contract price
    Selling costs−$39,0006.00% commission and closing
    Mortgage payoff−$240,000the loan balance at closing
    Equity released$371,000before any capital-gains tax
    Purchase price$420,000the original basis
    Improvements+$40,000capital improvements add to basis
    Adjusted basis$460,000purchase price plus improvements
    Capital gain$151,000price less selling costs and basis
    §121 exclusion−$151,000two-of-five-year use test met
    Taxable gain$0.00the part above the exclusion
    Estimated tax−$0.00at 15.0%
    Net proceeds$371,000what the wire actually says

    Improvements are not the same as repairs. A new roof or an addition adds to basis; repainting or fixing a leak does not. Keep the receipts — this is the single most commonly lost deduction in a home sale.

    Inspect the model
    Choose a quick result view, a scaled comparison, or the complete diagnostic set.
    Where the sale price goes
    Costs, loan and tax on one side; the seller’s proceeds on the other.
    Where the sale price goes$0$87.6k$175.1k$262.7k$350.2k$437.8k$39.0kSelling costsSelling costsLoan payoffLoan payoff$0TaxTaxNet proceedsNet proceedsAmount
    Net proceeds against the sale price
    The slope is less than one: part of every extra dollar goes to commission and, above the exclusion, to tax.
    Net proceeds against the sale price$0$156.8k$313.6k$470.4k$627.2k$784.0k400k400k500k500k600k600k700k700k800k800k900k900k1M1MNet
    Canonical equations
    The exact relationships implemented by this engine.

    basis = purchase + improvements · Improvements, not repairs.

    gain = price − selling costs − basis · Selling costs reduce the amount realised.

    min(gain, $250k or $500k) · Requires ownership and use for two of the last five years.

    taxable gain × (cap rate + NIIT) · NIIT adds 3.8% above the MAGI threshold.

    finance methodology

    A clear path from inputs to results.

    The sale price is not the number you receive. Commission, the loan payoff, the basis you have built up and the §121 exclusion all move the answer — and the exclusion is the largest single lever, because a married couple can realise half a million dollars of gain without paying tax on it.

    Step-by-step methodWorked exampleAssumptions explained

    How to use

    1. Enter the sale price and the selling costs as a percentage.
    2. Add the mortgage balance that has to be paid off at closing.
    3. Enter the original purchase price and any capital improvements.
    4. Choose your filing status and whether the two-of-five-year use test is met.
    5. Read the net proceeds, the gain and any tax on it.

    The formula

    gain=P−C−(P0+I)  ;  taxable=max⁡(0,  gain−exclusion)\mathrm{gain} = P - C - (P_0 + I) \;;\; \mathrm{taxable} = \max(0,\; \mathrm{gain} - \mathrm{exclusion})

    Reference: IRC §121 for the primary-residence exclusion; IRC §1001 and §1016 for amount realised and adjusted basis.

    Worked example

    $650,000 sale of a home bought for $420,000

    Inputs
    • Sale price $650,000, selling costs 6%.
    • Mortgage balance $240,000.
    • Purchase price $420,000, $40,000 of capital improvements.
    • Married filing jointly, use test met, 15% capital-gains rate.
    Calculation path
    1. 1

      Selling costs are 6% of $650,000, or $39,000, so the amount realised is $611,000.

    2. 2

      Paying off the $240,000 loan releases $371,000 of equity.

    3. 3

      The adjusted basis is $420,000 plus $40,000 of improvements, or $460,000.

    4. 4

      The gain is $611,000 − $460,000 = $151,000.

    5. 5

      The §121 exclusion for a married couple is $500,000, which absorbs the whole gain.

    6. 6

      Taxable gain is zero, so net proceeds equal the equity released: $371,000.

    Result

    $371,000 net proceeds · $151,000 gain · $0 tax.

    Interpreting the result

    The exclusion is generous enough that most primary-residence sales pay nothing, which is why the interesting cases are the ones that exceed it: long-held homes in expensive markets, a second home that fails the use test, or a sale within two years of purchase. In those cases the gain is taxed at capital-gains rates, and the NIIT adds 3.8% on top above the income threshold.

    Assumptions & limitations

    • The §121 exclusion is $250,000 single and $500,000 married filing jointly, available when the home has been owned and used as a principal residence for two of the last five years.
    • Improvements add to basis; routine repairs and maintenance do not.
    • Selling costs reduce the amount realised, and therefore the gain.
    • The capital-gains rate is an input; the model does not compute the bracket from your income.
    • The 3.8% net investment income tax is applied as an option, not derived from MAGI.
    • State income tax on the gain is not modelled.

    Frequently asked questions

    What counts as a capital improvement?

    Anything that adds value, prolongs the life of the property or adapts it to a new use: a new roof, an addition, a replaced HVAC system, landscaping, or a kitchen remodel. Repainting, fixing a leak or replacing a broken window are repairs and do not add to basis.

    What if I rented the house out for a while?

    The two-of-five-year use test still applies, but the depreciation you claimed while renting it is recaptured at up to 25% and does not qualify for the exclusion. That recapture is often the largest surprise in a converted rental.

    What about a second home?

    The §121 exclusion does not apply unless it has been your principal residence for two of the last five years. A second home sold at a gain pays capital-gains tax on the whole gain, subject to the usual rates and the NIIT.

    How often can I use the exclusion?

    Generally once every two years. A partial exclusion is available if you sell sooner because of a change in employment, a health condition, or an unforeseen circumstance such as a divorce or a natural disaster.

    Does the buyer pay any of my costs?

    Sometimes. A seller concession shifts part of the buyer's closing costs onto you in exchange for a higher price, which raises your amount realised and therefore your gain. The two effects usually roughly offset.

    Methodology last reviewed 2026-10-21. Results are informational and not financial or engineering advice — see our disclaimer.