Compound Interest Calculator
calc_interestRead-onlyIdempotent
Calculate compound interest for investments.
Formula: A = P(1 + r/n)^(nt) Where:
P = principal amount
r = annual interest rate (as decimal)
n = number of times interest compounds per year
t = time in years
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | Annual interest rate as decimal 0.0-1.0 (e.g. 0.05 = 5%). If entering a percentage, divide by 100 first. | |
| time | Yes | Investment time in years (must be > 0), e.g. 10.0 | |
| principal | Yes | Initial investment amount in dollars (must be > 0), e.g. 1000.0 | |
| compounds_per_year | No | Compounding frequency per year (must be > 0): 12=monthly, 365=daily |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | ||
| time | Yes | ||
| topic | Yes | ||
| formula | Yes | ||
| principal | Yes | ||
| difficulty | Yes | ||
| final_amount | Yes | ||
| total_interest | Yes | ||
| compounds_per_year | Yes |