All in one year
A cash sale: the whole gain taxed in the year of sale.
Selling land or farmland? Enter the price, what you paid and your state to see the capital gains tax on the sale: federal, the 3.8% net investment income tax and state. Then see the same sale spread over the years you are paid, and how much more you keep. Everything runs in your browser.
A cash sale: the whole gain taxed in the year of sale.
Seller financing: gain taxed as principal arrives (IRC 453).
This is an estimate. Getting it right down to the tee takes your actual tax forms (returns, K-1s, depreciation schedules), a consult and a paid analysis. The first 15-minute scope call is free.

These are estimates. Have a qualified tax professional run your real numbers in a 15-minute scope call.
Book my 15-minute callThis is an estimate. Getting it right down to the tee takes your actual tax forms (returns, K-1s, depreciation schedules), a consult and a paid analysis. The first 15-minute scope call is free.
Gain is the sale price, minus selling costs, minus your adjusted basis. For land, basis is what you paid plus capital improvements: surveys, grading, roads, wells, drainage, fencing. Land is never depreciated, so raw land has no depreciation recapture. Inherited land starts with its value at the date of death (IRS Publication 544).
Land held more than a year is long-term capital gain. The gain stacks on top of your other income and fills the 0%, 15% and 20% brackets in order (IRC 1(h)). For 2026, married couples filing jointly pay 0% up to $98,900 of taxable income, 15% up to $613,700 and 20% above that (Rev. Proc. 2025-32).
Gain on land held as an investment or rented out is net investment income, taxed at 3.8% above $250,000 of modified adjusted gross income for married couples and $200,000 for single filers (IRC 1411, thresholds not indexed). Gain on land used in a farming business you materially participate in is not (IRC 1411(c)(4)).
Most states tax the gain as ordinary income; a few have no income tax, and some give farmland its own break. Choose your state above; the note under the dropdown shows any special rule the calculator applies.
Carry a note and you report the gain as principal arrives (IRC 453, Form 6252). Each year's slice of gain lands in lower brackets and may stay under the 3.8% threshold, so the total tax is often lower, not just later. Any recapture on buildings or equipment is still taxed in the year of sale (IRC 453(i)). Farm property is exempt from the Section 453A interest charge on notes over $5,000,000; other land is not (see the 453A interest charge calculator).
A married couple in California sells farmland they lease out for $4,000,000. They paid $800,000, and selling costs are 6% ($240,000), so the gain is $2,960,000. Other income is $150,000 a year.
If they farmed the land themselves, the $108,680 of net investment income tax would not apply to a cash sale. Change any number above and the whole page updates.
Set the calculator to farmland with the two checkboxes: Farm property (on by default) and You farm it yourself. Four rules differ from raw land held as an investment:
Since the 2025 tax law (P.L. 119-21), a seller of qualified farmland to a qualified farmer can elect to pay the federal income tax on the gain in 4 equal yearly installments (IRC 1062). All the gain is still reported in the year of sale; only the payment is spread, and the 3.8% tax is not covered. The land must have been farmed for substantially all of the prior 10 years and carry a 10-year farm-use covenant. An installment sale spreads the gain itself. Compare both in seller financing for land and farmland.
One sale of land held more than a year, level yearly payments, the 2026 tables carried forward for later years. It does not model state farmland exclusions you must apply for, conservation easement deductions, a Section 1031 exchange, the alternative minimum tax on the interest, or local transfer taxes. Interest on the note is ordinary income and is not in the totals.
Land held more than a year is taxed as long-term capital gain: 0%, 15% or 20% federal depending on your income (2026 brackets, Rev. Proc. 2025-32), plus the 3.8% net investment income tax if your income is over $250,000 married or $200,000 single and the land is an investment, plus your state's tax. The calculator adds those up for your numbers.
No. Land itself is never depreciated, so a sale of raw land has no recapture. Depreciated equipment and single-purpose farm structures sold with the land are Section 1245 property: that recapture is ordinary income in the year of sale, even on a note (IRC 453(i)). Separately, Section 1252 treats part of the gain on farmland as ordinary income if you deducted soil and water conservation costs (IRC 175) and sell within 10 years of buying (100% of those deductions within 5 years, falling 20 points a year to 0% at 10 years).
Gain is the sale price minus selling costs minus your adjusted basis (what you paid plus improvements such as surveys, roads, wells and clearing). The gain is taxed in layers: the part that fits in the 0% bracket, then 15%, then 20%, plus the 3.8% tax and state tax. Spread the sale over several years and more of the gain stays in the lower layers each year.
Yes. With seller financing, you report the gain as principal arrives under the installment method (IRC 453), and the interest is taxed separately each year. Farmland notes over $5,000,000 are exempt from the Section 453A interest charge. Since 2025, a sale of qualified farmland to a qualified farmer can also use the Section 1062 election to pay the federal income tax in 4 yearly installments.
It applies to land held as an investment or rented out. It does not apply to gain on land used in a farming business in which you materially participate (IRC 1411(c)(4)). Check the box in the calculator if you farm the land yourself.
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.