{"uid":"cap_HFuhNbCAxbAwRd-7GHzLp","slug":"finance-calculators-compound-interest-be4bad1a","name":"Finance Calculators – Compound Interest","description":"Future value of savings with compounding and monthly contributions: balance, contributions, interest earned, by year.","url":"https://finance-calculators.x402tookit.com/compound-interest?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["principal","annual_rate_pct","years"],"properties":{"years":{"type":"number","description":"Years"},"principal":{"type":"number","description":"Starting amount"},"annual_rate_pct":{"type":"number","description":"Annual rate in percent"},"compounds_per_year":{"type":"integer","description":"Default 12"},"monthly_contribution":{"type":"number","description":"Added each month, default 0"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"byYear":{"type":["array","null"],"items":{"type":"object","properties":{"year":{"type":["null","number"]},"balance":{"type":["null","number"]}}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"futureValue":{"type":["null","number"]},"interestEarned":{"type":["null","number"]},"totalContributed":{"type":["null","number"]},"multipleOfContributions":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hEtl1KMjnoUygsDpSPjmk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the future value of savings with compound interest and optional monthly contributions, returning year-by-year balance, total contributions, and interest earned.","exampleAgentPrompt":"How much will my $5,000 savings grow to in 10 years at 6% annual interest compounded monthly, if I also add $150 each month? Show me the year-by-year breakdown.","exampleUseCases":[{"title":"Retirement nest egg projection","prompt":"I'm starting retirement savings now with $10,000 and plan to contribute $400 a month. Assuming a 7% annual return compounded monthly, how much will I have in 30 years — and how much of that is interest vs. what I actually put in?"},{"title":"College fund planning","prompt":"If I open a college fund today with $2,500 and add $100 every month at 5% annual interest compounded monthly, what will the balance be year by year over the next 18 years?"},{"title":"Evaluating a one-time investment","prompt":"I have $25,000 to invest as a lump sum at 4.5% annual interest compounded quarterly, with no monthly additions. What will it be worth in 20 years, and how much of that is pure interest earned?"}],"resultDescription":"Returns a structured object with: the final future value, total amount contributed, total interest earned, a multiple-of-contributions ratio, and a byYear array showing the running balance for each year of the investment horizon.","failureModes":["Missing required parameters (principal, annual_rate_pct, or years) returns an error","Negative or zero values for principal or years may produce undefined or error responses","Extremely large year values or rates may produce impractical outputs","Non-numeric query parameters result in validation errors"],"whenToPreferThis":"Choose this endpoint when you need a precise mathematical projection of savings growth over time with optional recurring contributions and configurable compounding frequency. It returns a full year-by-year breakdown, making it ideal for planning dashboards, retirement projections, or educational financial tools. Prefer it over generic calculators when you need the byYear series or the contributions-vs-interest breakdown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:30:17.893Z","isFirstParty":false,"canonicalSlug":"finance-calculators-compound-interest-be4bad1a"}