Compound interest calculator
Compound interest calculator. Future value of savings or an investment with compound interest: starting amount, annual rate, years, compounding (yearly, quarterly, monthly or daily) and an optional contribution at the end of each month. Returns the final balance, total contributed, interest earned and the balance after each year. Use for savings goals and investment what-ifs; rates are assumed constant.
Answeringour last check, 2026-10-24
1 of 1checks answered this week
21 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agent-data-tools.revmesh2074.workers.dev/calc/compound-interest
| Category | Market data |
|---|---|
| Provider host | agent-data-tools.revmesh2074.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-24 | valid payment request | 402 | $0.01 | 21 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"principal": 10000,
"rate": 7,
"years": 10
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"compound": {
"description": "yearly, quarterly, monthly (default) or daily",
"examples": [
"monthly"
],
"type": "string"
},
"monthly": {
"description": "Contribution at the end of each month (default 0)",
"examples": [
200
],
"type": "number"
},
"principal": {
"description": "Starting amount (0 or more)",
"examples": [
10000
],
"type": "number"
},
"rate": {
"description": "Annual interest rate in percent, -50 to 100",
"examples": [
7
],
"type": "number"
},
"years": {
"description": "Years, up to 100",
"examples": [
10
],
"type": "number"
}
},
"required": [
"principal",
"rate",
"years"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"byYear": {
"items": {
"properties": {
"balance": {
"type": "number"
},
"year": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"futureValue": {
"type": "number"
},
"interestEarned": {
"type": "number"
},
"totalContributions": {
"type": "number"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}