Loan Amortization Calculator

Understanding Newton-Raphson, day count conventions, and why real payments differ from textbook formulas.

Spreadsheet vs. Real-World Servicing

Spreadsheets keep full floating-point precision internally and only display 2 decimals. Some servicing systems round to the penny at specific calculation boundaries, while others preserve higher internal precision and round only at presentation or reconciliation points. The important design decision is not whether rounding exists, but where it happens and which value becomes the source of truth.

Newton-Raphson Convergence

The 30/360 formula provides the initial guess. Newton-Raphson adjusts it for actual day counts, then a penny-level search finds the cent value that minimizes the last payment difference.

Penny Search: Last Payment Difference

Each dot is a cent value. The Y axis shows how much the final payment would differ from the standard. The zigzag pattern is caused by penny rounding — you can't just round the Newton-Raphson result.

Amortization Schedule

Why the Final Payment Differs


    Read Next

    How the choice of rounding boundary is a domain decision that belongs in your business layer — not your math library.

    Rounding Is Domain Logic →