For example, your limit is 15500. If you go with 401K, that is your limit. With Roth 401K, you paid your tax upfront, say 33%. You effectively saved 15500*1.33.
Your formula of comparison should should include this factor.
Your formula of comparison should should include this factor.