NPER Function in Apple Numbers: Syntax, Examples and Troubleshooting
Apple Numbers NPER: determine loan payoff periods and savings timelines, with beginning/end payments and independently checked formulas.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =NPER(0.07/12,-1500,170000,0,1) returns approximately 184.106221541724 monthly periods for a $170,000 loan with $1,500 monthly payments at the beginning of each period and a 7% nominal annual rate compounded monthly. This matches Apple’s documented example; the result is a fractional mathematical period count, not a schedule of 184 full contractual payments.
Availability and version history
- Introduced: Documented in Apple’s Formulas and Functions Help 15.4; the original introduction release is not established.
- Availability: Currently documented for Numbers in that help version; it is not a final supported-version endpoint.
- Scope: Shared iWork function help; individual-client and older-release availability are not established by this check.
- Checked: October 14, 2026, against the official NPER reference. Documentation and independent arithmetic checks; no native Numbers test.
When to use NPER
NPER solves for the number of equal-length payment periods when the periodic interest rate, constant signed payment, starting balance and target ending balance are known. Typical uses: estimating a loan payoff timeline, sizing a regular savings horizon, or comparing payments at the beginning versus end of the month. It assumes a fixed rate, a constant payment amount and equally spaced payments. It cannot by itself account for changing interest rates, skipped payments, daily irregular deposits, transaction fees or interest-rate resets. Apple groups it with PMT, PV, FV and RATE for the same fixed-cash-flow model.
Exact Numbers syntax and argument order
=NPER(periodic-rate, payment, present-value, future-value, when-due)
| Position | Apple argument | Required? | Accepted meaning/type | Default |
|---|---|---|---|---|
| 1 | periodic-rate |
Yes | Number: interest rate per payment period. Enter 0.07/12, not 7, for 7% nominal annually with monthly periods. Apple describes decimal and percent entries; the documentation does not specify a universal zero/negative-rate prohibition. |
None |
| 2 | payment |
Yes | Number: same signed amount paid or received each period. Paying into a loan or savings account is usually negative from the payer’s perspective. | None |
| 3 | present-value |
Yes | Number: starting balance. Borrowing funds is positive for the borrower; investing starting savings is negative for the saver. | None |
| 4 | future-value |
No | Number: signed final target cash flow or remaining loan balance. A savings payout or target withdrawal is positive; a loan balance still owed at maturity is negative. | 0 |
| 5 | when-due |
No | Modal value: 0 at the end of each period (ordinary loans) or 1 at the beginning of each period (advance payments). |
0 (end) |
Apple’s labels and examples use this sign convention. Keep periodic-rate and period count on the same time basis; converting a yearly rate to annual/12 is appropriate only when the stated annual rate is nominal with monthly compounding. For a given effective annual rate, derive the compatible monthly rate rather than automatically dividing by 12.
Reproduce Apple’s loan example in a Numbers table
Create a single Numbers table named LoanPlan on a sheet named Budget. Use at least eleven rows. Make column A descriptive labels and enter the following numeric values/formulas in column B; format money cells as currency after entering the numbers.
| Cell | Label in A | Input in B |
|---|---|---|
| B2 | Nominal yearly rate | 0.07 |
| B3 | Monthly payments per year | 12 |
| B4 | Regular monthly payment (outflow) | -1500 |
| B5 | Loan balance received today | 170000 |
| B6 | Desired outstanding balance at payoff | 0 |
| B7 | Pay at beginning? | 1 |
| B8 | Estimated loan periods | =NPER(B2/B3,B4,B5,B6,B7) |
| B9 | Same loan, but payments at month-end | =NPER(B2/B3,B4,B5,B6,0) |
| B10 | Compare extra $100/month at the start | =NPER(B2/B3,B4-100,B5,B6,B7) |
| B11 | Convert B8 months to years | =B8/B3 |
Expected results: B8 ≈ 184.106221541724 months, B9 ≈ 186.040457589393 months, B10 ≈ 164.642867177686 months (independently calculated for the higher payment), and B11 ≈ 15.342185128477 years. B8 matches Apple’s published example; B9–B11 are independent calculations. Paying at the beginning reduces the estimated number of periods because each payment starts earning or reducing interest earlier.
Separate tables and sheets: On another table, the same input can be referenced as LoanPlan::B2, or from another sheet as Budget::LoanPlan::B2 when qualification is required. Apple’s notation uses double colons (::), not Excel’s Sheet!Cell convention. Numbers may shorten unique references automatically.
Savings goal: distinguish beginning and end timing
Apple’s savings scenario sets $50,000 aside initially, deposits $200 a month, earns 4.5% nominal annually compounded monthly, and aims for a $150,000 withdrawal/target. Its actual formula is:
=NPER(0.045/12,-200,-50000,150000,1)
The expected result is 180.587402472846 months (about 15.05 model years; the next whole period count is 181). Source inconsistency: The surrounding Apple narrative calls the $200 deposits end-of-month, but the published formula ends with 1, which Apple defines as beginning-of-period. These are not interchangeable.
| Formula | Payment-timing assumption | Independent expected months |
|---|---|---|
=NPER(0.045/12,-200,-50000,150000,1) |
Beginning of each month (Apple’s formula) | 180.587402472846 |
=NPER(0.045/12,-200,-50000,150000,0) |
End of each month (matches the prose) | 180.841341448618 |
The difference here is approximately 0.254 months, because the same monthly cash outflow earns interest for a different length of time. Use the timing argument that matches your plan. The source’s end-of-month description remains unresolved; the two formulas above deliberately keep their assumptions separate.
Advanced: reconcile NPER with FV and PMT
Loan payoff cross-check
Suppose a $200,000 loan is fully amortised with 120 month-end payments at 6% nominal annual interest compounded monthly:
=PMT(0.06/12,120,200000,0,0) → about -2220.410038833
=NPER(0.06/12,-2220.410038833,200000,0,0) → approximately 120
For a full-precision consistency check, use =NPER(0.06/12,PMT(0.06/12,120,200000,0,0),200000,0,0); the expected mathematical result is 120. Carry full precision across the two formulas: replacing the payment with the display-rounded -2220.41 gives a small deviation, approximately 120.000003 periods. This explains why spreadsheet payment schedules should not depend on rounded display values when testing equality.
Why does NPER sometimes return a fraction?
NPER solves a continuous financial equation for n periods. An estimated result of 180.84 says the planned target is crossed partway through the mathematical final interval. A lender may instead require 181 scheduled payments, with the final payment adjusted. Do not round down to 180 and announce the loan is paid off. A complete amortisation schedule may have a different last payment, fees, timing convention or daily-interest policy.
Zero-rate limit and closed-form insight
For positive periodic rate r, payment p, starting value PV, target FV, and timing flag t, the independently derived identity is:
(1+r)^n = (p*(1+r*t)/r - FV) / (PV + p*(1+r*t)/r)
n = LN((p*(1+r*t) - FV*r)/(PV*r + p*(1+r*t))) / LN(1+r)
The logarithm expression requires its ratio to be positive and finite and the denominator LN(1+r) to be nonzero. These are mathematical requirements of this rearrangement, not a comprehensive list of Apple’s error conditions. At r = 0, where p ≠0, the equation reduces to n = -(PV+FV)/p. For example =NPER(0,-1000,12000,0,0) has an independently expected result of 12 periods. Use this zero-rate limit rather than dividing by LN(1+r) when checking the result by hand.
Troubleshooting checklist
| Problem | Most useful check |
|---|---|
| Huge or nonsensical count | Check whether annual rate was entered as 7 instead of 0.07, or whether monthly periods were mismatched with an annual interest rate. |
| No meaningful payoff horizon | Check whether the payment is sufficient even to cover accrued interest, and whether its sign opposes the positive loan amount. Some parameter sets simply lack a finite solution. |
| Negative or undefined number of periods | Confirm the financial event is possible in the model, sign convention is correct and any logarithm domain is valid. Apple’s reference does not document a guaranteed diagnostic text for every infeasible case. |
| Unexpected longer/shorter savings time | Compare when-due values 0 and 1 and the difference between nominal APR and effective rate. |
| Incorrect commas or “invalid formula” | Apple’s English formulas use commas; a locale with a comma decimal separator uses semicolons between arguments, e.g. =NPER(0,07/12;-1500;170000;0;1) after matching local decimal formatting. |
| Cell appears to contain a currency amount but gives an error | Verify the input is a number formatted as currency, not text containing $, and inspect formula error indicators. |
Questions people ask
Does NPER return years? No; it returns a count of periods in the unit set by the rate and payments. With monthly inputs, divide by 12 for approximate years.
Can I omit the balloon/ending value? Yes. Omitted future-value means 0; for a nonzero loan balloon, supply the actual signed ending balance.
Is a negative NPER always an Apple error? Do not assume so. It typically signals that your assumed combination of flows and target does not describe the desired positive-length event; inspect signs and feasibility before judging a computed value.
Does NPER include loan insurance, taxes or fees? No. The function models only the constant periodic cash-flow inputs given. Add those costs in a separately documented loan model rather than implying NPER computes them.
References and related guides
- Apple NPER reference: argument order, optional defaults and published example.
- Apple financial-function selection: choosing the unknown in a fixed-payment model.
- Apple functions overview: regional separators.
- Apple cell references: same-table and cross-sheet notation.
- Apple formula-error guidance: checking cell types and references.
- Apple PMT: the payment used in the cross-check.
- ROUND in Numbers: deliberate rounding versus display formatting.
- LN in Numbers: the natural logarithm used in financial rearrangements.