Build the carrying cost
Start with the value of the dead inventory and the period for which it remains tied up. The calculator combines the storage, insurance, depreciation, and opportunity-cost entries over that period. Keeping those components separate distinguishes direct holding expenses from the estimated loss in value and the return the invested capital could have earned elsewhere.