{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/how-much-of-a-loan-can-i-afford-calculator/schema.json",
  "title": "How Much of a Loan Can I Afford Calculator inputs",
  "description": "Calculate the maximum loan principal supported by a payment budget, rate, term, and financed fees.",
  "type": "object",
  "properties": {
    "paymentBudget": {
      "title": "Maximum periodic payment",
      "type": "number",
      "default": 500,
      "minimum": 0,
      "x-step": 10,
      "multipleOf": 10,
      "x-unit": "currency"
    },
    "annualRate": {
      "title": "Annual nominal rate",
      "type": "number",
      "default": 7,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.01,
      "x-unit": "percent"
    },
    "paymentsPerYear": {
      "title": "Payments per year",
      "type": "number",
      "default": 12,
      "minimum": 1,
      "maximum": 365,
      "x-step": 1,
      "multipleOf": 1
    },
    "years": {
      "title": "Loan term in years",
      "type": "number",
      "default": 5,
      "minimum": 0.01,
      "maximum": 100,
      "x-step": 0.25
    },
    "financedFeePercent": {
      "title": "Financed fee as % of gross loan",
      "type": "number",
      "default": 0,
      "minimum": 0,
      "maximum": 99.99,
      "x-step": 0.01,
      "x-unit": "percent"
    }
  },
  "required": [
    "paymentBudget",
    "annualRate",
    "paymentsPerYear",
    "years",
    "financedFeePercent"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "1.0.0",
    "calculatorUrl": "https://askcalculators.com/calculator/how-much-of-a-loan-can-i-afford-calculator/",
    "queryExample": "https://askcalculators.com/calculator/how-much-of-a-loan-can-i-afford-calculator/?paymentBudget=500&annualRate=7&paymentsPerYear=12&years=5&financedFeePercent=0",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "present value = payment × [1 − (1+i)^−n] ÷ i; net proceeds = gross loan × (1 − fee%)"
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/how-much-of-a-loan-can-i-afford-calculator.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "1.0.0",
      "referenceCoverage": "references-pending",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "2026-09-01",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "maximumGrossLoan": {
        "title": "Maximum gross loan",
        "type": "number",
        "x-format": "currency",
        "x-primary": true
      },
      "netLoanProceeds": {
        "title": "Estimated net proceeds",
        "type": "number",
        "x-format": "currency"
      },
      "totalPayments": {
        "title": "Total scheduled payments",
        "type": "number",
        "x-format": "currency"
      },
      "totalInterestAndFees": {
        "title": "Payments less net proceeds",
        "type": "number",
        "x-format": "currency"
      },
      "paymentCount": {
        "title": "Number of payments",
        "type": "number",
        "x-format": "integer"
      }
    }
  }
}
