A capital gains tax calculator with depreciation recapture and installment sale built in. Estimate your all-in tax on a sale (federal capital gains, the 3.8% NIIT, depreciation recapture and your state), then see how much spreading the gain over years could save you. Works for all 50 states. Free, instant, no email required to see your number.
Works for selling a business, a rental or other property: enter depreciation taken and it adds the recapture layer. Selling in California? Use the California capital gains tax calculator, which applies the FTB brackets and handles rental property depreciation.
By Hans Goldstein, EA, Tax & Exit Planning · Updated
Admitted to practice before the IRS.
Estimate using 2027 federal rates & simplifying assumptions. Not tax advice.
Send me the sale price and rough basis. Within one business day I'll email you the actual number and the Seller's Guide to §453. If it doesn't fit your deal, I'll tell you that plainly.
No retainer · no obligation. Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.
Selling an appreciated asset in a single year stacks four taxes at once: the federal capital gains rate (up to 20%), depreciation recapture (up to 25%), the 3.8% Net Investment Income Tax, and your state tax. State tax varies widely: Texas, Florida, Nevada and five other states tax no capital gains, while California taxes the entire gain as ordinary income up to 13.3%. Washington has no wage income tax but taxes long-term gains on stocks, business interests and similar assets at 7%, and 9.9% on the part above $1 million, after a $278,000 standard deduction (2025). Real estate is exempt there (Washington DOR), so the calculator uses 0% for Washington. Pick your state above and this tool estimates all four, then shows what happens when you spread the capital-gain portion across multiple years with a structured installment sale under IRC §453: lower brackets, less surtax, and a smaller total bill. See capital gains tax rates by state.
Every one of those taxes is triggered by income landing in one year. Spread it out and each year's slice lands in a lower bracket and may stay under the 3.8% threshold. The "tax saved" figure above is the difference between paying it all at once and paying it in planned slices. On real estate the unrecaptured §1250 gain spreads with the payments too, taken first out of each one (Treas. Reg. §1.453-12); only §1245 recapture on equipment is due in the year of sale (§453(i)).
Long-term gains are not taxed at your income tax rate. They get their own three-rate schedule, and which rate you pay depends on your total taxable income for the year, including the gain itself. That is why a single large sale can push a gain that would have been taxed at 0% all the way to 20%.
| Filing status | 0% up to | 15% up to | 20% above |
|---|---|---|---|
| Single | $51,050 | $563,200 | $563,200 |
| Married filing jointly | $102,100 | $633,600 | $633,600 |
| Head of household | $68,350 | $598,400 | $598,400 |
| Married filing separately | $51,050 | $316,800 | $316,800 |
Tax year 2027 thresholds, per IRS Rev. Proc. 2026-35, section 3.03 (for a sale closing in 2027 the amounts are $51,050 / $563,200 single and $102,100 / $633,600 married filing jointly, Rev. Proc. 2026-35). On top of these, the 3.8% net investment income tax applies once modified AGI passes $200,000 single or $250,000 married filing jointly, and those two thresholds are not indexed for inflation.
These use the 2027 thresholds in the table above (IRS Rev. Proc. 2026-35). Each gain is long-term and sits on top of your other taxable income, so the first dollars of gain fill whatever 0% room is left. These are federal long-term rates only, before state tax, so you can check the calculator against them.
Sources: IRS Rev. Proc. 2026-35, section 3.03 (2027 maximum zero and 15 percent rate amounts) and section 3.15 (2027 standard deduction); IRC §1411 for the $200,000 single net investment income tax threshold. Arithmetic by Goldstein & Co. Checked November 21, 2026.
Hold the asset more than one year and the gain is long-term, taxed at 0%, 15% or 20%. Hold it a year or less and it is short-term, taxed as ordinary income at your regular bracket, which currently tops out at 37%. The holding period is measured to the day, so a closing date one day past the one-year mark changes the rate.
Only partly. This calculator assumes a long-term gain. A flip held one year or less is a short-term gain, taxed at ordinary rates (10% to 37% federal in 2027), not 0%, 15% or 20%. If you flip often enough to be in the business, the IRS can treat you as a dealer: the profit is ordinary income, can be subject to self-employment tax, and dealer sales cannot use installment sale reporting (IRC §453(b)(2) and §453(l)). For a flip, take the profit and apply your ordinary bracket from IRS Rev. Proc. 2026-35, plus state tax. In California that state tax is the same as on a long-term gain; the California capital gains tax calculator shows it.
A married couple filing jointly has $100,000 of other taxable income in 2027. They sell a rental for $900,000 after selling costs. They paid $500,000 and took $150,000 of depreciation, so the adjusted basis is $350,000 and the gain is $550,000. Of that gain, $150,000 is unrecaptured Section 1250 gain and $400,000 is long-term capital gain. Assume no suspended passive losses and leave state tax out.
| Layer | Amount | 2027 federal tax |
|---|---|---|
| Unrecaptured §1250 gain, taxed at ordinary rates capped at 25% (here it fills the 12%, 22% and 24% brackets from $100,000 to $250,000) | $150,000 | $33,230 |
| Long-term gain at 15% ($250,000 to $633,600) | $383,600 | $57,540 |
| Long-term gain at 20% (above $633,600) | $16,400 | $3,280 |
| 3.8% net investment income tax (MAGI $683,200 minus the $250,000 threshold) | $433,200 | $16,461.60 |
| Federal tax caused by the sale | $550,000 gain | $110,511.60 |
That is about 20% of the gain. The depreciation layer alone costs $33,230, which is why the calculator asks for prior depreciation. State tax comes on top. In California the whole gain is taxed as ordinary income, so run California sales in the California capital gains tax calculator. Spreading the sale under IRC §453 moves both the §1250 slice and the capital gain into later years, with the §1250 gain taken first out of each payment (Treas. Reg. §1.453-12).
Sources: IRS Rev. Proc. 2026-35, section 3.01 Table 1 (2027 joint brackets), section 3.03 (0% and 15% rate amounts) and section 3.15 ($33,200 joint standard deduction); IRC §1(h)(1) for the 25% cap on unrecaptured §1250 gain; IRC §1411 for the $250,000 joint threshold. Arithmetic by Goldstein & Co. Checked November 21, 2026.
If you took depreciation on a rental or a business asset, that depreciation comes back before anything gets the favorable capital gains rate. On real property, the portion attributable to prior depreciation is unrecaptured Section 1250 gain and is taxed at a maximum 25% rate, not 15% or 20%. On equipment and other personal property, Section 1245 recapture is worse still and is taxed as ordinary income.
Depreciation is the line owners leave out. Run a rental at 15% or 20% and forget the depreciation deductions, and the estimate is low: in the example above the depreciation layer alone costs $33,230. The calculator above asks for prior depreciation for exactly this reason. A few other categories also break the 20% ceiling: collectibles such as coins and art are taxed at up to 28%, and so is the taxable portion of qualified small business stock under Section 1202.
For tax years 2025 through 2028, taxpayers who reach age 65 by the end of the year can claim an additional $6,000 deduction, $12,000 for a married couple where both spouses qualify. It begins phasing out at $75,000 of modified AGI, or $150,000 filing jointly, and is fully gone by roughly $175,000 and $250,000.
A large one-year gain blows straight through those thresholds and wipes the deduction out. Spread the same gain across several years and much of it survives. Enter your age above and the calculator shows how much of the deduction each path actually keeps.
The tax depends heavily on what you are selling and how you sell it.
Long-term capital gains are taxed federally at 0%, 15%, or 20% depending on your total taxable income, plus a 3.8% Net Investment Income Tax above certain thresholds. Depreciation you previously claimed is recaptured (up to 25% federally), and states like California tax the entire gain as ordinary income, up to 13.3%.
Because tax brackets, the 3.8% surtax, and California's top rate are all driven by your income in a single year, recognizing a large gain all at once pushes you into the highest brackets. A structured installment sale under IRC §453 spreads the gain across multiple years, keeping more of it in lower brackets.
Yes. It estimates California tax using current marginal brackets (California taxes capital gains as ordinary income, up to 13.3% including the mental-health surcharge). You can also select another state's effective rate or no state tax.
On real estate, mostly yes. Unrecaptured Section 1250 gain (depreciation on a building) is reported under the installment method like the rest of the gain and comes out of each payment first (Treas. Reg. §1.453-12). Only Section 1245 recapture (equipment and other personal property) and any Section 1250 additional depreciation must be recognized in the year of sale (§453(i)). This calculator spreads the Section 1250 gain with the payments, taken first.
No. It's an educational estimate using current-year rates and simplifying assumptions. Your actual tax depends on your full return. Use it to see the scale of the opportunity, then talk to Hans and your CPA before acting.
Before you sign anything, run your numbers with someone who structures the deal to be tax-smart and audit-ready from day one.
Call 213-414-2808 Run the Numbers →
A plain-English guide for sellers on how a structured installment sale can help you net more after tax when you sell a business, practice, or property. It covers the math, the alternatives, and how to tell if your deal fits.
After the sale closes it is too late to add a structure, so the number matters before escrow opens.
Hans Goldstein · 213-414-2808 · CA Insurance License #4273294 · Independent §453 specialist · Goldstein & Co. LLC
Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.
Also see: structured sale tax bill illustration
Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS. General education, not tax or legal advice for your situation.