The CUMPRINC function in Google Sheets calculates the total principal paid on a loan between two specified payment periods, assuming constant periodic payments and a fixed interest rate. Its syntax is CUMPRINC(rate, number_of_periods, present_value, first_period, last_period, end_or_beginning), and it returns a negative number because it represents money you pay out.
What CUMPRINC Actually Does
When you take out a loan, each monthly payment splits into two parts: interest (the cost of borrowing) and principal (the amount that reduces the balance you owe). CUMPRINC isolates the principal portion across a range of periods. For example, if you have a 30-year mortgage and want to know how much of the loan balance you will pay down during year 5 (periods 49 to 60), CUMPRINC gives you that total.
The function is part of Google Sheets’ Financial category, alongside related functions like CUMIPMT (cumulative interest) and IPMT (interest for a single period). It works only with fixed-rate loans where payments are the same amount each period—it does not handle variable rates or irregular payment schedules.
Breaking Down the Syntax and Arguments
Every argument is required, and each must be a number or a reference to a cell containing a number:
- rate – the interest rate per period. If your annual rate is 6% and you make monthly payments, divide by 12 (0.06/12 = 0.005).
- number_of_periods – the total number of payment periods over the life of the loan. For a 5-year auto loan paid monthly, this is 60.
- present_value – the loan amount (the principal you borrowed). Enter it as a positive number.
- first_period – the first period in the range you want to sum, counting from 1.
- last_period – the last period in the range, which must be greater than or equal to first_period.
- end_or_beginning – use 0 if payments are due at the end of each period (standard for most loans), or 1 if payments are due at the beginning.
The result is always negative, reflecting cash outflow. To see it as a positive number, wrap the function in ABS() or multiply by -1.
Worked Example with Real Numbers
Suppose you borrow $20,000 for a car at an annual interest rate of 5%, with monthly payments over 4 years (48 months). You want to know the total principal paid in the second year (months 13 through 24).
Set up your sheet like this:
- A1:
0.05/12(monthly rate) - A2:
48(total periods) - A3:
20000(loan amount)
Then enter in A4:
=CUMPRINC(A1, A2, A3, 13, 24, 0)
This returns approximately -4,443.22. That means during months 13 to 24, you pay down about $4,443.22 of the principal. The negative sign is normal—it is money leaving your pocket. To display it as a positive number, use =ABS(CUMPRINC(A1, A2, A3, 13, 24, 0)).
How to Choose the Right Period Range
Period numbering starts at 1, which is the first payment date. If you want the first year of a monthly loan, use first_period=1 and last_period=12. For the final year of a 48-month loan, use first_period=37 and last_period=48. A common mistake is starting at 0—the function will return an error (#NUM!) because periods must be ≥1.
If you need the total principal over the entire loan, you can set first_period=1 and last_period=number_of_periods, but note that CUMPRINC will equal the present_value (the loan amount) only if you include all periods and the rate is consistent. This is a good check for accuracy.
Common Errors and How to Fix Them
- #NUM! error – Occurs if first_period < 1, last_period > number_of_periods, first_period > last_period, or if rate ≤ 0. Check your period numbers and rate.
- #VALUE! error – Happens when any argument is non-numeric (e.g., text in a cell). Ensure all inputs are numbers.
- Negative result confusion – Many users think they made an error, but the negative sign is correct for cash outflows. Use ABS() if you prefer positive.
- Wrong rate period – Using an annual rate without dividing by the number of periods per year is the most common logical error. Always match the rate to the payment frequency.
Comparing CUMPRINC to CUMIPMT and PPMT
CUMPRINC and CUMIPMT are siblings: CUMIPMT calculates the cumulative interest over the same period range, using identical syntax. Together they show the full split of payments. For a single period, use PPMT (principal for one period) and IPMT (interest for one period). The relationship is: for any period range, CUMPRINC + CUMIPMT = total payments made in that range. This is a useful sanity check—if the sum does not match the payment amount times the number of periods, something is off.
Limitations and When Not to Use It
CUMPRINC assumes a constant interest rate for the entire loan life and equal payment amounts. It does not work for adjustable-rate mortgages, interest-only periods, or loans with balloon payments. For those, you would need to build a full amortization schedule manually using functions like PPMT and IPMT for each period. Also, the function ignores any fees or taxes added to payments—it only considers principal and interest.
In Excel, the same function exists with identical syntax, so you can transfer your sheet between the two. The only difference is that Google Sheets requires the function name in English; localized versions of Excel may use translated names.
Frequently Asked Questions
Why does CUMPRINC return a negative number?
Because it represents money you pay out (a cash outflow). Financial functions in Google Sheets follow the convention that money received is positive and money paid is negative. If you want a positive number, wrap it in ABS().
Can I use CUMPRINC for weekly or biweekly payments?
Yes, but you must adjust the rate and number_of_periods accordingly. For weekly payments, divide the annual rate by 52 and multiply the number of years by 52. The function does not care about calendar units—it only works with the numbers you give it.
What is the difference between CUMPRINC and PPMT?
PPMT gives the principal portion for a single payment period (e.g., period 5 only). CUMPRINC sums the principal across a range of periods (e.g., periods 5 to 10). Use PPMT for one period, CUMPRINC for a range.
Does CUMPRINC include the first and last period in the calculation?
Yes, both are inclusive. If you set first_period=1 and last_period=12, it sums periods 1 through 12, which is 12 payments total.
Why do I get #NUM! when I use 0 as the first_period?
Periods are counted starting at 1. The first payment is period 1, not period 0. Use 1 as the first period for the first payment, and the last period must be ≤ number_of_periods.
Can CUMPRINC handle a down payment or extra payments?
No. The function assumes the present_value is the full loan amount and that payments are exactly the constant amount derived from the rate and term. Extra payments or a down payment that reduces the loan amount require adjusting the present_value, but the function still assumes equal regular payments.
Related
- Google Sheets SUMIF Not Empty: Formula & Fixes
- How to Calculate Overtime in Excel: Step-by-Step
- Random Org Generate String? How to Use random.org
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Google Sheets Freeze Bottom Row: What Works InsteadNo. Google Sheets can freeze rows at the top of a sheet, but it has no built-in command…
- How to Add Multiple Dropdown Menus in Google SheetsTo add multiple dropdowns in Google Sheets, select the cells that should share a menu, choose Insert >…
- Data Entry VA: What It Is, Duties & How to Hire OneA data entry VA (virtual assistant) is a remote worker who handles typing, updating, and organizing information for…
- Hide Columns in Excel Temporarily: Steps to Show Them AgainTo temporarily hide columns in Excel for Microsoft 365 on Windows, select the column headers, then choose Home…
- Excel Basic Keyboard Shortcuts: A Guide for WindowsIn Excel for Microsoft 365 on Windows, the basic keyboard shortcuts to learn first are Ctrl+C, Ctrl+V, Ctrl+Z,…
- Paste Name Dialog Box in Excel: How to Open ItIn Excel for Microsoft 365 on Windows, press F3 to open the Paste Name dialog box. You can…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.