SLN
Returns straight-line depreciation for a single period.
SLN spreads the depreciable amount (cost - salvage) evenly across life periods.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=SLN(cost, salvage, life)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
cost | number | Required | — |
salvage | number | Required | — |
life | number | Required | — |
Remarks
- Formula:
(cost - salvage) / life. - This function returns the algebraic result: if
salvage > cost, depreciation is negative. - Inputs are interpreted as scalar numeric values in matching currency/period units.
Error cases
lifemust be non-zero;life = 0returns#DIV/0!.
Examples
Spread depreciable value evenly over five periods.
Formula =SLN(1000,100,5)
Expected result 180
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Depreciate the full cost when there is no salvage value.
Formula =SLN(1000,0,5)
Expected result 200
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Equal cost and salvage leave nothing to depreciate.
Formula =SLN(1000,1000,5)
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A zero useful life leaves no periods over which to depreciate cost.
Formula =SLN(1000,100,0)
Expected result #DIV/0!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Straight-line yearly depreciation
Formula =SLN(10000, 1000, 9)
Expected result 1000
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Negative depreciation when salvage exceeds cost
Formula =SLN(1000, 1200, 2)
Expected result -100
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Can SLN return a negative value?
Yes. If salvage > cost, (cost - salvage) / life is negative.
What happens when life is zero?
SLN returns #DIV/0!.