Record-keeping pays off when selling home

How to calculate capital gains after years of tax deferment