Selling your house? Prorated gain exclusion
Here’s good news. IRS regulations allow you to claim a prorated (reduced) gain exclusion—a percentage of the $250,000 or $500,000 exclusion in select circumstances.
The prorated gain exclusion equals the full $250,000 or $500,000 figure (whichever would otherwise apply) multiplied by a fraction.
The numerator is the shorter of: