SLN Function (LibreOffice Calc)

Financial Intermediate LibreOffice Calc

Learn the SLN function in LibreOffice Calc: Calculates the linear depreciation per period.

The SLN function in LibreOffice Calc is used for this task: Calculates the linear depreciation per period. Calculate straight-line depreciation for a purchase.

This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.

Syntax and arguments

SLN(cost; salvage; life)
Argument Required? Meaning
Cost Yes Acquisition cost. The initial cost of an asset.
Salvage Yes Salvage: The remaining value of the asset at the end of its life.
Life Yes Useful life. The number of periods in the useful life of the asset.

Calc formulas normally use semicolons (;) between arguments in common configurations; the displayed separator may depend on settings or locale.

Worked example

=SLN(1000;100;3)

Expected result: 300.

Why it works: Calculate straight-line depreciation for a purchase.

How to use it in your own spreadsheet

  1. Identify the cells or inputs that correspond to the sample values above.
  2. Enter the formula in an empty cell, changing the references or literal values to match your sheet.
  3. Compare the output with a manual check on a small known example.
  4. Extend the formula to a larger dataset only after you understand the result.

Common problems and practical checks

  • Confirm that the data represents the intended sample, population, rate or cash-flow timing.
  • Keep units and percentage conventions consistent; a mathematically valid result can still answer the wrong question.
  • A pasted formula may produce an error when it uses the other program’s argument separator or unsupported options.

Documentation and verification

  • LibreOffice Calc Help
  • The standalone example was calculated using LibreOffice Calc 25.2.3.2 on October 9, 2026 and its computed result matched the expected value. This does not certify every option, version, or other example.