Home › Templates › Car lease vs buy spreadsheet

Car Lease vs Buy Spreadsheet

A free spreadsheet for Excel and Google Sheets that compares a car lease with buying on a loan. Type in the lease offer and the loan terms, and it works out the monthly lease payment from the money factor and residual, the loan payment, the total and net cost of each option over 1 to 10 years (including re-leasing, the return your cash could have earned and the car's resale value), and the year buying starts to cost less.

Download Excel template (.xlsx) 68 KB · no macros · Excel 2016+ and Google Sheets · v1.0, 5 Nov 2026

Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. No sign-up and no add-in.

Preview: the Example tab. The car, the lease offer, the loan and the depreciation rates are fictional (the loan APR is set near the Federal Reserve's August 2026 average, see below).
$509.22lease payment a month, 36 months, tax included
$648.14loan payment a month, 60 months at 7.54%
$48,432 vs $38,243net cost over 6 years: lease vs buy
Year 4first year-end when buying costs no more than leasing
$0k$20k$40k$60k$80k12345678910horizon: 6 yearsYears from today

Lease: net cost (36-month leases back to back)Buy: net cost (after resale)

What's inside the spreadsheet

TabWhat you typeWhat it calculates
Start hereNothingSteps, the lease formula, the four sales tax methods, how the comparison works, limits, disclaimer
CalculatorLease: MSRP, agreed price, acquisition fee (capitalized or paid at signing), other capitalized amounts, cash down, rebates, residual %, money factor or APR, term, sales tax rate and method, fees at signing, disposition fee, mileage allowance, overage fee per mile. Buy: price, rebates, down payment, sales tax, fees, roll tax and fees into the loan (Yes/No), loan APR and term, year-1 and later depreciation %, extra yearly ownership cost. Shared: miles per year, horizon (1 to 10 years), return on cash, price change per new leaseAn input check that names the cell to fix; cap costs, residual, depreciation fee, rent charge, tax, monthly lease payment, due at signing, mileage overage, total cash per lease; amount financed, loan payment, total interest; at your horizon: cash paid, opportunity cost, loan payoff, resale value and net cost of each option, the cheaper one, the break-even year and the break-even resale value; a 10-year table, a native line chart and a 121-month schedule
ExampleNothing (or change any yellow cell)The same sheet filled with a fictional offer
SummaryNothingYour Calculator results next to the Example

How to use it

  1. Ask the dealer for the lease worksheet, not just the monthly payment. You need the MSRP, the agreed price (gross cap cost), the residual value or %, the money factor, the term, the fees and the mileage terms. The CFPB lists the money factor, vehicle cost, down payment, mileage limit and purchase option among the lease terms you can negotiate (CFPB).
  2. On the Calculator tab, fill in the lease inputs in B5:B21. If the dealer quotes an APR instead of a money factor, leave B13 blank and type the APR in B14.
  3. Fill in the buy inputs in E5:E16: the price you could pay, your down payment, the loan APR and term from a lender's quote, and how fast you expect the car to lose value.
  4. Set the shared inputs: miles you drive a year, the horizon in years, the return your cash could earn elsewhere (for example a savings rate) and an expected price change for each new lease.
  5. Check that B3 says OK, then read E3 (the verdict), the results from row 25 and the year-by-year table from row 67. The chart shows both net costs for 1 to 10 years.
  6. Try different horizons. A lease that looks cheaper over 3 years can cost more over 6 or 9, once you re-lease and the bought car is paid off.

The formulas, explained

The lease payment, the standard way

The Federal Reserve's consumer guide Keys to Vehicle Leasing lists five parts of a lease payment: depreciation, amortized amounts in the gross cap cost, the rent charge, sales or use tax, and other fees (Fed, Monthly payments). The depreciation part is "the difference between the adjusted capitalized cost and the vehicle's residual value" (Fed, Depreciation). The rent charge: "the money factor is multiplied by the sum of the adjusted capitalized cost and the residual value", with the Fed's example ".00354 x ($18,800 + $12,350) = $110.27" (Fed, Rent charge). The spreadsheet reproduces that example to the cent. The same terms appear on the federal lease disclosure form under Regulation M (12 CFR 1013.4).

Money factor ↔ APR. APR in percent ≈ money factor × 2,400, so 0.00250 ≈ 6.0%. The rent charge applies the money factor to the cap cost plus the residual, about twice the average balance, so money factor × 2 × 12 × 100 gives the approximate annual rate. In the sheet, where 6% is stored as 0.06, the same rule is money factor × 24 and APR ÷ 24. The Fed cautions that the money factor "is not a lease rate and cannot be converted to a lease rate by moving the decimal point", so treat the APR equivalent as a way to compare offers, not a disclosed rate.

Sales tax. The Fed says the tax in the payment depends on the state or county and that "In most states, this monthly tax replaces the initial sales tax on the purchase price of a vehicle." It also lists tax on any cap cost reduction among possible up-front costs (Fed, Up-front costs). The sheet offers four methods: Monthly payment, Monthly payment + down (also taxes the cap cost reductions at signing), Upfront on price (tax on the agreed price at signing, none monthly) and None. Check which rule applies where the car will be registered.

Exact formulas from the Calculator tab (B3 is the input check; every result stays blank until it says OK):

FieldFormula
Money factor used (B25)=IF($B$3<>"OK","",IF(ISNUMBER($B$13),$B$13,$B$14/24))
Gross capitalized cost (B27)=IF($B$3<>"OK","",$B$6+IF($B$8="Capitalized",N($B$7),0)+N($B$9))
Adjusted capitalized cost (B29)=IF($B$3<>"OK","",$B$27-$B$28)
Residual value (B30)=IF($B$3<>"OK","",$B$5*$B$12)
Depreciation fee (B31)=IF($B$3<>"OK","",($B$29-$B$30)/$B$15)
Rent charge (B32)=IF($B$3<>"OK","",($B$29+$B$30)*$B$25)
Sales tax per month (B34)=IF($B$3<>"OK","",IF(OR($B$17="Monthly payment",$B$17="Monthly payment + down"),$B$33*N($B$16),0))
Monthly lease payment (B35)=IF($B$3<>"OK","",$B$33+$B$34)
Amount financed (E27)=IF($B$3<>"OK","",$E$5-N($E$6)-N($E$7)+IF($E$10="Yes",$E$25+N($E$9),0))
Monthly loan payment (E28)=IF($B$3<>"OK","",IF($E$27<=0,0,IF(N($E$11)=0,$E$27/$E$12,PMT($E$11/12,$E$12,-$E$27))))
Resale value, year 1 row (I67)=IF($B$3<>"OK","",$E$5*(1-$E$13)*(1-$E$14)^(A67-1))
Buy cash grown at the return on cash, month 1 (L82)=IF($B$3<>"OK","",L81*(1+$E$33)+J82)
Break-even year (B60)=IF($B$3<>"OK","",IFERROR(MATCH(1,$M$67:$M$76,0),"None within 10 years"))
Break-even resale value (B61)=IF($B$3<>"OK","",IF($B$53+$B$54+$B$55-$B$52<=0,"Any: buying wins even at $0",$B$53+$B$54+$B$55-$B$52))

The buy side

Amount financed = price − rebates − down payment, plus sales tax and fees if you roll them into the loan. The monthly payment is Excel's PMT(APR/12, months, −amount), or amount ÷ months at 0%. The loan balance is carried month by month. Resale value after y years = price × (1 − year-1 depreciation) × (1 − later depreciation)y−1. Both rates are your assumptions: look up used prices of the same model at 1, 3 and 5 years old to set them. An optional extra cost per year (repairs after the warranty, for example) starts in the year you choose.

Total cost, opportunity cost and net cost

Each option is a list of dated payments. Lease payments are due at the start of each month (the Fed notes that the first is "typically due at lease signing"); cash down, fees and up-front tax at the start of each lease; the disposition fee and mileage overage at the end. A horizon longer than the term re-leases the same car on the same terms, with every amount changed by the price change you set. The Fed notes that a new lease gets its own disclosures and terms (Fed, Re-leasing), so this is a simplification. Loan payments are due at the end of each month.

The opportunity cost is the return that money could have earned: every payment is grown to the horizon at the monthly equivalent of your annual rate, (1 + rate)1/12 − 1. Net cost = cash paid + opportunity cost, plus (buy only) any loan balance still owed, minus the resale value. The option with the lower net cost is cheaper. The break-even year is the first year-end at which buying costs no more than leasing. The break-even resale value is the resale price at which both options tie at your horizon.

Worked example (fictional numbers)

The Example tab compares a $36,000 MSRP car with an agreed price of $34,500.

Lease: $650 acquisition fee capitalized, $2,000 cash down, 58% residual, money factor 0.00250 (6.0% APR equivalent), 36 months, 7% tax on the payment, $400 fees at signing, $395 disposition fee, 12,000 miles a year (and 12,000 driven).

Buy: same $34,500 price, $5,000 down, 7% sales tax ($2,415) and $400 fees rolled into a 60-month loan at 7.54%: $32,315.00 financed, $648.14 a month, $6,573.44 of interest. Assumed depreciation: 20% in year 1, 12% a year after that; $600 a year of extra repairs from year 4. Cash could earn 4% a year; each new lease costs 2% more.

At 6 years (two full leases): leasing costs $42,677 in cash plus $5,756 of lost return = $48,432. Buying costs $45,688 in cash plus $7,120 of lost return, minus a resale value of $14,565 = $38,243. Buying costs $10,189 less. It would still win down to a resale value of $4,376.

At 3, 6 and 9 years the answer changes. Over 3 years, one lease ($22,581) beats buying ($23,369), because the car loses most of its value early and the loan still has $14,397 to pay. From year 4 the loan balance is small, the lease cycle starts again and buying pulls ahead:

YearLease: cash paidLease: net costBuy: cash paidLoan balanceResale valueBuy: net costCheaper
3$21,127$22,581$28,333$14,397$21,373$23,369Leasing
6$42,677$48,432$45,688$0$14,565$38,243Buying
9$64,657$77,972$47,488$0$9,926$51,350Buying

The full 10-year table on the Example tab:

YearLease: cash paidLease: net costBuy: cash paidLoan balanceResale valueBuy: net costCheaper
1$8,511$8,738$12,778$26,785$27,600$12,305Leasing
2$14,621$15,330$20,555$20,824$24,288$18,099Leasing
3$21,127$22,581$28,333$14,397$21,373$23,369Leasing
4$29,808$32,397$36,711$7,469$18,809$28,739Buying
5$36,041$40,060$45,088$0$16,552$33,649Buying
6$42,677$48,432$45,688$0$14,565$38,243Buying
7$51,531$59,461$46,288$0$12,818$42,703Buying
8$57,889$68,334$46,888$0$11,279$47,062Buying
9$64,657$77,972$47,488$0$9,926$51,350Buying
10$73,689$90,364$48,088$0$8,735$55,592Buying

Rates and fees to check against

Common mistakes

Limits

FAQ

Is it cheaper to lease or buy a car?

It depends on how long you keep the car, the money factor and residual, the loan rate, how fast the car loses value and what your cash could earn. Leasing usually costs less per month and over the first few years, because you pay only for the depreciation during the lease plus a rent charge. Buying usually wins the longer you keep the car, because the loan ends and the car still has a resale value. In the fictional example here, leasing costs less at the end of years 1 to 3 and buying costs less from year 4 on. Type your own offer into the spreadsheet to see where your break-even falls.

How is a monthly lease payment calculated?

Base payment = depreciation fee + rent charge. Depreciation fee = (adjusted capitalized cost − residual value) ÷ number of months. Rent charge = (adjusted capitalized cost + residual value) × money factor, the method the Federal Reserve's consumer leasing guide describes. Sales tax is then added in most states, usually on each monthly payment. In the example: ($33,150.00 − $20,880.00) ÷ 36 = $340.83, plus ($33,150.00 + $20,880.00) × 0.00250 = $135.07, plus 7% tax = $509.22 a month.

How do you convert a money factor to an interest rate?

Multiply the money factor by 2,400 to get an approximate APR in percent: 0.00250 × 2,400 = 6.0%. Divide an APR by 2,400 to go the other way. It works because the rent charge applies the money factor to the adjusted cap cost plus the residual, which is about twice the average balance. The Federal Reserve notes that the money factor is not a lease rate and cannot be converted by moving the decimal point, and it is often not disclosed, so ask the dealer for it.

Do you pay sales tax on a car lease?

Usually yes, but on less than the full price. The Federal Reserve's leasing guide says the tax included in the lease payment is set by the state or county where the car is registered and that "In most states, this monthly tax replaces the initial sales tax on the purchase price of a vehicle." Some places also tax the down payment at signing, and some tax the full price up front. The spreadsheet has four tax methods so you can match your state's rule.

What happens if you go over the mileage on a lease?

You pay an overage charge for each mile over the allowance when you return the car. The CFPB says most leases cap mileage at roughly 10,000 to 15,000 miles a year. The Federal Reserve's guide (last updated in 2003) says excess mileage charges "can range from 10 cents to 25 cents per mile or more". Check the per-mile fee in your own contract; buying extra miles up front, if the lessor offers it, is often cheaper.

Does this car lease vs buy spreadsheet work in Google Sheets?

Yes. In Google Sheets choose File → Import → Upload and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. It uses only standard functions (ABS, AND, IF, IFERROR, INDEX, INT, ISNUMBER, MATCH, MAX, MOD, N, NOT, OR, PMT, ROUNDUP, SUM, TEXT) that exist in Excel 2016+, Google Sheets and LibreOffice. No macros, no add-in, no sign-up.

Related tools and templates

Educational template only, not financial, tax or legal advice. Example data is fictional: the car, prices, residual, money factor, fees, depreciation rates and return on cash are made up to show the formulas; the loan APR is set near the Fed's published August 2026 average. Lease formulas and quotes come from the Federal Reserve Board's Keys to Vehicle Leasing guide and Regulation M (12 CFR 1013.4); consumer guidance from the CFPB; rates from the Fed's G.19 release of October 7, 2026; all retrieved on 5 November 2026. Lease terms, tax rules and fees vary by lessor and state.