Student Loan Payment Allocation

Enter your loans and available extra payment to compare three allocation strategies.

Extra Payment
Loans
Loan Name Principal ($) Accrued Interest ($) Rate (%) Term (months)

About the Strategies
Overall Payment Reduction
Greedy fractional allocation — pays accrued interest first (highest rate first), then applies remainder to principal.
Monthly Payment Reduction (0/1 Knapsack)
Brute-force subset search to fully pay off the best combination of loans within the budget, maximizing monthly savings.
Fractional Monthly Payment Reduction
Allocates fractionally based on marginal benefit (monthly payment saved per dollar) using the amortization formula.