{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/compound-interest-calculator/schema.json",
  "title": "Compound Interest Calculator inputs",
  "description": "Project investment growth with regular monthly contributions and selectable compounding.",
  "type": "object",
  "properties": {
    "initial": {
      "title": "Initial investment",
      "type": "number",
      "default": 10000,
      "minimum": 0,
      "x-step": 100,
      "multipleOf": 100,
      "x-unit": "currency"
    },
    "monthly": {
      "title": "Monthly contribution",
      "type": "number",
      "description": "Optional",
      "default": 500,
      "minimum": 0,
      "x-step": 10,
      "multipleOf": 10,
      "x-unit": "currency"
    },
    "annualRate": {
      "title": "Annual return",
      "type": "number",
      "default": 7,
      "minimum": 0,
      "maximum": 30,
      "x-step": 0.1,
      "x-unit": "percent",
      "x-control": "slider-number"
    },
    "years": {
      "title": "Years",
      "type": "number",
      "default": 20,
      "minimum": 1,
      "maximum": 80,
      "x-step": 1,
      "multipleOf": 1
    },
    "frequency": {
      "title": "Compounding",
      "type": "number",
      "default": 12,
      "enum": [
        12,
        4,
        1,
        365
      ],
      "x-optionLabels": {
        "1": "Yearly",
        "4": "Quarterly",
        "12": "Monthly",
        "365": "Daily"
      }
    }
  },
  "required": [
    "initial",
    "annualRate",
    "years",
    "frequency"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.1.0",
    "calculatorUrl": "https://askcalculators.com/calculator/compound-interest-calculator/",
    "queryExample": "https://askcalculators.com/calculator/compound-interest-calculator/?initial=10000&monthly=500&annualRate=7&years=20&frequency=12",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "FV = P(1 + r/m)ᵐᵗ + PMT × [((1 + i)ⁿ − 1) ÷ i]",
      "variables": [
        {
          "symbol": "P",
          "meaning": "initial investment"
        },
        {
          "symbol": "PMT",
          "meaning": "monthly contribution"
        },
        {
          "symbol": "r",
          "meaning": "annual rate"
        },
        {
          "symbol": "m",
          "meaning": "compounding periods per year"
        },
        {
          "symbol": "i",
          "meaning": "equivalent monthly rate"
        }
      ],
      "note": "Monthly contributions are added at the end of each month."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/compound-interest-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": {
      "futureValue": {
        "title": "Future value",
        "type": "number",
        "x-format": "currency",
        "x-primary": true
      },
      "contributions": {
        "title": "Total contributions",
        "type": "number",
        "x-format": "currency"
      },
      "interestEarned": {
        "title": "Growth earned",
        "type": "number",
        "x-format": "currency"
      },
      "growthPercent": {
        "title": "Growth on contributions",
        "type": "number",
        "x-format": "percent"
      }
    }
  }
}
