CGT is calculated roughly by deducting the purchase price from the sale price, and taxing the profit.
But you are entitled to relief for the number of years used as a PPR- so if it was their ppr for 11 years, and rented for 4, then they would be liable only for 3/15 of the tax ( the first year after it is no longer their PPR is ignored, although some experts might disagree and there is some debate on this point).
Also deduct legal fees and auctioneering fees on purchase and sale, any capital enhancement, small gains exemption, and the initial purchase price can be indexed ( there is a table of multiplication factors).
But renting it out means they are liable for income tax on the rent, nppr levy, prtb registration, the pain of tenants etc.