The calculation is a bit different 700,00-(5000+20000) -12,000 = 663,000 but the answer is the same. Determine if you made an election to declare some of the potential capital gains in 1994. There may have been legal fees, and transfer taxes in 1954 as well. If you took CCA on the building, that will be recaptured.