SLN Function (Calligra Sheets)
Calculate straight-line depreciation with Calligra SLN. Reconcile cost, salvage and useful life, and check missing numeric validation and fractional-life behavior.
Verification status: 19 selected formulas were executed through the Calligra Sheets 25.04.2 calculation engine library. Exact outputs, mathematical references and source limitations are documented separately. Version 26.08.2 was source-checked only; no GUI-cell or import claim. How formula examples are checked
Quick answer: =SLN(1000;100;5) gives approximately 180 in the tested Calligra calculation engine.
Availability and version history
- Introduced: First release not established; the name is present in Calligra 2.4.0 source.
- Supported in: Calligra Sheets 26.08.2, with no retirement established.
- Scope: Desktop Sheets with the Financial module. Examples use English semicolon-separated formulas.
- Checked: October 14, 2026. Selected formulas ran through the official 25.04.2 engine library. Source and independent mathematics were checked. This is engine evidence, with no GUI-cell or import verification; 26.08.2 was source-checked only.
What SLN returns
SLN returns a constant depreciation charge per period: (cost−salvage)/life. Salvage is the intended residual value at the end of useful life, rather than a value subtracted anew each period. Function-specific official reference.
Syntax and arguments
=SLN(cost;salvage;life)
Exactly three arguments are required. Cost and salvage must use the same currency or unit; life uses the periods for which the charge is required. The source explicitly requires life>0 but adds no cost/salvage ordering check. Registration and implementation.
Reproducible engine examples
The engine and mathematical columns are separate. Results are rounded to twelve decimal places, or thirteen significant digits in scientific notation for very small or large values. This is a display choice, not an accuracy guarantee.
| Formula | Engine result | Independent mathematical reference |
|---|---|---|
=SLN(1000;100;5) |
180 |
180 |
=SLN(6000;1000;5) |
1000 |
1000 |
=SLN(1000;0;4) |
250 |
250 |
=SLN(1000;1000;5) |
0 |
0 |
=SLN(1200;200;10) |
100 |
100 |
=SLN(500;50;3) |
150 |
150 |
=SLN(100;10;1) |
90 |
90 |
=SLN(1000;100;2.5) |
360 |
360 |
Practical worksheet
For cost 1000, residual salvage 100 and useful life five years, the annual charge is 180. Five charges total 900 and leave 100. The executed reconstruction below adds salvage back to the total charges and returns 1000.
For cost 6000, salvage 1000 and five periods, the charge is 1000 per period. If cost equals salvage, the charge is zero. SLN returns one period’s charge; it does not track which periods have already been recorded.
Advanced interpretation and checks
The model is linear in depreciable cost. Doubling both cost and salvage doubles the charge while holding life fixed. Changing life changes the period charge inversely. For life 2.5, the engine retains that fractional divisor and returns 360 for depreciable cost 900.
A worksheet that needs separate first/last partial periods must define them explicitly; this function has no purchase date or period-position argument. Check cumulative depreciation and residual value independently rather than assuming the function stops a copied schedule automatically.
The executed advanced check was:
=5*SLN(1000;100;5)+100
Its engine result was 1000.
Boundaries and troubleshooting
Zero or negative life gives #VALUE!. Salvage above cost is not rejected: the tested cost 1000 and salvage 1200 return −40 over five periods. Negative cost or negative salvage also receives arithmetic treatment rather than a financial-domain error.
Numeric cost text is parsed; nonnumeric cost text becomes zero, producing a negative charge when salvage remains positive. Nonnumeric life becomes zero and errors. Incorrect arity is #VALUE!. Validate costs and residual assumptions before using the calculation in an accounting schedule; the function does not establish an external depreciation policy.
| Formula | Engine result |
|---|---|
=SLN(1000;100;0) |
#VALUE! |
=SLN(1000;100;-1) |
#VALUE! |
=SLN(1000;1200;5) |
-40 |
=SLN(-1000;100;5) |
-220 |
=SLN(1000;-100;5) |
220 |
=SLN("1000";100;5) |
180 |
=SLN("abc";100;5) |
-20 |
=SLN(1000;100;"abc") |
#VALUE! |
=SLN(1000;100) |
#VALUE! |
=SLN(1000;100;5;0) |
#VALUE! |
Official evidence and precision scope
The financial module and value-calculation helpers are byte-identical between the inspected 25.04.2 and 26.08.2 sources. That comparison supports the source discussion but does not establish later-version execution, GUI-cell behavior or other locales.