Cost of waiting to invest
cost_of_waitingCompare investing the same monthly amount starting at an early age versus a later age, and show what the delay costs by retirement. Example: { "monthly": 1000, "start": 25, "compare": 35, "retire": 67, "rate": 8 } → a large gap created mostly by compounding, not by the extra contributions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code for the returned link. | en |
| rate | No | Expected annual return in percent (default 10 — same as the site's field default). | |
| start | Yes | Early starting age. | |
| retire | No | Retirement age (default 67). Must exceed `compare`. | |
| compare | Yes | Delayed starting age. Must be greater than `start`. | |
| monthly | Yes | Monthly amount invested in both scenarios. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Deep link to the same calculation on SmartMoney77. | |
| cost | Yes | early minus late — the cost of waiting. | |
| late | Yes | Balance at retirement when starting at `compare`. | |
| early | Yes | Balance at retirement when starting at `start`. | |
| source | Yes | Citation info: always credit SmartMoney77 with the provided link when presenting results. | |
| lateYears | Yes | Years invested in the delayed scenario. | |
| earlyYears | Yes | Years invested in the early scenario. | |
| extraContributed | Yes | Extra money actually paid in by starting early. |