Sacramento rental homes · Vierra Group, GUIDE Real EstateCall or text (916) 847-2205
Call Justin

Rental property capital gains tax calculator: federal and California

Your sale

Use your own figures. Nothing you enter is saved or sent.

$63,048

Estimated federal and California tax on the sale

California still owed after the withholding
$4,377
Total gain
$219,273
Depreciation in the basis
$78,273
Federal tax on the depreciation (unrecaptured section 1250 gain, max 25%)
$17,220
Federal tax on the rest of the gain (0%, 15% or 20%)
$21,150
Net investment income tax (3.8%)
$4,616
California tax on the gain
$20,062
Form 593 withholding at closing (3⅓% of the price)
$15,684

Federal figures use the IRS's 2026 brackets (Rev. Proc. 2025-32). California uses its 2025 schedules, the latest the FTB has published. Ask a CPA to run your actual return before you list.

Simplified: no AMT, no state credits or exemption credits, no loss or passive-loss carryovers, no 1031 exchange, installment sale or section 121. NIIT treats your other income as non-investment income and estimates MAGI as taxable income plus the standard deduction. An estimate, not tax advice.

Want the real number for your rental?

A private valuation from Justin, built from recent Sacramento sales of homes like yours, priced with the tenant in place and without.

  • Recent sales near your rental, not a citywide average
  • What an investor pays for the rent, against what an owner-occupant pays once it is empty
  • Your figure stays between us; there's no listing obligation
Call Justin · (916) 847-2205
1 of 2
Justin VierraYour request comes straight to Justin.

Next: your name, phone and email, with consent to be contacted.

Key takeaway

Enter your sale price, what you paid, improvements, selling costs and depreciation, and the calculator splits the gain the way the tax forms do: the depreciation part at ordinary rates capped at 25%, the rest at 0%, 15% or 20%, the 3.8% net investment income tax, and California tax on the whole gain. With the defaults (a house bought for Sacramento's typical value ten years ago and sold for today's, a married couple with $120,000 of other income), the bill comes to about $63,000, and escrow's Form 593 withholding leaves roughly $4,400 still owed to the state.

Who this guide is for

You own a rental house in or around Sacramento, you're weighing a sale, and you want a dollar figure for the federal and California tax before you sit down with a CPA.

How the capital gains calculator figures your gain

The gain is the sale price, less selling costs, less your adjusted basis. Adjusted basis is what you paid (plus buying costs you didn't deduct), plus capital improvements, minus depreciation. Improvements are things that add value or extend the life of the house, such as a roof, an HVAC system or an addition; repairs you deducted against rent don't count.

Once the gain is known, the calculator splits it. The slice equal to your depreciation is unrecaptured section 1250 gain. Everything above it is ordinary long-term capital gain, assuming you owned the house more than a year. If the price barely covers your basis, the whole gain can be depreciation; if you sell below basis, there's no tax and the Form 593 withholding comes back. For what goes into the selling costs line, see what it costs to sell a Sacramento rental.

Depreciation in the capital gains calculator: enter it or estimate it

If you have your depreciation schedules (Form 4562 or your CPA's asset report), choose "I'll enter the amount" and type the total taken on the house and improvements. That's the best number.

If you don't, the estimate takes the building share of the purchase price, divides by 27.5 years (the straight-line period IRS Publication 527 sets for residential rentals) and multiplies by the years rented. It skips the mid-month convention and improvement depreciation, so treat it as a ballpark. The land share is your call: your property tax bill splits land and improvements, and 75% building is only a default.

The catch most owners miss: IRS Publication 551 reduces your basis by depreciation you could have taken even if you never claimed it ("allowed or allowable"). Skipping depreciation doesn't shrink the tax on the sale. The depreciation recapture guide covers that trap and how a CPA can catch up on missed deductions before you sell.

Federal capital gains rates the calculator uses for 2026

The federal numbers come from IRS Rev. Proc. 2025-32, the inflation adjustments for tax years beginning in 2026. The gain is stacked on top of your other taxable income, so the same sale costs more in a high-income year.

2026 figureMarried filing jointlySingle
0% long-term rate up to$98,900$49,450
15% rate up to$613,700$545,500
Top of the 24% ordinary bracket$403,550$201,775
Standard deduction$32,200$16,100
NIIT threshold (MAGI)$250,000$200,000

The depreciation slice follows the Schedule D Tax Worksheet in the IRS instructions: it's taxed at your ordinary rates up to the top of the 24% bracket and at 25% above that, which is why IRS Topic 409 calls 25% a maximum. The rest of the gain fills the 0%, 15% and 20% bands above it. The worksheet then keeps whichever is smaller, that result or regular tax on everything, and so does the calculator.

The 3.8% net investment income tax (IRS Topic 559) applies to the smaller of the gain or the amount your modified AGI goes over the threshold. The calculator estimates MAGI as your other taxable income plus the standard deduction and treats that other income as wages, not investment income. The guide to capital gains on a California rental walks through a full Sacramento return line by line.

California capital gains tax and the Form 593 withholding

California has no capital gains rate. The Franchise Tax Board says all capital gains are taxed as ordinary income, so the calculator runs your gain through the state brackets on top of your other income and adds the 1% Behavioral Health Services Tax on taxable income over $1,000,000 (the FTB's 2026 Form 540-ES instructions use that name; it used to be the Mental Health Services Tax).

The brackets are the FTB's 2025 Tax Rate Schedules X and Y, the latest the FTB has published as of October 2026. California indexes its brackets each year, so a 2026 sale will likely owe slightly less than this shows once the 2026 schedules are out. The calculator also leaves out California exemption credits, which are small next to a five- or six-figure gain.

At closing, escrow normally withholds 3⅓% of the sale price on FTB Form 593 (the form's instructions use .0333). That's a prepayment, not the tax. The calculator compares it with the California figure and shows what's left to pay with your return, or what comes back. The withholding is figured on the price, the tax on the gain, so a house with little gain gets a refund and one with a large gain owes more.

What this capital gains calculator leaves out

It's built for the common case: one rental house, held more than a year, sold outright. These are not in the math:

  • Alternative minimum tax. Rare for a sale like this, but not modeled.
  • Credits and carryovers. No federal or state credits, capital loss carryovers or suspended passive losses, which can cut the bill a lot on a house that ran at a paper loss.
  • Deferral and exclusions. No 1031 exchange, installment sale or section 121 exclusion for a house you once lived in. The 1031 exchange rules for California owners explain the deferral route.
  • Appliance and carpet recapture. Section 1245 recapture on personal property is ordinary income; add it to other income if it's material.
  • Head of household and separate returns. Only joint and single filers are covered.

This is an estimate, not tax advice. Take the result and your depreciation schedules to a CPA before you price the house.

Reading the capital gains result for a Sacramento rental

Try the depreciation line two ways. With the defaults, switching depreciation to "I'll enter the amount" with $0 drops the estimate from about $63,000 to about $35,600. That difference is what the years of depreciation deductions cost you on the way out, and it's owed whether or not you claimed them.

Then change the other income. Selling in a year when you've retired or had a low-income year can keep more of the depreciation slice in the 12% and 22% brackets and the NIIT at zero. If you can choose which tax year the sale closes in, ask your CPA which year costs less before you set the closing date. If the after-tax number makes you rethink selling at all, the rent vs sell calculator compares keeping the house, and the site's overview of selling a rental in Sacramento covers the rest of the decision.

Capital gains tax calculator: questions rental owners ask

How can I avoid paying capital gains when I sell a rental property?

You can defer it or shrink it, but not erase it while you're alive and cashing out. A 1031 exchange into another investment property defers federal and California tax. An installment sale spreads the gain over the years you're paid. Section 121 can exclude part of the gain on a house that was once your main home. Heirs get a stepped-up basis. Capital losses and suspended passive losses offset the gain.

How much capital gains tax do I pay on $300,000?

For a married couple with $120,000 of other 2026 taxable income and a $300,000 long-term gain with no depreciation in it, the calculator shows $45,000 of federal tax at 15%, about $7,684 of net investment income tax and about $27,569 of California tax on the 2025 schedules: roughly $80,250 in all. If part of the gain is depreciation, that part is taxed at up to 25% federally instead of 15%.

Is capital gains tax 20% or 24%?

Long-term gains are taxed at 0%, 15% or 20%, and 20% applies only above $613,700 of 2026 taxable income for joint filers ($545,500 single). The 24% is an ordinary income bracket. It applies to short-term gains and to the depreciation part of a rental's gain when your income falls in that bracket. That part never pays more than 25%. The 3.8% NIIT can sit on top of either.

How much capital gains will I pay on $100,000?

With $120,000 of other income on a joint return, a $100,000 long-term gain costs $15,000 federally at 15%, about $84 of NIIT and about $8,969 of California tax, roughly $24,050. A single filer with $80,000 of other income pays the same $15,000 federally, no NIIT and about $9,300 to California. Any depreciation inside the $100,000 is taxed at ordinary rates up to 25%.

How do I calculate depreciation recapture on a rental property?

Add up the depreciation allowed or allowable on the house and improvements. That total, capped at your gain, is unrecaptured section 1250 gain. Federally it's taxed at your ordinary rates up to the top of the 24% bracket and 25% above that, using the Schedule D Tax Worksheet. California taxes it as ordinary income. Choose "I'll enter the amount" in the calculator and type your total to see it.

Why does the calculator use 2025 California tax rates for a 2026 sale?

Because the Franchise Tax Board hadn't published its 2026 rate schedules as of October 2026. The rates themselves (1% to 12.3%, plus 1% over $1 million) don't change; only the bracket edges move with inflation. Using 2025 edges slightly overstates a 2026 sale's California tax. The federal figures already use the IRS's 2026 numbers from Rev. Proc. 2025-32.

Sources

Reviewed by Justin Vierra

Justin reviewed this page for accuracy on October 28, 2026. Figures come from the sources listed above. Our research process.

Justin Vierra is a Sacramento Realtor® with GUIDE Real Estate and Principal of the Vierra Group who sells rental homes for their owners, with tenants in place or vacant. He spent six years in Midtown property management before he began selling homes in 2010.

  • Since 2010Licensed in California, DRE #01880488
  • 6 yearsManaging Midtown rental property before he sold homes
  • 447Vierra Group team sales on Zillow, 26 in the past 12 months
  • 440+Career sales, as reported by Justin
  • Six years in property management: Midtown Sacramento: older buildings, multifamily property, maintenance and tenants
  • Principal, Vierra Group: His team at GUIDE Real Estate, 3001 I Street, Sacramento
  • Sacramento Real Producers: Top 250 agent for 2025, as reported by Justin
More about Justin →
Call Justin · (916) 847-2205
TextCall Justin →
Justin VierraVierra Group, GUIDE Real Estate

Before you go

What would your rental sell for today?

A private valuation built from recent Sacramento sales rather than an online estimate. No listing obligation.