Solid: with your extras. Dashed: the regular schedule. The gap is money that stays yours. Hover any month.
Interest accrues monthly at APR ÷ 12 on the remaining balance. Your required payment lands each month; the extra amount and the one-time payment go straight to principal. The regular schedule (dashed) is the same loan with no extras — the difference between the two paths is your saving.
A planning estimate. Some loans compute interest daily rather than monthly — the difference is small. Prepayment penalties are rare on US personal, auto and federal student loans, but check your agreement. If your payment does not even cover the first month’s interest, the balance grows — the verdict will warn you.
each month: interest = balance × APR ÷ 12
balance = balance + interest − payment − extra
one-time payment lands in month 1
saving = interest on the regular schedule − interest on your plan