Roth vs traditional retirement accounts
Compares a Roth and a traditional retirement account at the same pre-tax annual contribution: the Roth invests what is left after tax today and is tax free at withdrawal, the traditional invests the full amount and is taxed at the retirement rate. Reports the winner, both after-tax values, and the tax each side pays. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.
get/api/v1/calculate/roth-vs-traditional
Request
- Base URL: https://everycalc.xyz
- URL: https://everycalc.xyz/api/v1/calculate/roth-vs-traditional
- Auth: none declared
Query parameters
agenumber
Current age in years.
retirement_agenumber
Retirement age in years.
annual_contributionnumber required
Annual contribution before tax, in USD.
annual_return_pctnumber
Expected annual return percent.
current_tax_rate_pctnumber
Current marginal tax rate percent.
retirement_tax_rate_pctnumber
Expected tax rate in retirement percent.
Response
Calculation result.
Changes
No recorded changes to this operation across all 1 revision of this API.