Contact

SLN Function (OpenOffice Calc)

Financial Intermediate OpenOffice Calc

Compute straight-line depreciation with OpenOffice SLN, using native cost-and-salvage examples while separating arithmetic from accounting-policy validation.

Verification status: Eight ordinary reference formulas were recalculated in Apache OpenOffice 4.1.16 on Linux x86-64, Build 9816, through generated native ODF and GUI hard recalculation. Saved identities and results were checked. How formula examples are checked

Quick answer: =SLN(1000;100;5) returned approximately 180 in the tested Apache OpenOffice 4.1.16 build.

Availability and version history

  • Introduced: First release not established; documented by OpenOffice.org 3.3.
  • Supported in: Apache OpenOffice 4.1.16; this is a verified release, not a final supported version.
  • Scope: Desktop Calc, English function names and semicolon-separated formulas.
  • Checked: October 14, 2026. Eight ordinary reference formulas were recalculated from generated ODF in 4.1.16 on Linux x86-64, Build 9816. Source and independent mathematics were also checked.

What SLN returns

SLN divides depreciable amount Costāˆ’Salvage evenly across Life periods. Its arithmetic result is a depreciation amount per life unit. The formula itself does not determine whether that unit, useful life or salvage estimate complies with an accounting or tax rule. Release implementation.

Syntax and arguments

=SLN(Cost; Salvage; Life)

All three arguments are required. Cost is the initial amount, Salvage is the intended residual value and Life is the number of equal periods. For an ordinary depreciation model use positive Life and consistent monetary units; the source directly divides without enforcing those accounting assumptions.

Eight reproducible examples

The native column contains saved 4.1.16 results; the independent column uses high-precision mathematical calculations. Values are displayed to twelve decimal places, so harmless final-place differences remain visible.

Formula Native 4.1.16 result Independent reference
=SLN(1000;100;5) 180 180
=SLN(1000;0;10) 100 100
=SLN(5000;500;3) 1500 1500
=SLN(100;100;5) 0 0
=SLN(0;0;5) 0 0
=SLN(2500;100;12) 200 200
=SLN(1000;100;1.5) 600 600
=SLN(1200;200;4) 250 250

Practical worksheet

An example asset costs 1000, has residual value 100 and a five-year modeled life. =SLN(1000;100;5) gives 180 per year. After five full years, total modeled depreciation is 900 and the book value is 100. This is a hypothetical arithmetic schedule, not a claim about allowable deductions.

If Life is entered in months, the output is per month. Changing Life from 5 years to 60 months changes the per-period amount to 15, while the total depreciable amount stays 900. Do not combine a monthly life with an annual schedule label.

Advanced interpretation and checks

The equality LifeƗSLN(Cost;Salvage;Life)=Costāˆ’Salvage checks the basic calculation for nonzero Life. If Cost equals Salvage, the depreciation amount is zero, as the table confirms. A zero cost and zero salvage with positive Life also returns zero.

The native fractional Life example of 1.5 gives 600 for Cost=1000 and Salvage=100. The formula accepts this arithmetic duration; it does not create a partial-period convention or decide when depreciation starts. A first or last partial year needs an explicit allocation policy.

The calculation is a constant amount, unlike accelerated schedules that weight early periods more heavily. Currency formatting changes presentation only; round stored schedule amounts explicitly if the chosen accounting process requires it.

Boundaries and troubleshooting

Zero Life is undefined. Negative Life or Salvage above Cost can yield negative arithmetic amounts because the core source has no business-domain guard. Such output is not evidence that the assumptions are valid. Validate the intended cost, residual and lifetime independently, and retain original inputs for review.

Official evidence and checking scope

The generated ODF input produced the informational load warning ā€œNot all attributes could be read.ā€ After it was acknowledged, the sheet was hard-recalculated and saved separately. All eight ordinary function identities and results were reconciled; a stale SUM cache changed from 999999 to 3 and an uncached SUM returned 7. This establishes the stated formula examples, not every workbook style or every invalid input. The original XLSX was not executed. Other explanatory calculations are independent mathematical checks; this guide does not claim a fully executed amortization schedule, other releases or all boundary cases.