Pay-the-Tax Calculator

Rough arithmetic for the federal and state tax on selling an investment property without a 1031 exchange. Not tax advice.

The property

What you originally paid plus capital improvements. If this property came from a prior 1031, use the carryover basis.

You

Which rate applies depends on your taxable income and filing status. IRS Topic 409 (tax year 2025 figures, reviewed 9 Nov 2026) lists the income thresholds. Check the figure for your year.

NIIT is 3.8% on the lesser of net investment income or the amount your modified AGI exceeds a threshold by filing status (IRS Topic 559, page reviewed 24 Sep 2026; the page lists $200,000 single or head of household, $250,000 married filing jointly, $125,000 married filing separately). Real-estate-professional and other rules can change this: ask your CPA.

Enter 0 for no state tax. State rates and exclusions change, so get your rate from your state tax agency (links via the Federation of Tax Administrators, as listed on USA.gov) or your CPA.

Formula: gain = sale price − (cost basis − accumulated depreciation). Unrecaptured section 1250 gain = the lesser of depreciation and gain, at up to 25% (IRS Topic 409, 2025 tax year). Remaining gain × the federal rate you choose. NIIT = 3.8% × gain if you say it applies (a simplification: the real base is the lesser of net investment income or the MAGI excess). State tax = gain × your state rate.

Worked example: Sale 3,000,000; basis 1,500,000; depreciation 400,000; 20% rate; NIIT yes; state 0%. Gain 1,900,000. 400,000 × 25% = 100,000; 1,500,000 × 20% = 300,000; 1,900,000 × 3.8% = 72,200; total 472,200. Illustrative inputs only. Ordinary-rate brackets, passive losses, installment sales and many other items are ignored.

This is arithmetic on your inputs, not tax, legal or investment advice. It does not predict any return or recommend any property. For anything involving a 1031 exchange or taxes, work with a qualified intermediary, a CPA and a real estate attorney.