Roth vs 401(k) Comparison

Compare the after-tax future value of a Roth IRA (after-tax contributions) vs a Traditional 401(k) (pre-tax contributions with tax on withdrawal).

Amount you plan to contribute each year.
Your current age.
Age at which you will withdraw.
Expected annual investment return.
Your marginal tax rate now.
Expected tax rate in retirement.