finance

Use this when you need to project a principal's growth under compound interest, optionally with recurring monthly contributions, returning the final balance and a year-by-year breakdown rather than estimating compound growth yourself.

Use this when you need to project a principal's growth under compound interest, optionally with recurring monthly contributions, returning the final balance and a year-by-year breakdown rather than estimating compound growth yourself. Iterates month-by-month for accuracy; contributions are added at the start of each month; compoundingPerYear defaults to 12. annualRate is a percent; years is 1-200. Deterministic: same input, same output. Example: principal 10000, annualRate 7, years 10, monthlyContribution 500 -> finalBalance 107143.85, totalContributions 70000, totalInterest 37143.85, with a 10-row schedule (one per year).

post/v1/compound_interest

Request

  • Base URL: https://api.clean.tools
  • URL: https://api.clean.tools/v1/compound_interest
  • Auth: none declared

Request body

principalnumber required

Starting principal (>= 0).

annualRatenumber required

Annual interest rate as a percent.

yearsinteger required

Number of years.

compoundingPerYearinteger

Compounding periods per year (default 12).

monthlyContributionnumber

Amount added at the start of each month (default 0).

Response

Structured tool result.

toolstring

Changes

No recorded changes to this operation across all 1 revision of this API.