TSP Loan Calculator
This works out a Thrift Savings Plan loan on the plan's own terms. Enter the amount, the loan type, the term and the G Fund rate it is priced at, and it returns the payroll deduction per pay period, the total repaid and the interest, which goes back into your own account rather than to a lender. Give it the return you expect from your funds and it compares what the borrowed money would have earned against what the repayments earn once they are back in, because that difference, not the interest, is the real cost. A second action applies the three published tests that set the maximum: your own contributions, half the vested balance or ten thousand dollars, and fifty thousand less your highest loan balance of the last twelve months.