Skip to content

Loan Payment Formula: The Maths Explained for Students

The loan payment formula explained for students: where it comes from, a worked example, and how term and rate change total interest.

Many students take their first loan before they take a finance class. The lender quotes a fixed monthly amount, and the borrower signs. Yet few people can say where that number comes from. The loan payment formula answers that question with a little algebra. It links the amount borrowed, the interest rate and the number of payments. Once you see how it works, a loan stops being a black box. This article builds the formula step by step. It then follows one loan from the first payment to the last.

What a Loan Payment Is Made Of

Every fixed-payment loan rests on four quantities that you can name. First comes the principal, the amount you borrow at the start. Next, the interest rate is the yearly price of borrowing, written as a percentage. The term, in turn, is the length of time you have to repay. Finally, the payment frequency says how often you pay, which is usually once a month. For the maths, the yearly rate becomes a monthly rate. So a 6 percent yearly rate becomes 0.5 percent per month. Likewise, a five-year term becomes sixty monthly payments.

*Concept: ENTECH. Drawn by ENTECH.

Illustration of four tiles naming the inputs of a loan payment: principal borrowed, yearly interest rate, term of the loan and how often payments are made
Fig. 1: The four inputs of a loan payment.

Each payment then does two jobs at once. First, it covers the interest that built up since the last payment. Second, whatever is left over reduces the principal you owe. This split is the heart of an amortizing loan. The US consumer finance agency describes this pattern in its guide to amortization. Early payments go mostly to interest, while later payments go mostly to principal. The payment itself stays the same throughout, but its parts shift every month. The rest of this article explains why that shift happens.

Simple and Compound Interest

Interest on borrowed money can grow in two different ways. Simple interest is charged only on the original principal. So a loan of 1,000 at 10 percent a year costs 100 each year. Compound interest, by contrast, is charged on the principal plus any unpaid interest. In that case the cost grows a little faster each period. Most installment loans charge interest on the balance that is still owed. Because each payment clears that period’s interest, the balance itself does not compound. Instead, the interest charge falls as the balance falls. This is why the timing of payments matters so much. A 2023 paper on interest rate applications sets out both formulas in full.

The Loan Payment Formula

The standard loan payment formula is short enough to write on one line. It reads M = P × r ÷ (1 − (1 + r)^−n). Here M is the fixed monthly payment. P is the principal, and r is the monthly rate as a decimal. The letter n is the total number of payments. For a yearly rate of 6 percent, r is 0.06 ÷ 12, or 0.005. The result M is the fixed amount that clears the loan exactly on time.

*Concept: ENTECH. Drawn by ENTECH.

The loan payment formula M equals P times r over one minus one plus r to the minus n, with labels for payment, principal, rate per period and number of payments
Fig. 2: The loan payment formula, term by term.

Each part of the formula has a clear meaning. The top line, P × r, is one month’s interest on the full principal. The bottom line is always less than one. So M is always larger than the first month’s interest. Therefore every payment covers the interest and also cuts the balance. As n grows, the bottom line moves closer to one. As a result, very long loans have payments that come close to interest alone. That is why a long term can feel cheap each month but cost more overall.

Where the Formula Comes From

The formula comes from one simple and useful idea. After the last payment, the balance must be exactly zero. Consider what the lender is owed over time. The principal grows by a factor of (1 + r) every month. Meanwhile, each payment counts as if it earned interest from its date. The first payment earns interest for n minus one months, and the last earns none. So the growing debt must equal the growing value of all the payments.

Written out, the payments form a geometric series. Its terms run from 1 up to (1 + r)^(n − 1). The sum of that series is ((1 + r)^n − 1) ÷ r. So P × (1 + r)^n must equal M times that sum. Solving this one equation for M yields the loan payment formula above. In other words, the formula is a geometric series from school algebra. Nothing in it is a trick of the lender. Recent work on amortizing loans under general discounting extends the same idea further.

A Worked Example

Now try a real case in any currency. Suppose a student borrows 10,000 at 6 percent a year for five years. Then r equals 0.005 and n equals 60. First, (1.005) to the power of 60 is about 1.3489. Its inverse is about 0.7414, so the bottom line is about 0.2586. Next, the top line is 10,000 times 0.005, which is 50. Dividing 50 by 0.2586 gives a monthly payment of about 193.33. You can check the same figures with a loan calculator.

Sixty payments of 193.33 add up to about 11,600 in total. So the borrower repays the 10,000 principal and about 1,600 in interest. That interest figure is the true cost of the loan at this rate. It also shows why the payment alone can mislead. A payment of 193 sounds small to most borrowers. Yet the full repayment is 16 percent more than the sum borrowed. Comparing totals, not just monthly amounts, gives a clearer view of any loan.

The Amortization Schedule

An amortization schedule lists every payment and how it is split. It is simple to build by hand for the first few rows. Each month, multiply the current balance by r to find the interest. Then subtract that interest from the payment to find the principal part. Finally, subtract the principal part from the balance and repeat. Table 1 shows selected rows for the example loan above. The full schedule for this loan would have sixty rows. A spreadsheet can fill them in a few seconds.

Table 1: Selected rows of the example schedule
MonthPaymentInterestPrincipalBalance after
1193.3350.00143.339,856.67
2193.3349.28144.049,712.63
3193.3348.56144.769,567.86
30193.3327.70165.635,373.37
58193.332.87190.46383.78
59193.331.92191.41192.37
60193.330.96192.370.00

Source: ENTECH calculation for a loan of 10,000 at 6 percent a year over 60 months.

The pattern in Table 1 is easy to see. In month one, interest takes 50.00 of the payment and principal gets 143.33. By month thirty, interest has fallen to 27.70 and principal has risen to 165.63. In the final month, interest is only 0.96 and principal is 192.37. Figure 3 traces that shift across all sixty months of the loan. Each bar shows the same payment, split into its two parts. The crossover is gradual, because interest only falls as fast as the balance falls.

*Data: ENTECH calculation for the example loan. Drawn by ENTECH.

Stacked bar chart of 60 monthly payments of 193.33, where the interest share shrinks from 50 to under 1 and the principal share grows each month
Fig. 3: Interest and principal in each payment.

The chart also hides a surprise about the halfway point. Half of the loan term ends after thirty payments. Yet the balance drops below half the principal only after payment thirty-three. Over the first year, the borrower pays about 2,320 in total. Of that amount, about 552 goes to interest. In the final year, by contrast, interest takes only about 74. So an extra payment made early in a loan saves the most. Each early amount stops interest for all the months that remain.

What Changes the Total Cost

Three levers change what a loan really costs over its life. The first lever is the length of the term. At 6 percent, the same 10,000 over three years needs 304.22 a month. That is higher, but total interest drops to about 952. Over ten years, the payment falls to 111.02, yet total interest climbs to about 3,322. The second lever is the interest rate itself. At 3 percent over five years, total interest is about 781. At 9 percent, it rises to about 2,455.

*Data: ENTECH calculation for a loan of 10,000. Drawn by ENTECH.

Bar chart of total interest on a loan of 10,000 for six cases, from 781 at 3 percent over five years to 3,322 at 6 percent over ten years
Fig. 4: Total interest by term, rate and extra payment.

The third lever is the habit of making extra payments. Suppose the borrower adds 20 to each payment of the example loan. Every extra amount goes straight to principal, so less interest builds up afterwards. As a result, the loan ends in 54 months instead of 60. Total interest falls from about 1,600 to about 1,423. Figure 4 compares these cases side by side, using the same loan. Lenders may set rules on early repayment, so read the loan terms before paying extra.

Points to Know About Student Loans

Student loans often add one twist before repayment starts. Interest may build up while you are still studying. The US consumer finance agency covers this in its page on interest during school. It explains that unpaid interest can be capitalized. That means it is added to the principal, and you then pay interest on interest. In its example, a loan of 5,000 at 10 percent builds up 750 of interest. Capitalization then raises the balance to 5,750 before repayment begins.

The loan payment formula then applies to the new, larger balance. Over ten years at 10 percent, 5,000 needs about 66.08 a month. However, 5,750 needs about 75.99 a month, so capitalization costs real money. Fees also matter when you compare loans. The same agency notes that the annual percentage rate adds fees to the interest rate. So when you compare offers, compare the annual percentage rate on each one. Research on young people also links basic knowledge of interest rates to wider financial literacy. A 2025 survey of students in Ecuador measured such knowledge directly.

Doing the Maths Yourself

You do not need special software to use the loan payment formula. A spreadsheet can do it in one cell, and most include a built-in payment function. Even so, it helps to work one example by hand, as above. Then you will know what each input does. You can also use online calculators to check your answer quickly. Always confirm that the rate and the number of periods match. A yearly rate used with monthly payments gives a wrong answer. Finally, compare the total repaid, not just the monthly figure.

Frequently Asked Questions

What is the loan payment formula?

It is M = P × r ÷ (1 − (1 + r)^−n). Here M is the payment, P is the principal, r is the interest rate per period and n is the number of payments. It gives the fixed payment that clears a loan exactly at the end of its term.

How do I calculate a loan payment by hand?

Convert the yearly rate to a monthly rate and count the monthly payments. Then work out (1 + r) to the power of minus n, subtract it from one, and divide P times r by the result. A spreadsheet or calculator can confirm the answer.

Why do early payments go mostly to interest?

Interest is charged on the balance still owed. At the start the balance is largest, so the interest share is largest. As the balance falls, interest falls and more of each fixed payment goes to principal.

Does a longer loan term save money?

No. A longer term lowers each payment, but interest is charged for more months. In the example in this article, total interest on the same loan rises from about 952 over three years to about 3,322 over ten years.

What is the amortization formula used for?

It is another name for the loan payment formula. Lenders and borrowers use it to set fixed payments and to build an amortization schedule. The schedule shows how each payment splits between interest and principal over the whole term.


References

Consumer Financial Protection Bureau. What is amortization and how could it affect my auto loan? https://www.consumerfinance.gov/ask-cfpb/what-is-amortization-and-how-could-it-affect-my-auto-loan-en-771/

Consumer Financial Protection Bureau. What is the difference between a loan interest rate and the APR? https://www.consumerfinance.gov/ask-cfpb/what-is-the-difference-between-a-loan-interest-rate-and-the-apr-en-733/

Consumer Financial Protection Bureau. How does interest accrue while I am in school? https://www.consumerfinance.gov/ask-cfpb/how-does-interest-accrue-while-i-am-in-school-en-593/

Bastidas-Guerrón JL, Cárdenas-Fierro GM, Mora-Lucero AC, Quinde-Sari FR, Sabando-García AR, Moreira-Choez JS. (2025). Financial literacy and educational level in Ecuadorian students: a structural analysis. Frontiers in Education, 10, 1596635. https://doi.org/10.3389/feduc.2025.1596635

Mari, C. (2024). Amortizing Loans under Arbitrary Discount Functions. Journal of Risk and Financial Management, 17(5), 185. https://doi.org/10.3390/jrfm17050185

Alafif, H. A. (2023). Interest rate and some of its applications. Journal of Applied Mathematics and Physics, 11(06), 1557–1569. https://doi.org/10.4236/jamp.2023.116102


Reviewed by Omkar Swami on December 3, 2026Edited by Sailee Pakhare
Reviewer note

The article builds the loan payment formula from a geometric series and follows one example loan from the first payment to the last. It shows how term, rate and extra payments change the total interest. Readers are advised to verify the figures against the original references and their own loan documents.

Editorial note

This article explains the maths behind a fixed loan payment for students and young adults. The worked example, the schedule in Table 1 and the figures were calculated by ENTECH for a loan of 10,000 in no named currency. The article includes external links to an online calculator service for reference only, and they do not form part of the opinion or advice of the author or the magazine. Readers should independently evaluate any third-party platform before engaging, and should check the terms of any real loan with the lender. The papers and pages under References hold the full methods and measurements. Readers are encouraged to consult them and to check each claim for themselves. ENTECH accepts no responsibility for statements made here or in those sources. This article is offered for information and education only, and it is not professional advice.

Abdul Qadir
Abdul QadirPhysics Educator
Author

I am a Physics graduate with a strong academic interest in statistical mechanics, complex systems, computational physics, and the study of collective behaviour in interacting systems. During my undergraduate studies, I developed an interest in understanding physical phenomena not only through theoretical concepts but also through computational modelling and simulation. As part of my academic work, I explored the Ising model using Monte Carlo simulations and studied the Active Ising Model to investigate collective behaviour, density variations, and phase transitions in active systems. These projects introduced me to computational approaches in physics and strengthened my interest in understanding how simple microscopic interactions can give rise to complex macroscopic behaviour. Alongside my academic interests, I am passionate about education and science communication. I have experience helping students and peers understand concepts in physics and mathematics, with an emphasis on intuitive explanations rather than simply memorising formulas. I enjoy connecting scientific ideas to everyday experiences and presenting complex topics in a way that is clear, engaging, and accessible. I am also interested in the role of technology in education and the development of digital learning resources. Through writing, teaching, and educational projects, I hope to contribute to making scientific knowledge more accessible to students and curious learners. My broader interests include non-equilibrium statistical mechanics, active matter, phase transitions, computational modelling, complex systems, and science education. Through my work, I aim to continue developing as a researcher while contributing to science communication and education.

github.com/Abdulqadir-physics

Disclaimer.