Worked example
A $250,000 gain on a rental sold by a married couple with $500,000 of other income
A married couple filing jointly sells a rental they held for more than a year. The gain is $250,000, and $60,000 of it is depreciation they claimed while they owned it. They have $500,000 of other income and live in a state that taxes the gain at a flat 5%.
Inputs
| Capital gain from the sale | $250,000 |
|---|---|
| Other annual income | $500,000 |
| Filing status | Married filing jointly |
| Holding period | Over 1 year |
| State tax rate | 5% |
| Depreciation claimed | $60,000 |
Calculator output
| $85,900 taxed at 15% | $12,885 |
|---|---|
| $104,100 taxed at 20% | $20,820 |
| Depreciation recapture at 25% | $15,000 |
| Net investment income tax (3.8%) | $9,500 |
| State tax at 5% | $12,500 |
| Estimated total tax on this gain | $70,705 |
| Effective rate | 28.3% |
| You keep | $179,295 |
Ordinary taxable income is $467,800 after the $32,200 standard deduction. The $60,000 of depreciation is taxed at 25%, then the other $190,000 stacks on top and crosses the $613,700 breakpoint, so part is taxed at 15% and part at 20%. Income plus the gain is far above the $250,000 NIIT threshold, so the whole gain picks up 3.8%.
