Percentile Formula in Excel — With Examples (90th, 75th, Quartiles, PERCENTILE.INC vs EXC)
Learn the percentile formula in Excel: 90th, 75th and 95th percentiles, quartiles, and PERCENTILE.INC vs EXC — with worked examples.
Read Guide →You are looking at a $10,000 loan at 6% over 5 years and you need one number: the monthly payment. That number is =PMT(6%/12, 5*12, 10000) — and it is −193.33. The minus sign is not an error: it means money leaving your account. This guide gives you that formula first, then runs it on five loans, so you can check each answer yourself — a personal loan, a car loan, two mortgages, the total interest, the affordability flip, and the savings goal — plus the two traps that catch everyone: the rate has to match the payment period, and the payment does not include taxes.
Quick takeaway: divide the rate by 12, multiply the years by 12.
=PMT(rate, nper, pv, [fv], [type]) — monthly rate, number of months, loan amount.=PMT(6%/12, 5*12, 10000) → −193.33 a month. Negative means money going out.=-PMT(6%/12, 5*12, 10000) → 193.33.
=PMT(rate, nper, pv, [fv], [type])
| Argument | Required | What it is |
|---|---|---|
| rate | Yes | The interest rate for each period. For monthly payments, divide the annual rate by 12 |
| nper | Yes | The total number of payments. For a monthly loan this is the number of months — a 5-year loan is 5×12 = 60 |
| pv | Yes | The present value, or the loan amount you are borrowing now — also called the principal |
| fv | No | The balance you want left after the last payment. Leave it out for a normal loan, where the balance ends at 0 |
| type | No | When payments are due. 0 (or leave it out) for the end of the period, 1 for the start |
Keep rate and nper in the same units. Monthly payments need a monthly rate (nominal annual/12) and a count in months (years×12). Quarterly needs annual/4 and years×4. Semi-annual needs annual/2 and years×2. An effective annual rate needs =(1+annual_rate)^(1/12)-1 instead of annual/12.
Every example below uses the same five loans. Every result was checked against them.
| Loan | Formula | Monthly payment |
|---|---|---|
| $10,000 personal loan, 6%, 5 years | =PMT(6%/12, 5*12, 10000) | −193.33 |
| $10,000 personal loan, 5%, 4 years | =PMT(5%/12, 4*12, 10000) | −230.29 |
| $32,000 car loan, 6.9%, 5 years | =PMT(6.9%/12, 5*12, 32000) | −632.13 |
| $300,000 mortgage, 4.5%, 30 years | =PMT(4.5%/12, 30*12, 300000) | −1,520.06 |
| $100,000 mortgage, 6%, 20 years | =PMT(6%/12, 20*12, 100000) | −716.43 |
Read the rows. The $300,000 mortgage costs $1,520.06 a month for 30 years — and the $100,000 loan at the same 6% costs $716.43 a month for 20 years, which is less than half the 30-year loan’s payment for a third of the amount, because the term is shorter. And the two $10,000 loans show the trade: the 5% loan over 4 years costs $230.29 a month, more than the 6% loan over 5 years at $193.33 — a lower rate does not always mean a lower payment, because the shorter term squeezes the same principal into fewer payments.
The monthly payment is not the cost of the loan. The cost is the total interest:
| Loan | Monthly payment | Total paid (payment × nper) | Total interest (total paid − loan) |
|---|---|---|---|
| $10,000, 6%, 5 years | 193.33 | 11,599.80 | 1,599.80 |
| $10,000, 5%, 4 years | 230.29 | 11,053.92 | 1,053.92 |
| $32,000, 6.9%, 5 years | 632.13 | 37,927.80 | 5,927.80 |
| $300,000, 4.5%, 30 years | 1,520.06 | 547,221.60 | 247,221.60 |
| $100,000, 6%, 20 years | 716.43 | 171,943.20 | 71,943.20 |
Read the rows. The $300,000 mortgage costs $247,221.60 in interest — almost as much as the house itself. And the two $10,000 loans show the trade again: the 4-year loan costs $1,053.92 in interest, the 5-year loan costs $1,599.80 — the shorter term costs $36.96 more a month in payment, but $545.88 less in interest overall. That is the number to compare when two offers look the same.
The payment is the same every month, but what it is made of changes. The first payment on the $10,000 loan at 6% is $193.33, and it splits like this:
| Part | Formula | First payment |
|---|---|---|
| Interest | =IPMT(6%/12, 1, 60, 10000) | 50.00 |
| Principal | =PPMT(6%/12, 1, 60, 10000) | 143.33 |
| Total | Interest + principal | 193.33 |
The interest is the balance times the monthly rate: $10,000 × 0.5% = $50.00. The rest — $143.33 — pays down the principal. Next month the balance is $9,856.67, so the interest is $49.28 and the principal is $144.05. The interest shrinks and the principal grows, month by month, until the last payment is almost all principal. IPMT and PPMT are the two functions for one period; CUMIPMT and CUMPRINC give the totals over a range of periods.
| Type | When the payment is due | Formula | Monthly payment |
|---|---|---|---|
| 0 (default) | End of the period | =PMT(6%/12, 60, 10000) | −193.33 |
| 1 | Beginning of the period | =PMT(6%/12, 60, 10000, 0, 1) | −192.37 |
Paying at the start of the month saves $0.96 a month — $57.60 over the five years — because each payment knocks the balance down a month earlier, so a month less interest accrues on it. The difference is small on a $10,000 loan and larger on a mortgage. Leave type out unless the loan says the payment is due at the start.
PMT answers “what is the payment”. PV answers the reverse — “how much can I borrow if I can pay this much”:
=PV(6%/12, 5*12, -500)
At 6% over 5 years, $500 a month buys a $25,862.78 loan. Change the payment to $600 and the loan becomes $31,035.34. Change the rate to 4% and $500 a month buys $27,149.53. That is the formula to use when the budget is fixed and the loan amount is the question.
PMT also works backwards for saving. Leave pv at 0 and set fv to the goal:
| Goal | Formula | Monthly saving |
|---|---|---|
| $50,000 in 10 years at 5% | =PMT(5%/12, 10*12, 0, 50000) | −321.99 |
| $50,000 in 5 years at 5% | =PMT(5%/12, 5*12, 0, 50000) | −735.23 |
The same sign rule applies: the saving is money going out, so the answer is negative. And the same warning: the $50,000 goal needs $321.99 a month over ten years, but $735.23 a month over five — halving the time more than doubles the payment, because there are fewer months and less interest earned.
| Mistake | What happens | Fix |
|---|---|---|
| You used the annual rate with monthly payments | The payment is 12 times too big — or the formula errors | Divide the rate by 12: 6%/12 |
| You used years instead of months for nper | The payment is far too big — 5 payments instead of 60 | Multiply the years by 12: 5*12 |
| You panicked at the minus sign | Nothing is wrong — negative means money going out | Put a minus in front: =-PMT(...) |
| You forgot the payment excludes taxes | The real monthly cost is higher than PMT says | Add taxes, insurance and fees on top |
| You used type 1 by mistake | The payment is slightly too small | Leave type out — 0 is the default |
| You used the annual rate for a Canadian mortgage | The payment is slightly too high | Use the semi-annual compounding rate (see below) |
For Canadian mortgage loans the interest is compounded semi-annually, rather than monthly, even if the payments are monthly. To calculate the payments you need a different rate calculation instead of the simple Rate/12. The monthly rate is =(1+annual_rate/2)^(2/12)-1 — for a $100,000 mortgage at 5% over 20 years that is 0.41239% a month, and the payment is $657.13, against $659.96 with the naive rate/12. The difference is small on one payment and real over 240 of them.
How do I calculate a monthly loan payment in Excel? =PMT(annual_rate/12, years*12, loan_amount) — for a $10,000 loan at 6% over 5 years, =PMT(6%/12, 5*12, 10000) gives −193.33 a month.
Why is my PMT answer negative? Because the payment is money leaving your account. Excel treats payments as negative and inflows as positive. Put a minus in front — =-PMT(...) — to see it as a positive number.
Do I divide the rate by 12? Yes, for monthly payments — and multiply the years by 12 for the number of payments. The rate and the number of periods have to be in the same units.
How much interest will I pay in total? Multiply the monthly payment by the number of payments, then subtract the loan: on the $10,000 loan at 6% over 5 years, 193.33 × 60 = 11,599.80, minus 10,000 = 1,599.80 in interest.
How much can I borrow if I can pay $500 a month? =PV(6%/12, 5*12, -500) — $25,862.78 at 6% over 5 years.
What is the difference between type 0 and type 1? Type 0 pays at the end of the period (the default); type 1 pays at the beginning. On the $10,000 loan, type 1 is $192.37 a month against $193.33 for type 0.
Does PMT include taxes and insurance? No. The payment is principal plus interest only. Add taxes, insurance and fees on top for the real monthly cost.
That is the PMT function in Excel: =PMT(rate, nper, pv, [fv], [type]) — the monthly rate, the number of months, and the loan amount — and on the five loans in this guide it answers every question: $193.33 a month for the $10,000 loan at 6% over 5 years, $632.13 for the $32,000 car loan, $1,520.06 for the $300,000 mortgage, and $716.43 for the $100,000 loan over 20 years. Remember the two things that catch everyone once: divide the rate by 12 and multiply the years by 12, or the payment comes out wrong by a factor of twelve — and the minus sign is not an error, it means money leaving your account. And remember what the payment does not tell you: the total interest, which is $1,599.80 on the small loan and $247,221.60 on the big mortgage, and the taxes and fees on top of it. From here, the next functions worth learning are the ones this one sits next to — the CAGR formula for the growth rate behind the interest, the percentile guide for reading the distribution of the payments — and the full learning order for the whole site is on the Excel Formulas hub and the Finance & Stats category page.
Learn the percentile formula in Excel: 90th, 75th and 95th percentiles, quartiles, and PERCENTILE.INC vs EXC — with worked examples.
Read Guide →Learn the p value formula in Excel: T.TEST, what 0.05 means, one-tailed vs two-tailed, and the mistakes to avoid.
Read Guide →Learn the z score formula in Excel: STANDARDIZE, how to read a z score, percentiles, and comparing scores on different scales.
Read Guide →