Home › Calculators › Form 4797 Calculator

Form 4797 Calculator

Work out the gain on selling rental or business property on Form 4797, split into recapture and section 1231 gain.

Updated November 4, 2026. Free, no sign-up; everything runs in your browser and nothing you type is stored.

Form 4797 sale and recapture calculator

Estimated federal tax on the sale
–
–Total gain
–Adjusted basis
–Ordinary income (1245 recapture)
–Unrecaptured 1250 gain (max 25%)
–Section 1231 gain (capital rates)

When you use Form 4797

Form 4797 reports sales of property used in a business or held for rent: rental houses, commercial buildings, equipment and vehicles. Property held more than a year is section 1231 property: net gains get long-term capital gains rates, but net losses are fully deductible as ordinary losses.

Depreciation recapture

Worked example

A rental bought for $340,000 (including improvements) with $98,900 of depreciation sells for $450,000 with $27,000 of selling costs. Adjusted basis is $241,100 and the gain is $181,900: $98,900 is unrecaptured 1250 gain (at 24% here, under the 25% cap) and $83,000 is section 1231 gain at 15%. Rental depreciation itself: rental property depreciation calculator; a 1031 exchange into another investment property can defer the tax (see the capital gains tax calculator for the rates). Investment income may also owe the 3.8% NIIT.

Common questions

What is Form 4797?

The form for sales of business and rental property.

How is depreciation recapture taxed on a rental?

As unrecaptured section 1250 gain at up to 25%.

Are section 1231 losses deductible?

Yes, net section 1231 losses are ordinary losses.

Sources

More paycheck and tax calculators: Form 2441 Calculator · Form 2553 Calculator · Form 4868 Calculator · Form 5329 Calculator

New 2026 tax, pension & real estate calculators: Bridge Loan Calculator · Commercial Mortgage Calculator · Florida Vehicle Registration Fee Calculator · Form 4562 Calculator · Form 8379 Calculator · Form 8880 Calculator · Form 8889 Calculator · FRS Pension Calculator · Hard Money Loan Calculator · QQQI Dividend Calculator · Real Estate Commission Calculator · Texas Unemployment Benefits Calculator · TRS Texas Retirement Calculator

Related

General information, not financial, tax or legal advice. Check important numbers with the official source before acting on them.