{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/savings-calculator/schema.json",
  "title": "Savings Calculator inputs",
  "description": "Estimate savings growth and check an optional savings goal.",
  "type": "object",
  "properties": {
    "initial": {
      "title": "Current savings",
      "type": "number",
      "default": 1000,
      "minimum": 0,
      "x-step": 100,
      "multipleOf": 100,
      "x-unit": "currency"
    },
    "monthly": {
      "title": "Monthly deposit",
      "type": "number",
      "description": "Optional",
      "default": 200,
      "minimum": 0,
      "x-step": 10,
      "multipleOf": 10,
      "x-unit": "currency"
    },
    "annualRate": {
      "title": "Annual interest",
      "type": "number",
      "default": 4.5,
      "minimum": 0,
      "maximum": 20,
      "x-step": 0.05,
      "x-unit": "percent",
      "x-control": "slider-number"
    },
    "years": {
      "title": "Years",
      "type": "number",
      "default": 10,
      "minimum": 1,
      "maximum": 80,
      "x-step": 1,
      "multipleOf": 1
    },
    "goal": {
      "title": "Savings goal",
      "type": "number",
      "description": "Optional",
      "minimum": 1,
      "x-step": 100,
      "multipleOf": 100,
      "x-unit": "currency"
    }
  },
  "required": [
    "initial",
    "annualRate",
    "years"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.1.0",
    "calculatorUrl": "https://askcalculators.com/calculator/savings-calculator/",
    "queryExample": "https://askcalculators.com/calculator/savings-calculator/?initial=1000&monthly=200&annualRate=4.5&years=10",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "Balanceₙ = Balanceₙ₋₁ × (1 + r/12) + monthly deposit",
      "note": "Deposits are added at the end of each month."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/savings-calculator.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.1.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Flagship reference cases are specified in scripts/test-v20-1.mjs; consult release evidence for executed results.",
      "historicalMetadataDate": "2026-08-18",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "futureBalance": {
        "title": "Future balance",
        "type": "number",
        "x-format": "currency",
        "x-primary": true
      },
      "totalDeposits": {
        "title": "Total deposits",
        "type": "number",
        "x-format": "currency"
      },
      "interestEarned": {
        "title": "Interest earned",
        "type": "number",
        "x-format": "currency"
      },
      "goalStatus": {
        "title": "Goal",
        "type": "string",
        "x-format": "text"
      }
    }
  }
}
