Free real estate calculator

Home Sale Profit Calculator

Separate home sale gain from cash proceeds and estimate a Section 121 exclusion.

By Calculate My Property EditorialUpdated September 30, 2026Professional review pending
01 / Your inputs

Start with your property.

Property1 inputs
USD
Tax basis4 inputs
USD
Adjusted cost basis can include capitalized acquisition costs.
USD
Add qualifying improvements, not routine maintenance.
USD
Include depreciation even if you did not claim it.
USD
Mortgage payoff does not reduce taxable gain.
Tax assumptions7 inputs
Ownership/use generally two of five years; prior exclusions, nonqualified use and spouse tests can change eligibility.
%
User-selected marginal scenario; no tax-bracket determination.
%
Maximum 25%; actual rate can be lower.
%
Manual assumption. State exclusions and rates may differ.
%
Choose 3.8% only when it applies to your taxable gain.
All amounts in USD.
Your estimate

Realized gain

$185,000Based on your inputs · USD
Section 121 exclusion used
$185,000
Remaining capital gain
$0
Combined tax allowance
$0
See the breakdown
Adjusted basis
$280,000
Unrecaptured §1250 gain
$0
Capital gain tax
$0
Unrecaptured §1250 tax
$0
State allowance
$0
NIIT allowance
$0
The formula

Gain = sale price − selling expenses − adjusted basis

Assumptions & limitations (1)
  • Assumes a long-term sale and straight-line real-property depreciation. Short-life §1245 assets, nonqualified use and full tax brackets are not modeled. Tax rates and eligibility are user assumptions.
02 / Your next decisionHome SaleCapital Gains Real Estate
External resource

Compare your agent options.

Review services and negotiated compensation before signing a listing agreement.

Explore HomeLightExternal provider or resource. No paid referral arrangement is active.
Planning estimate. Editorially sourced; independent professional review is pending. How we calculate
Worked example

Follow the default numbers.

With sale price of $500,000, original tax basis of $250,000, the model gives realized gain: $185,000.

The formula is gain = sale price − selling expenses − adjusted basis. Open the breakdown to trace expenses and assumptions. Change one input at a time to see how your decision changes. This example uses scenario inputs; it is not an offer, tax bill, appraisal or legal determination.

Use adjusted basis, not mortgage payoff

The model adds qualifying improvements to original basis and reduces it by depreciation allowed or allowable. Sale price less selling expenses is the amount realized. Subtract adjusted basis to find gain or loss. Debt payoff affects cash at closing but is absent from this gain formula. Personal-residence losses are generally not deductible, so a negative modeled gain does not create a tax refund here.

The home-sale exclusion has tests

The eligible primary-residence scenario can exclude up to $250,000 for a single filer or $500,000 for qualifying married joint filers. Ownership, residence, spouse-specific tests and use of an exclusion within the prior two years matter. Nonqualified use and mixed business/residential property can require allocations not modeled here. The checkbox is your assertion of eligibility, not the calculator’s finding.

Depreciation stays visible

Gain attributable to depreciation after the applicable statutory date generally cannot be excluded under Section 121. The tool separates potential unrecaptured Section 1250 gain and applies your chosen rate up to twenty-five percent. The remainder uses the selected capital-gain rate. State tax and net investment income tax are optional scenario rates rather than an automatic tax return calculation.

An estimate for planning

This simplified model assumes a long-term sale and straight-line building depreciation. Short-term gains, Section 1245 assets, installment sales, passive losses and state-specific exclusions can change the liability. Keep acquisition records, improvement receipts and depreciation schedules. A CPA or enrolled agent must review the facts before filing or relying on a sale-tax reserve.

Keep your assumptions with the result

Save the calculation to your deal file to reuse compatible inputs in another tool. The file stays in this browser on this device. Download the CSV to open the complete inputs, results and schedule in Excel or Google Sheets. Use PDF to print the report or save it as a PDF. A share link includes entered financial figures in its URL, so use it only with people you intend to share those numbers with.