Capital gains tax (Impuesto Sobre la Renta) is calculated at either 25% of the total declared sale price or up to 35% of the net profit (sale price minus your legally documented capital improvements, original purchase price, and closing fees). Read about capital gains taxes in Mexico here: Capital Gains Taxes