The straight line method of depreciation formular is:
cost of asset−scrap valueestimated useful year\frac{\text{cost of asset} - \text{scrap value}}{\text{estimated useful year}}estimated useful yearcost of asset−scrap value