Lease vs Buy Comparison

Excel Formulas › Business

All versionsNet cost

Lease or buy? Add up the true cash cost of each path — lease payments versus purchase price minus what the asset is worth at the end — and compare net cost over the same period.


Quick formula: lease total vs buy net cost over the term:
=leasePayment*months // lease total =price - resaleValue // buy net cost
The lower net cost wins, before financing. Add loan interest if you borrow to buy.

Functions used (tap for the full reference guide):

The example

$400/mo lease for 36 months vs $20,000 buy with $8,000 resale.

AB
1OptionNet cost
2Lease (36×$400)$14,400
3Buy ($20k − $8k resale)$12,000

The formula

Net cost of each path:

=400*36 // lease 14,400 =20000 - 8000 // buy net 12,000 // buy is cheaper here

How it works

Put both on the same cash basis:

  1. Lease cost is the payment times the number of months (plus any down payment or fees).
  2. Buy net cost is the purchase price minus the asset’s value at the end of the term (resale/residual).
  3. If you finance the purchase, add the loan interest with PMT so both options reflect cash actually spent.
  4. Compare net costs over the same time horizon — a 36-month lease against 36 months of ownership.

Money has a time value. For a rigorous comparison, discount each option’s cash flows with NPV — a dollar paid in year 3 costs less than one paid today.

Try it: interactive demo

Live demo

Compare lease and buy.

Lease · Buy ·

Variations

Add lease down payment

Include upfront cash:

=down + payment*months

Finance the purchase

Include loan interest:

=PMT(r/12,n,-price)*n - resale

NPV of each

Discount the cash flows:

=NPV(rate, cashflows)

Pitfalls & errors

Same horizon. Compare equal time periods, or the longer option looks artificially expensive.

Don’t forget residual value. Buying leaves you an asset worth something; ignoring resale overstates the cost of buying.

Include all fees. Lease acquisition/disposition fees and purchase taxes belong in the totals.

Practice workbook

📊
Download the free Lease vs Buy Comparison practice workbook
A lease-vs-buy comparison with down payment, financing, and NPV variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I compare leasing vs buying in Excel?
Lease cost = payment×months (+ fees); buy net cost = price − resale value (+ loan interest if financed). Compare over the same time horizon.
Should I include resale value when buying?
Yes — buying leaves you an asset worth something at the end. Subtract its expected resale/residual value from the purchase price.
How do I account for the time value of money?
Discount each option's cash flows with NPV so payments made later count for less than money spent today.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Calculate a loan payment · Net present value (NPV) · ROI & payback period

Function references: SUM · PMT