How to Calculate Home Sale Capital Gains Knowing how to figure real estate capital gains is essential for good financial outcomes. Start by figuring out your gain: subtract the property's original purchase price and closing costs from the amount you sold for. Stay aware of tax consequences, as the IRS may tax your earnings. Exemption qualifications