Skip to content
PromptedCRE

After-tax return

See what income tax does to a hold's return: taxable income and tax by year, the tax on sale with the depreciation part split out, and the after-tax IRR beside the pre-tax IRR.

After tax the IRR is 9.87%, against 13.18% before tax: tax takes 3.31 points.

After tax the IRR is 9.87%, against 13.18% before tax: tax takes 3.31 points.

After-tax IRR

9.87%

on $1,850,000 of equity, held 7 years

Tax on yearly income
$238,689
over 7 years
Tax on sale
$403,566
on a $1,551,427 gain

The cash before tax, and where it goes

$642,255 of tax

  • Kept after tax$3,344,19383.9%
  • Tax on yearly income$238,6896.0%
  • Tax on sale$403,56610.1%

The sale

year 7

Sale price
$6,149,369
$184,481 of sale costs
Adjusted basis
$4,413,462
after $686,538 of depreciation
Gain on sale
$1,551,427
Unrecaptured section 1250 gain
$686,538
taxed $197,723
Rest of the gain
$864,888
taxed $205,843
Net sale after tax
$2,692,254
after a $2,869,067 payoff
Drawn from
The worked example
Runs
In your browser
For your agent
calc_run with id after-tax

Inputs

Worked example. Type over any value on a dashed line.

Purchase
$
$

added to the basis

%

of the cost basis; not depreciated

yrs

federal: 39 nonresidential, 27.5 residential

Operations
$
%/yr
yrs

sold at the end of the last year

Sale
%

on the year after the sale

%

share of the sale price

Loan
$

0 for an all-cash deal

%/yr
yrs

0 for interest only throughout

yrs
Tax rates

Every rate is yours to enter. The worked example uses top federal rates as examples; 0 turns a rate off.

%

on yearly taxable income

%

added to every other rate

%

on the gain up to depreciation taken

%

on the rest of the gain

Taxable income, tax and the cash flows the IRRs come from.

7 years

Taxable income, tax and cash flow by year, then the sale
YearNOIInterestDepreciationTaxable incomeTaxBefore taxAfter tax
0-$1,850,000-$1,850,000
1$350,000$211,250$98,077$40,673$16,595$138,750$122,155
2$360,500$209,670$98,077$52,753$21,523$97,169$75,646
3$371,315$206,076$98,077$67,162$27,402$107,984$80,582
4$382,454$202,242$98,077$82,136$33,511$119,124$85,612
5$393,928$198,151$98,077$97,701$39,862$130,597$90,735
6$405,746$193,785$98,077$113,884$46,465$142,415$95,951
7$417,918$189,128$98,077$130,714$53,331$154,588$101,256
Sale$1,551,427$403,566$3,095,821$2,692,254

Every formula it ran, in order.

IRR as Excel defines it

  1. 1Cost basis$5,000,000.00 price + $100,000.00 closing costs$5,100,000.00
  2. 2Land, not depreciated$5,100,000.00 × 25.00%$1,275,000.00
  3. 3Depreciable basis$5,100,000.00 − $1,275,000.00$3,825,000.00
  4. 4Depreciation, a full year$3,825,000.00 ÷ 39 years, straight line$98,076.92
  5. 5Equity$5,100,000.00 − $3,250,000.00 loan$1,850,000.00
  6. 6Tax rate on yearly income37.00% ordinary + 3.80% net investment income40.80%
  7. 7Interest-only payment, a month$3,250,000.00 × 6.50% ÷ 12$17,604.17
  8. 8Amortizing payment, a monthPMT(6.50% ÷ 12, 300, $3,250,000.00)$21,944.23
  9. 9Year 1 taxable income$350,000.00 NOI − $211,250.00 interest − $98,076.92 depreciation$40,673.08
  10. 10Year 1 tax$40,673.08 × 40.80%$16,594.62
  11. 11Year 1 cash flow before tax$350,000.00 NOI − $211,250.00 debt service$138,750.00
  12. 12Year 1 cash flow after tax$138,750.00 − $16,594.62 tax$122,155.38
  13. 13Year 2 taxable income$360,500.00 NOI − $209,670.07 interest − $98,076.92 depreciation$52,753.01
  14. 14Year 2 tax$52,753.01 × 40.80%$21,523.23
  15. 15Year 2 cash flow before tax$360,500.00 NOI − $263,330.79 debt service$97,169.21
  16. 16Year 2 cash flow after tax$97,169.21 − $21,523.23 tax$75,645.98
  17. 17Year 3 taxable income$371,315.00 NOI − $206,076.31 interest − $98,076.92 depreciation$67,161.77
  18. 18Year 3 tax$67,161.77 × 40.80%$27,402.00
  19. 19Year 3 cash flow before tax$371,315.00 NOI − $263,330.79 debt service$107,984.21
  20. 20Year 3 cash flow after tax$107,984.21 − $27,402.00 tax$80,582.21
  21. 21Year 4 taxable income$382,454.45 NOI − $202,241.87 interest − $98,076.92 depreciation$82,135.66
  22. 22Year 4 tax$82,135.66 × 40.80%$33,511.35
  23. 23Year 4 cash flow before tax$382,454.45 NOI − $263,330.79 debt service$119,123.66
  24. 24Year 4 cash flow after tax$119,123.66 − $33,511.35 tax$85,612.31
  25. 25Year 5 taxable income$393,928.08 NOI − $198,150.63 interest − $98,076.92 depreciation$97,700.53
  26. 26Year 5 tax$97,700.53 × 40.80%$39,861.82
  27. 27Year 5 cash flow before tax$393,928.08 NOI − $263,330.79 debt service$130,597.29
  28. 28Year 5 cash flow after tax$130,597.29 − $39,861.82 tax$90,735.48
  29. 29Year 6 taxable income$405,745.93 NOI − $193,785.40 interest − $98,076.92 depreciation$113,883.61
  30. 30Year 6 tax$113,883.61 × 40.80%$46,464.51
  31. 31Year 6 cash flow before tax$405,745.93 NOI − $263,330.79 debt service$142,415.13
  32. 32Year 6 cash flow after tax$142,415.13 − $46,464.51 tax$95,950.62
  33. 33Year 7 taxable income$417,918.30 NOI − $189,127.81 interest − $98,076.92 depreciation$130,713.57
  34. 34Year 7 tax$130,713.57 × 40.80%$53,331.14
  35. 35Year 7 cash flow before tax$417,918.30 NOI − $263,330.79 debt service$154,587.51
  36. 36Year 7 cash flow after tax$154,587.51 − $53,331.14 tax$101,256.37
  37. 37NOI in year 8$350,000.00 × (1 + 3.00%)^7$430,455.85
  38. 38Sale price$430,455.85 ÷ 7.00% exit cap$6,149,369.33
  39. 39Sale costs$6,149,369.33 × 3.00%$184,481.08
  40. 40Loan payoff at salebalance after 7 years$2,869,067.33
  41. 41Depreciation takenthe 7 years' depreciation, summed$686,538.46
  42. 42Adjusted basis$5,100,000.00 − $686,538.46$4,413,461.54
  43. 43Gain on sale$6,149,369.33 − $184,481.08 − $4,413,461.54$1,551,426.71
  44. 44Unrecaptured section 1250 gainsmaller of $686,538.46 depreciation taken and $1,551,426.71 gain$686,538.46
  45. 45Rest of the gain$1,551,426.71 − $686,538.46$864,888.25
  46. 46Tax on the unrecaptured gain($686,538.46 − $0.00) × (25.00% + 3.80%)$197,723.08
  47. 47Tax on the rest of the gain($864,888.25 − $0.00) × (20.00% + 3.80%)$205,843.40
  48. 48Tax on sale$197,723.08 + $205,843.40$403,566.48
  49. 49Net sale proceeds before tax$6,149,369.33 − $184,481.08 − $2,869,067.33 payoff$3,095,820.92
  50. 50Net sale proceeds after tax$3,095,820.92 − $403,566.48$2,692,254.44
  51. 51Pre-tax IRRIRR(-$1,850,000.00 equity, cash flow before tax by year, net sale before tax in year 7)13.18%
  52. 52After-tax IRRIRR(-$1,850,000.00 equity, cash flow after tax by year, net sale after tax in year 7)9.87%
  53. 53Return lost to tax13.18% − 9.87%3.31 points
  54. 54Tax over the hold and sale$238,688.66 on yearly income + $403,566.48 on sale$642,255.14

Marked: the lines your last edit changed.

For your agent: calc_run returns these same 54 lines.

The rules this math rests on.

6 rule cards

  • Depreciation of buildings: recovery period, method and convention

    Federal
    Rule us-fed.irc.depreciation-recovery-periods

    Under the general depreciation system, a building that is residential rental property is recovered over 27.5 years and one that is nonresidential real property over 39 years, both by the straight line method with salvage value treated as zero. Both use the mid-month convention: a building placed in service or disposed of during a month is treated as placed in service or disposed of at the midpoint of that month. A building is residential rental property if 80 percent or more of its gross rental income for the year comes from dwelling units. Land is not depreciable, so only the cost allocated to the building and other improvements is recovered.

    26 U.S.C. 168(b)(3), (b)(4), (c), (d)(2), (d)(4)(B) and (e)(2)(A); IRS Publication 946Sources checked AI-drafted

  • Bonus depreciation: the 100 percent first-year allowance after the 2025 act

    Federal
    Rule us-fed.irc.bonus-depreciation

    Qualified property acquired and placed in service after January 19, 2025 gets a 100 percent first-year depreciation allowance with no end date; property counts as acquired no later than its written binding contract date. It generally needs a recovery period of 20 years or less, so 27.5-year and 39-year buildings never qualify. Fifteen-year land improvements qualify, as does qualified improvement property (interior nonresidential improvements other than enlargements, elevators, escalators and internal structural framework) unless held by an electing real property trade or business, which must use the alternative depreciation system. Election out is by class. Section 168(n) separately covers production space the owner uses, not leased space.

    26 U.S.C. 168(k)(1), (k)(2)(A) and (D), (k)(7), (e)(6), (g)(8) and (n); Pub. L. 119-21, section 70301(c); IRS Notice 2026-11Sources checked AI-drafted

  • Unrecaptured section 1250 gain on the sale of depreciated real property

    Federal
    Rule us-fed.irc.unrecaptured-section-1250-gain

    Section 1250 treats gain on depreciable realty as ordinary income up to additional depreciation, all of it for most property. Additional depreciation is all depreciation for property held one year or less; if longer, only the excess over straight line, so a straight-line building has none. Unrecaptured section 1250 gain is long-term capital gain, not otherwise ordinary, that would be ordinary if section 1250 reached all depreciation at 100 percent, less any excess of net short-term capital loss, collectibles loss and long-term loss carryover over collectibles and section 1202 gain. Its top rate, for individuals, estates and trusts, is 25 percent. Allowable depreciation counts unless records show less allowed.

    26 U.S.C. 1(h)(1)(E), 1(h)(4) and 1(h)(6)(A) (cap in 1(h)(6)(B)); 26 U.S.C. 1250(a)(1) and (b)(1) and (3)Sources checked AI-drafted

  • Net investment income tax: 3.8 percent on rents and gains above a threshold

    Federal
    Rule us-fed.irc.net-investment-income-tax

    An individual owes 3.8 percent tax on the lesser of net investment income or modified adjusted gross income above $250,000 (joint return or surviving spouse), $125,000 (married filing separately) or $200,000 (otherwise); the thresholds are not indexed. Net investment income includes rents and net gain from selling property, less allocable deductions, unless earned in the ordinary course of a nonpassive trade or business. A regulatory safe harbor deems a real estate professional's rents and gains from a rental real estate activity in which they participate over 500 hours in the year, or in five of the ten prior years, to arise in a trade or business.

    26 U.S.C. 1411(a), (b) and (c); 26 CFR 1.1411-4(a), (b) and (g)(7)Sources checked AI-drafted

  • Federal income tax brackets for individuals: seven rates, a 37 percent top

    Federal
    Rule us-fed.irc.individual-income-tax-rates

    For taxable years beginning after December 31, 2017, section 1(j) replaces the rate tables in section 1(a) to (e) with seven brackets on an individual's taxable income: 10, 12, 22, 24, 32, 35 and 37 percent. In the statute's base tables the 37 percent bracket starts above $600,000 on a joint return, $500,000 for a head of household or single filer, and $300,000 for a married person filing separately; the Treasury adjusts these amounts for inflation each year after 2018. A 2025 amendment removed the end date that limited these tables to 2018 through 2025. Section 1(h) separately caps the tax on net capital gain.

    26 U.S.C. 1(j)(1) to (3)Sources checked AI-drafted

  • Gain on business real property: section 1231 netting

    Federal
    Rule us-fed.irc.section-1231-gains-and-losses

    Section 1231 covers gains and losses from selling, exchanging or involuntarily converting real or depreciable property used in a trade or business and held over one year, other than inventory or property held primarily for sale to customers. If a year's recognized section 1231 gains exceed its section 1231 losses, all are treated as long-term capital gains and losses; otherwise none is a capital gain or loss. A net section 1231 gain is ordinary income up to the non-recaptured net section 1231 losses of the five most recent preceding years. Unrecaptured section 1250 gain from a year's section 1231 dispositions cannot exceed that year's net section 1231 gain.

    26 U.S.C. 1231(a), (b)(1) and (c); 26 U.S.C. 1(h)(6)(A)(i) and (B)Sources checked AI-drafted

How it counts, and how it is checked.

Checked by an independent calculation

How it counts

  • Taxable income each year is NOI less the year's loan interest (monthly payments at the annual rate divided by 12, interest only first if set) less straight-line depreciation on the building share of the cost basis, which is the price plus closing costs less the land share; depreciation is taken in full years with no mid-month convention, bonus depreciation or cost segregation, and stops once the basis is used up.
  • Yearly tax is that income times the ordinary rate plus the net investment income rate; a year's loss pays no tax and is carried forward against this property's later income and then its gain on sale, the rest of the gain first and the depreciation part second, and neither a loss on sale nor a loss left over is set against other income, the conservative reading for a passive investor.
  • The sale is at the end of the last year at the next year's NOI over the exit cap; the gain is the price less sale costs less the adjusted basis (cost basis less depreciation taken), the part of it up to the depreciation taken is unrecaptured section 1250 gain taxed at its rate plus the net investment income rate, and the rest is taxed at the capital gain rate plus the same.
  • The pre-tax and after-tax IRRs are yearly IRRs on the equity (cost basis less the loan), each year's cash flow before or after tax, and in the last year the sale proceeds after the loan payoff before or after tax; an IRR is left blank when the flows never change sign.
  • Every rate is an input and the example's figures and rates are illustrations, not defaults; the result is arithmetic on the inputs, not tax advice, and it leaves out state tax, loan fees and any limit on deductions.
  • Left out on the sale: the netting of the year's other section 1231 gains and losses, the look-back that makes net section 1231 gain ordinary income up to the net section 1231 losses of the five years before, and the cap the year's net section 1231 gain puts on the unrecaptured section 1250 part; the gain is priced as if all of it were long-term.

What the checks pin

  • The worked example's basis, depreciation and equity; each year's interest, principal, taxable income, tax and cash flow before and after tax; the sale's price, payoff, adjusted basis, gain, unrecaptured section 1250 part, rest, tax on each and net proceeds; and both IRRs match a separate Python calculation (decimal module, 2026-11-13): money to the cent, rates to 1e-6.
  • A second case with a tax loss every year is pinned the same way: the loss carried forward year by year, then used against the rest of the gain first and the unrecaptured part second; a loss larger than the gain is left unused and named in the trace.
  • On five test cases, cash flow before tax less taxable income equals depreciation less principal every year, the basis and the two parts of the gain add up, and the cash before tax equals the cash after tax plus every dollar of tax; with every rate at zero the two IRRs are equal, raising any one rate never lowers the tax, and a flat all-cash hold sold at cost gives the closed form.
  • All cash, interest only for the whole hold, a sale at a loss, no net investment income tax, no land, a hold longer than the recovery period, a one-year hold, a zero interest rate and a hold that ends just as the loan is paid off (a payoff of zero, never below it) are pinned; a loan that leaves no equity, a hold past the loan's payoff, a 100% land share or rate, a missing rate and unknown fields are refused in plain words.

Called by 2 steps in 2 playbooks.

For your agent

It calls calc_run with id after-tax and the same inputs as the form above, and gets back the result, its working and the rule cards it rests on. The worked example is pinned in __tests__/calc-after-tax.test.ts and __tests__/calc-modules.test.ts, which run it through the same function this page and the tool call.

Where the catalog stands

96 written in full: 72 playbooks, 22 scenarios and 2 audits. An agent can do 64% of the 1169 written steps.

Federal + Texas · Counted