Property Sales · IRC §1245 · §1250 · §1231 · TY 2026
Estimate the federal tax when you sell a rental property, commercial building, equipment or a business vehicle. The calculator splits the gain into section 1245 ordinary recapture, unrecaptured section 1250 gain taxed at up to 25 percent, and section 1231 gain, then stacks each layer at 2026 rates.
Want the rules behind the numbers first: what counts as section 1245 versus section 1250 property, why unclaimed depreciation is still recaptured, and how 1031 exchanges, installment sales, gifts and inherited property change the result? Read the companion guide.
Read the Depreciation Recapture Guide →Depreciation recapture is the part of your gain equal to the depreciation you took (or were allowed to take), up to the total gain. On equipment, machinery and vehicles (section 1245 property) it is taxed as ordinary income at 10 to 37 percent. On a rental or commercial building depreciated straight-line it is unrecaptured section 1250 gain, taxed at your ordinary rate but never above 25 percent. Any gain above the depreciation is section 1231 gain, taxed at the 0, 15 or 20 percent long-term rates, and the 3.8 percent NIIT can apply to the whole gain on a passive rental.
Amount realized is the sale price minus selling expenses. Adjusted basis is your cost (purchase price plus capital improvements) minus the depreciation allowed or allowable. Gain is amount realized minus adjusted basis, the same figure Form 4797 reaches on line 24. If the result is zero or negative there is nothing to recapture; the calculator reports the loss and, treating it as an ordinary loss (your only section 1231 transaction, or a short-term business asset), the reduction in your regular federal tax.
Section 1245 property: ordinary income is the smaller of the depreciation or the gain (Publication 544, Form 4797 line 25). Gain above the depreciation, which only happens when you sell for more than you paid, is section 1231 gain. Section 1250 straight-line real property: there is no additional depreciation, so no ordinary recapture. The smaller of the depreciation or the gain is unrecaptured section 1250 gain (Unrecaptured Section 1250 Gain Worksheet, line 1), and the rest is long-term gain.
If you enter nonrecaptured net section 1231 losses from the five prior years, that much of the section 1231 gain is recharacterized as ordinary income under IRC §1231(c). Following the Schedule D instructions (worksheet lines 8 and 9), the recharacterized amount reduces unrecaptured section 1250 gain before it touches the 0/15/20 percent gain.
If you held the property one year or less, it is not section 1231 property and the whole gain is ordinary income, reported in Form 4797 Part II. The calculator then taxes the full gain at ordinary rates.
Taxable income is your other AGI plus the gain, minus the larger of your itemized deductions or the 2026 standard deduction ($16,100 single and MFS, $32,200 MFJ, $24,150 head of household). Itemized deductions first go through the 2026 limit in IRC §68 (P.L. 119-21 §70111): they are cut by 2/37 of the smaller of the itemized total or the amount by which income before deductions exceeds the start of the 37% bracket ($640,600 single and head of household, $768,700 MFJ, $384,350 MFS). A sale that lifts income past that point shrinks the deduction, and the calculator taxes the lost deduction as ordinary income from the sale. Following the Schedule D Tax Worksheet, ordinary income (including section 1245 recapture) sits at the bottom, unrecaptured section 1250 gain sits on top of it and is taxed at the ordinary bracket rate capped at 25 percent, and the remaining long-term gain sits on top at 0, 15 or 20 percent. For the 15 percent breakpoint, section 1250 gain counts only up to the top of the 24 percent bracket (worksheet line 21), so 1250 gain taxed at 25 percent does not use up 15 percent room. The tax shown is the increase over the tax on your other income alone.
When you mark the property as a passive rental or investment, the calculator adds 3.8 percent of the lesser of the gain or the amount by which MAGI (other AGI plus the gain) exceeds the IRC §1411 threshold. Gain from property used in a non-passive trade or business is not net investment income, so choose "does not apply" for active business equipment.
These are the calculator's default inputs. A couple bought a rental for $400,000 ($80,000 land, $320,000 building) and took $116,000 of straight-line depreciation over about ten years. They sell for $650,000 with $39,000 of selling costs. Their other AGI is $140,000 and they take the standard deduction.
Had the $116,000 been taxed like the rest of the gain at 15 percent, it would have cost $17,400. Recapture adds $8,368. Notice that the §1250 layer never reached the 25 percent ceiling here: it filled the 22 and 24 percent brackets, which is exactly what the Schedule D Tax Worksheet requires. The 25 percent rate only bites for the part of the §1250 gain that would otherwise land in the 32 percent bracket or higher.
The figure that surprises clients most is not the 25 percent rate, it is the equipment line. A contractor who expensed a $180,000 excavator under section 179 has a $0 basis, so selling it for $95,000 produces $95,000 of ordinary income, not capital gain, and with $85,000 of other AGI filing single that is $22,064 of federal tax. We see owners trade in or sell fully expensed trucks and machines in December thinking the sale is "just capital gain," then discover the recapture pushes them into the 24 percent bracket. Before selling a heavily expensed asset, ask whether a like-kind trade is possible (it is not for equipment since 2018; section 1031 now covers real property only) or whether the sale can move into a lower-income year.
Publication 544 walks through a business owner who bought a light-duty truck in February 2023 for $10,000, used it 100 percent for business, and claimed MACRS depreciation of $2,000 (2023), $3,200 (2024) and $960 (2025, the year of sale). The truck sold in May 2025 for $7,000.
Enter "Equipment, machinery, vehicle," a $7,000 sale price, $10,000 cost and $6,160 depreciation, and the calculator shows the same $3,160 of section 1245 ordinary income. Because the truck sold for less than it cost, every dollar of gain is recapture; none of it is section 1231 gain. The tax figure the calculator adds on top uses 2026 brackets, so it will differ from the 2025 return in the publication.
| Layer | Applies to | 2026 federal rate | Form |
|---|---|---|---|
| §1245 ordinary recapture | Equipment, vehicles, furniture, §179 and bonus assets | Ordinary, 10% to 37% | Form 4797 Part III line 25, then Part II |
| §1250 additional depreciation | Real property depreciated faster than straight-line | Ordinary, 10% to 37% | Form 4797 Part III line 26 |
| Unrecaptured §1250 gain | Straight-line rentals and commercial buildings | Ordinary rate, maximum 25% | Schedule D line 19 worksheet |
| §1231 lookback amount | Gain matched to prior 5 years of net §1231 losses | Ordinary, 10% to 37% | Form 4797 line 8 |
| Remaining §1231 gain | Gain above the depreciation | 0% / 15% / 20% | Form 4797 Part I, Schedule D |
| Net investment income tax | Passive or investment property, MAGI over threshold | +3.8% | Form 8960 |
Sources: IRC §§1(h), 1231, 1245, 1250, 1411; IRS Publication 544 (2025); Instructions for Form 4797 and Schedule D (2025); Rev. Proc. 2025-32.
Your result above is the cost of a clean exit. If the §1250 layer lands in the 22 or 24 percent bracket, selling in a lower-income year (after retirement, or a year with business losses) can cut the recapture rate without any planning structure.
Reinvesting the full proceeds in like-kind real property defers both the §1250 gain and the long-term gain. Model the boot with the 1031 Exchange Calculator. Equipment and vehicles no longer qualify.
Property held until death passes to heirs without recapture gain for the decedent. Weigh that against the rental's cash flow with the Rental Income Tax Calculator, and read the Depreciation Recapture Guide for the gift, installment and home-office rules.
Disclaimer: This calculator provides federal tax estimates for tax year 2026 for educational purposes only. It does not constitute tax advice. It models one sale and assumes no other capital gains, losses or section 1231 transactions. Consult a qualified tax professional before selling depreciated property or filing Form 4797. National Tax Tools is not a tax advisory firm.