How to calculate capital gains tax on selling part of a larger property
Selling a portion of a larger, mortgaged property requires allocating the original purchase price, basis, and mortgage between the land kept and the land sold. Because it involves dividing ownership and improvements tied to a primary residence, the transaction triggers complex capital gains rules rather than a simple tax exemption.
What the numbers show
Counted from the threads quoted below. How we count
- Most of it landed at once — the busiest month was September 2026, with 5 people.
- It is not one crowd: 7 people on Reddit and 1 on Stack Exchange ran into the same thing.
What people tried
Every workaround mentioned in the threads below. We haven’t tested any of them — and nobody here is claiming they worked.
Found another way around this?
Share your steps and trade-offs so fellow engineers don't have to reinvent the wheel. No account required.
- 1engage a CPA or EA to properly report the whole thingDid this help you?
- 2calculate the gain using the purchase basis and proceedsDid this help you?
- 3Letting the ex-spouse cut a check and moving onDid this help you?
- 4Consulting a CPA or state tax professionalDid this help you?
- 5Reinvesting funds into the stock marketDid this help you?
- 6Setting aside proceeds from the sale to cover potential tax liabilitiesDid this help you?
- 7Consulting realtors or online tax tips for guidanceDid this help you?
- 8seeking professional legal and tax adviceDid this help you?
- 9trying to get a general sense by asking online forums to reduce anxiety about surprisesDid this help you?
In their words
Unedited, grouped by where they were said, most upvoted first within each place, each linked to the thread it came from.
“What would the capital gains tax be on this sale?”source ↗
“We own (mortgaged) 15.44 acres of land which includes our primary home and improvements. We are considering selling off an unimproved section (5.5 acres) of said property.”source ↗
“If they have to pay me 225,000 to buy me out will I have to pay taxes on it if I just want to sit on the money until I decide to buy again? Capital gains? What am I missing?”source ↗
“It's a sale of ownership interest. It is taxed as if you sold the house.”source ↗
“You're selling a house (your ownership stake in it). You have all the tax penalties and benefits of the sale depending how long you owned it, if it was primary residence, and what you do with the money.”source ↗
“anything i can do to reduce the taxes on this?”source ↗
“We sold a condo that was NOT our primary residence and the taxes were painful, but we set aside enough from the proceeds to cover that.”source ↗
“How will the capital gains tax impact me? I pass the "use" test, living there for 16 years. But the ownership test concerns me.”source ↗
“Right, but do I even qualify for that $250,000 exemption? It has two "tests." The first is use, having the house as your primary residence for 2 out of 5 years. That isn't a problem. The second test is ownership, you should own it for 24 months minimum before selling.”source ↗
“If my theory - that it’s been yours since 2021 - is correct, you’d qualify. If I’m wrong, and it’s only been yours since it was transferred in February 2026, then your selling costs are going to be greater than the capital gains since then.”source ↗
Where this came up
People with this problem also raised
- 2Why did my tax bill jump so high after selling stock?
- 5How to cash out investments for a house down payment
- 6How to calculate actual profit margins per order
- 3How to price a business with no revenue
- 7Tax and financial implications of paying off a parent's debt
- 10How to rebalance a concentrated stock portfolio without a huge tax bill