Contact

DDB Function in LibreOffice Calc — Tested Examples

Financial Beginner LibreOffice Calc

An explanation of LibreOffice Calc DDB, including tested formulas, examples, expected results and common mistakes.

Verification status: Selected examples were executed in LibreOffice Calc 25.2.3.2. This does not establish that every formula and edge case was tested. How formula examples are checked

Availability and version history

  • Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
  • Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
  • Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
  • Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.

Calculates the depreciation of an asset for a specific period using the double-declining balance method or declining balance factor. A 1,000-dollar asset, 100-dollar salvage value and five-year life give 400 depreciation in period 1 and 240 in period 2.

Syntax and arguments

=DDB(Cost; Salvage; Life; Period [; Factor])

Square brackets mark optional arguments; do not type the brackets. Separate arguments with semicolons (;).

Argument Explanation
Cost Initial asset cost.
Salvage Expected residual value at the end of the useful life.
Life Useful life expressed in a consistent period unit.
Period Period for which depreciation is required, using the same unit as Life.
Factor Optional declining-balance multiplier; omitting it uses 2.

Official DDB syntax and arguments.

Worked examples

Example 1: Compute first-year double-declining-balance depreciation

=DDB(1000;100;5;1)

Expected result: 400. This value was returned in the LibreOffice Calc 25.2 test.

Example 2: Calculate second-year depreciation

=DDB(1000;100;5;2)

Expected result: 240. This value was returned in the LibreOffice Calc 25.2 test.

How to interpret the result

A 1,000-dollar asset, 100-dollar salvage value and five-year life give 400 depreciation in period 1 and 240 in period 2.

Mistakes and troubleshooting

  • Check inputs and assumptions: Periods start at 1. Declining-balance depreciation is not a synonym for straight-line depreciation.
  • Check argument order and format: Strings go in quotes, cell references do not. Functions that return arrays may require special entry.
  • Verify your own data: Reproduce the example first. If your formula returns an error, inspect the referenced cells and individual argument values.

SLN · SYD

Tested version and primary reference

2 example(s) on this page passed real calculations in LibreOffice Calc 25.2.3.2. This is not a claim about every possible input or other spreadsheet applications.