calculate_401k_loan_cost
True cost of a 401(k) loan
Runs the 401k.loans true-cost calculator: payment per paycheck and number of payments, total repaid and interest, pre-tax pay needed per payment, tax later on the interest, the 401(k) balance at payoff with and without the loan (growth gap) and that gap at 65, the legal and usual plan borrowing limits, and, if you might leave the job, the balance owed then plus the tax and 10% additional tax if it is not repaid or rolled over.
ageyearsloan_amount必填pay_frequencyplan_rate_pctstate_tax_pctvested_balance必填assumed_return_pctfederal_bracket_pctleave_job_after_monthslost_match_per_paycheckpaused_contribution_per_paycheck