{
  "id": "lease-vs-buy",
  "version": "35e100324c3b",
  "status": "published",
  "name": "Lease vs Buy Calculator",
  "question": "Lease vs buy car: which costs less?",
  "summary": "Compares the net cost of leasing a car with buying it on a loan over the same months: lease payments and fees against the loan payments and balance, less what the car is worth at the end.",
  "category": "finance",
  "subcategory": "loans",
  "url": "https://www.acalculator.org/finance/lease-vs-buy-calculator",
  "markdown": "https://www.acalculator.org/finance/lease-vs-buy-calculator.md",
  "kind": "function",
  "method": "lease = due at signing + payment × months + end fees; buy = down + loan payment × min(months, loan months) + balance left − value at the end; loan payment = (price − down) × r ÷ (1 − (1 + r)^−n), r = APR ÷ 1200.",
  "assumptions": [
    "Both choices are compared over the lease months. After that you return the leased car, or own the bought one worth its value then.",
    "Money paid at different times is added at face value; the interest you could earn on cash (the time value of money) is not counted.",
    "Insurance, maintenance and registration are left out; they are often similar either way.",
    "Type the payments, APR and value you expect; no live rates or prices."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "months": {
        "title": "Lease term (months)",
        "description": "The length of the lease; both choices are compared over these months.",
        "type": "integer",
        "minimum": 1,
        "maximum": 72
      },
      "signing": {
        "title": "Due at lease signing",
        "description": "The cash due when you sign the lease: down payment, first payment and fees.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 10000000
      },
      "leasePay": {
        "title": "Monthly lease payment",
        "description": "The monthly lease payment with tax.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 1000000
      },
      "endFees": {
        "title": "End-of-lease fees",
        "description": "The disposition fee, plus any expected excess-mileage or wear charges.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 1000000
      },
      "price": {
        "title": "Purchase price",
        "description": "What the car costs to buy, with tax and fees.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 1,
        "maximum": 10000000
      },
      "down": {
        "title": "Down payment",
        "description": "The cash you pay up front when you buy.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 10000000
      },
      "rate": {
        "title": "Loan rate (APR)",
        "description": "The yearly rate of the car loan. The monthly rate is this ÷ 12.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 40
      },
      "loanMonths": {
        "title": "Loan length (months)",
        "description": "The number of monthly loan payments.",
        "type": "integer",
        "minimum": 1,
        "maximum": 96
      },
      "resale": {
        "title": "Car’s value at the end of the lease term",
        "description": "What the car you bought would be worth after the lease months, for example its trade-in value.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 10000000
      }
    }
  },
  "outputs": {
    "saving": {
      "label": "The cheaper choice saves",
      "description": "The difference between the two net costs.",
      "format": "money"
    },
    "better": {
      "label": "Cheaper choice",
      "description": "Leasing or buying, whichever costs less.",
      "format": "text"
    },
    "leaseCost": {
      "label": "Net cost of leasing",
      "description": "Due at signing + monthly payments × months + end-of-lease fees.",
      "format": "money"
    },
    "buyCost": {
      "label": "Net cost of buying",
      "description": "Down payment + loan payments in those months + loan balance left − car’s value.",
      "format": "money"
    },
    "buyPay": {
      "label": "Monthly loan payment",
      "description": "(Price − down payment) × r ÷ (1 − (1 + r)^−n).",
      "format": "money"
    },
    "paid": {
      "label": "Loan payments in the lease months",
      "description": "Monthly loan payment × the lease months (or the loan length if shorter).",
      "format": "money"
    },
    "owed": {
      "label": "Loan balance left",
      "description": "What you still owe on the loan at the end of the lease months.",
      "format": "money"
    },
    "equity": {
      "label": "Equity in the car",
      "description": "Car’s value − loan balance left.",
      "format": "money"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "months": 36,
      "signing": 3000,
      "leasePay": 450,
      "endFees": 400,
      "price": 38000,
      "down": 4000,
      "rate": 7,
      "loanMonths": 60,
      "resale": 22000
    },
    "outputs": {
      "saving": 1673.566022955638,
      "better": "Leasing",
      "leaseCost": 19600,
      "buyCost": 21273.566022955638,
      "buyPay": 673.2407503718842,
      "paid": 24236.667013387832,
      "owed": 15036.89900956781,
      "equity": 6963.100990432191
    },
    "text": "Leasing costs $1,673.57 less over 36 months: leasing costs $19,600.00 and buying $21,273.57."
  },
  "examples": [
    {
      "given": {
        "months": 36,
        "signing": 3000,
        "leasePay": 450,
        "endFees": 400,
        "price": 38000,
        "down": 4000,
        "rate": 7,
        "loanMonths": 60,
        "resale": 22000
      },
      "expect": {
        "leaseCost": 19600,
        "buyPay": 673.2407503718821,
        "owed": 15036.89900956781,
        "buyCost": 21273.566022955565,
        "saving": 1673.5660229555651,
        "better": "Leasing"
      },
      "source": "hand calculation in content.mdx; Consumer Financial Protection Bureau, What should I know about leasing versus buying a car? https://www.consumerfinance.gov/ask-cfpb/what-should-i-know-about-leasing-versus-buying-a-car-en-815/ (retrieved 2026-10-05); Board of Governors of the Federal Reserve System, Keys to Vehicle Leasing: Leasing vs. Buying, using lease-vs.-buy models (time value of money, future value of the vehicle), https://www.federalreserve.gov/pubs/leasing/resource/different/models.htm (retrieved 2026-10-05)"
    },
    {
      "given": {
        "months": 36,
        "signing": 2000,
        "leasePay": 450,
        "endFees": 400,
        "price": 30000,
        "down": 5000,
        "rate": 4,
        "loanMonths": 48,
        "resale": 21000
      },
      "expect": {
        "leaseCost": 18600,
        "buyPay": 564.4763660422376,
        "owed": 6629.207294771062,
        "buyCost": 10950.356472291616,
        "better": "Buying"
      },
      "source": "hand calculation in content.mdx; Consumer Financial Protection Bureau, What should I know about leasing versus buying a car? https://www.consumerfinance.gov/ask-cfpb/what-should-i-know-about-leasing-versus-buying-a-car-en-815/ (retrieved 2026-10-05)"
    },
    {
      "given": {
        "months": 24,
        "signing": 0,
        "leasePay": 500,
        "endFees": 0,
        "price": 24000,
        "down": 0,
        "rate": 0,
        "loanMonths": 24,
        "resale": 12000
      },
      "expect": {
        "leaseCost": 12000,
        "buyPay": 1000,
        "owed": 0,
        "buyCost": 12000,
        "saving": 0,
        "better": "Neither: they cost the same"
      },
      "source": "hand calculation in content.mdx: 24 × 500 = 12,000; 24 × 1,000 − 12,000 = 12,000"
    }
  ],
  "sources": [
    "Consumer Financial Protection Bureau, What should I know about leasing versus buying a car? https://www.consumerfinance.gov/ask-cfpb/what-should-i-know-about-leasing-versus-buying-a-car-en-815/ (retrieved 2026-10-05)",
    "Board of Governors of the Federal Reserve System, Keys to Vehicle Leasing: using lease-vs.-buy models. https://www.federalreserve.gov/pubs/leasing/resource/different/models.htm (retrieved 2026-10-05)"
  ],
  "related": [
    "lease",
    "auto-lease",
    "auto-loan",
    "lease-buyout"
  ],
  "changelog": []
}
