{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/uk/lease-vs-buy/schema.json",
  "title": "Vehicle Lease Versus Buy Calculator — United Kingdom inputs",
  "description": "Compare equal ownership periods while accounting for the outstanding purchase loan and the lease distance allowance. GBP planning view; stated limitations apply.",
  "type": "object",
  "properties": {
    "unitSystem": {
      "title": "Measurement system",
      "type": "string",
      "default": "metric",
      "enum": [
        "imperial",
        "metric"
      ],
      "x-optionLabels": {
        "imperial": "Imperial (US gallons / short tons where relevant)",
        "metric": "Metric"
      }
    },
    "months": {
      "title": "Comparison horizon, months",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 36,
      "minimum": 1,
      "maximum": 1200,
      "x-step": 1,
      "multipleOf": 1
    },
    "buyPrice": {
      "title": "Purchase price including purchase taxes/fees",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 30000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "GBP",
      "x-unit": "currency"
    },
    "buyDownPayment": {
      "title": "Purchase down payment",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 5000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "GBP",
      "x-unit": "currency"
    },
    "loanRate": {
      "title": "Purchase loan annual nominal rate",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 6,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "loanMonths": {
      "title": "Purchase loan term, months",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 60,
      "minimum": 1,
      "maximum": 1200,
      "x-step": 1,
      "multipleOf": 1
    },
    "resale": {
      "title": "Expected sale proceeds at comparison horizon",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 20000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "GBP",
      "x-unit": "currency"
    },
    "leaseUpfront": {
      "title": "Nonrefundable lease cash at signing",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 2000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "GBP",
      "x-unit": "currency"
    },
    "leaseMonthly": {
      "title": "Monthly lease payment including stated taxes",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 400,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "GBP",
      "x-unit": "currency"
    },
    "leaseEndFees": {
      "title": "Expected lease-end/disposition/condition fees",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 500,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "GBP",
      "x-unit": "currency"
    },
    "distance": {
      "title": "Total distance driven during comparison",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 45000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-suffix": "km"
    },
    "leaseAllowance": {
      "title": "Total permitted lease distance during comparison",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 36000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-suffix": "km"
    },
    "excessRate": {
      "title": "Lease excess-distance charge per distance unit",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0.15,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-prefix": "GBP",
      "x-suffix": "/km",
      "x-unit": "currency"
    }
  },
  "required": [
    "months",
    "buyPrice",
    "buyDownPayment",
    "loanRate",
    "loanMonths",
    "resale",
    "leaseUpfront",
    "leaseMonthly",
    "leaseEndFees",
    "distance",
    "leaseAllowance",
    "excessRate"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.16.0",
    "calculatorUrl": "https://askcalculators.com/uk/lease-vs-buy/",
    "queryExample": "https://askcalculators.com/uk/lease-vs-buy/?unitSystem=metric&months=36&buyPrice=30000&buyDownPayment=5000&loanRate=6&loanMonths=60&resale=20000&leaseUpfront=2000&leaseMonthly=400&leaseEndFees=500&distance=45000&leaseAllowance=36000&excessRate=0.15",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "purchase cost at exit = down payment + loan payments made + remaining loan − sale proceeds.",
      "note": "Inputs are converted to canonical units before evaluating this stated formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/v20-uk-lease-vs-buy.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.16.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "loanPayment": {
        "title": "Purchase loan monthly payment",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2
      },
      "remainingLoan": {
        "title": "Purchase loan balance at horizon",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2
      },
      "buyCost": {
        "title": "Purchase cash paid plus loan balance minus sale proceeds",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2
      },
      "leaseCost": {
        "title": "Entered lease cash and excess-distance cost",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2
      },
      "leaseMinusBuy": {
        "title": "Lease cost minus purchase cost",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2,
        "x-primary": true
      }
    }
  }
}
