{
  "schemaVersion": 1,
  "slug": "future-value-calculator",
  "category": "finance",
  "kind": "implementation",
  "independentValidation": false,
  "implementationHash": "99929892d22e66b89509d3a103e7726c5571c89c79b23d7b2a11754179ece7d9",
  "provenance": "Generated from the calculation contract used by the published page. Publication is not external validation.",
  "sourceFiles": [
    "data/calculators/future-value-calculator.json",
    "src/engine.js"
  ],
  "runtimeSource": "/sources/engine.txt",
  "runtimeHash": "5c888d8898afbdee36267bb9977829e1e2ac568f6677c8ee87469c139864645c",
  "scope": "The compute function records implemented equations, constants, lookup tables and custom rules. Inputs record defaults and allowed values; outputs record precision and units. Defaults are examples, not recommendations. General background references are not evidence for this specific algorithm.",
  "publishedFormula": {
    "formula": "FV = PV x (1 + r/100)^t; growth = FV - PV; multiple = FV / PV",
    "vars": [
      [
        "PV",
        "present value"
      ],
      [
        "r",
        "annual interest rate %"
      ],
      [
        "t",
        "years"
      ],
      [
        "FV",
        "future value"
      ],
      [
        "growth",
        "total growth"
      ]
    ],
    "note": "Annual compounding with the rate entered as a percent; the multiple is FV/PV (0 if PV = 0)."
  },
  "externalEvidence": {
    "reviewedAt": "2026-09-28",
    "sources": [
      {
        "name": "Investor.gov — Compound Interest Calculator",
        "url": "https://www.investor.gov/financial-tools-calculators/calculators/compound-interest-calculator"
      }
    ]
  },
  "contract": {
    "compute": "const fv = presentValue*Math.pow(1+rate/100, years); return { futureValue:fv, growth:fv-presentValue, multiple: presentValue>0 ? fv/presentValue : 0 };",
    "inputs": [
      {
        "name": "presentValue",
        "type": "number",
        "default": 10000,
        "min": 0,
        "max": 1000000000,
        "step": 100
      },
      {
        "name": "rate",
        "type": "number",
        "default": 7,
        "min": -50,
        "max": 100,
        "step": 0.01
      },
      {
        "name": "years",
        "type": "number",
        "default": 10,
        "min": 0,
        "max": 100,
        "step": 1,
        "slider": true
      }
    ],
    "outputs": [
      {
        "name": "futureValue",
        "precision": 2,
        "unit": "$"
      },
      {
        "name": "growth",
        "precision": 2,
        "unit": "$"
      },
      {
        "name": "multiple",
        "precision": 2,
        "unit": "x"
      }
    ],
    "interpret": null
  }
}
