Business & farm

Hi, On calculating cap gains on the sale of a laundromat do you have to subtract any depreciation that has taken in past years?