To calculate units of production depreciation, you need to divide the cost of the asset (less its salvage value) by the total units you expect the asset to produce over its useful life. Then you will multiply this rate by the actual units produced during the year.