SLN Function in Google Sheets: Straight Line Depreciation

Want to calculate the straight-line depreciation of your car, laptop, or any asset? The SLN function in Google Sheets makes it simple.

Straight-line depreciation is one of the most commonly used methods in accounting. It spreads the cost of an asset evenly over its useful life. In this tutorial, you’ll learn:

  • What the SLN function does
  • How to use SLN with examples
  • How to manually calculate depreciation
  • How to create a depreciation chart in Google Sheets

What Is the SLN Function in Google Sheets?

The SLN function calculates the depreciation of an asset for a single period using the straight-line method.

This is useful when you want to:

  • Track the value of business assets over time
  • Forecast depreciation for tax and accounting
  • Create financial reports in Google Sheets

SLN Function Syntax

SLN(cost, salvage, life)

Parameters:

  • cost: The initial purchase price of the asset
  • salvage: The expected value of the asset at the end of its useful life (residual value)
  • life: The number of periods (usually years) over which the asset will be depreciated

SLN Example – Car Depreciation

Let’s say you purchase a business car for $29,195 with a useful life of 5 years and expect no resale value (salvage = 0).

=SLN(29195, 0, 5)

Result: $5,839
This means you’ll depreciate $5,839 every year.

Example of the SLN function calculating straight line depreciation in Google Sheets

Manual Depreciation Calculation in Google Sheets

If you prefer to calculate depreciation manually (without SLN), use:

=(cost - salvage) / life

Example formula using cell references:

=(B2 - B3) / B4

Where:

  • B2 = $29,195 (cost)
  • B3 = $0 (salvage)
  • B4 = 5 (life)

This returns the same value as the SLN function: $5,839.

How to Create a Straight Line Depreciation Chart in Google Sheets

Step 1: Set Up the Depreciation Table in Google Sheets

Depreciation data table setup for SLN chart in Google Sheets

Start by creating the depreciation schedule in the range E2:H, beginning with the headers in row 2.

Enter the following column headers in E2:H2:

Year | Opening Value | Depreciation | Closing Value

Enter the first row of data:

YearOpening ValueDepreciationClosing Value
Year 1=B2=$B$5=F3-G3
  • In cell F3, enter =B2 to reference the asset’s original cost.
  • In G3, enter =$B$5 to fix the annual depreciation amount.
  • In H3, enter =F3-G3 to calculate the closing value for the first year.

Fill down for remaining years:

For Year 2 onward, follow this pattern:

YearOpening ValueDepreciationClosing Value
Year 2=H3=$B$5=F4-G4
Year 3=H4=$B$5=F5-G5
  • In each row, the Opening Value equals the Closing Value of the previous year.
  • The Depreciation remains fixed (use an absolute reference like $B$5).
  • The Closing Value is calculated by subtracting depreciation from the opening value.

Drag the formulas in F4:H4 down as far as needed. For a 5-year depreciation period, extend the table through row 7.

Step 2: Insert the chart

  1. Select the table (e.g., E2:H7)
  2. Go to Insert > Chart
  3. Set Chart Type to Line Chart
  4. Use “Year” as the X-axis and “Closing Value” as the Series
Chart editor settings for creating a straight line depreciation chart in Google Sheets

You’ll get a smooth downward-sloping line showing how your asset’s value drops over time.

SLN Chart in Google Sheets

SLN vs Other Depreciation Functions in Google Sheets

FunctionMethodUse Case
SLNStraight-lineEven depreciation over time
SYDSum-of-years-digitsAccelerated depreciation
DDBDouble-declining balanceHigher depreciation in early years
DBDeclining balanceSimilar to DDB but fixed rate
VDBVariable declining balanceCustom range of depreciation periods
AMORLINCAccounting-based methodPro-rated depreciation (EU companies)

👉 For more, check out: Google Sheets Functions Guide

FAQs About the SLN Function in Google Sheets

What is salvage value?

The salvage value (also called residual value) is the estimated value of an asset at the end of its useful life.

Does SLN work for partial years?

No. SLN only returns the depreciation for a full period. For partial depreciation or pro-rata calculations, use AMORLINC.

Can I use SLN for monthly depreciation?

Yes, just change the life parameter to represent the number of months instead of years.

Example: For a 5-year life, use life = 60 months.

=SLN(29195, 0, 60)

Summary

The SLN function in Google Sheets is a reliable and easy way to compute depreciation using the straight-line method. It’s perfect for simple budgeting, accounting, and forecasting tasks.

Whether you’re managing a car fleet or calculating tax-deductible asset depreciation, SLN is the go-to formula.

Related Tutorials:

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Expert Prashanth KV is a Diamond Product Expert in Google Sheets, officially recognized by Google for his contributions to the Docs Editors Help Community and featured in the Google Product Experts Directory. Explore his blog to learn advanced formulas, automation tips, and problem-solving techniques to elevate your spreadsheet skills.

Google Sheets: Get the Last Row with Any Data Across Multiple Columns

It’s common to have several empty rows at the bottom of a Google Sheet,...

How to Calculate Digital Root in Google Sheets

The digital root is the single-digit value you get by repeatedly summing the digits...

How to Build an Advanced Book Tracker in Google Sheets: Formulas Explained

If you're tired of forgetting what you've read, which books you rated 5 stars,...

Google Sheets Reading List Tracker Template (Free Download)

Looking for a smarter, more visual way to manage your reading goals? This Google...

More like this

Google Sheets: Get the Last Row with Any Data Across Multiple Columns

It’s common to have several empty rows at the bottom of a Google Sheet,...

How to Calculate Digital Root in Google Sheets

The digital root is the single-digit value you get by repeatedly summing the digits...

How to Build an Advanced Book Tracker in Google Sheets: Formulas Explained

If you're tired of forgetting what you've read, which books you rated 5 stars,...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.