Compound interest at a fixed rate
simulate_fixed_rateDeterministic compound growth of monthly contributions (plus an optional starting sum) at a fixed annual return. Returns contributions, gains and total by year, and a compoundsim.app url. Use simulate_portfolio for the range of outcomes of real assets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Years of investing. | |
| initial | No | Starting sum invested at once. | |
| monthly | Yes | Amount invested at the end of every month. | |
| currency | No | Currency of every amount, in and out. In a currency other than USD the paths carry its exchange-rate swings against the dollar (trend removed). Defaults to the language's currency. | |
| language | No | Language of the page the returned url opens; match the user's language. | en |
| annual_return_pct | No | Effective annual return (CAGR), applied as the equivalent monthly rate. | |
| inflation_percent | No | Annual inflation. When given, every amount out is in today's money at this rate; omitted, amounts are nominal. |