Purchased principal residence in 2017 sold in 2022 what is this adjusted cost base amount I'm looking for?

Is it the difference between purchase price and sale price?