IPMT Function in ONLYOFFICE Spreadsheet Editor: Syntax, Examples and Troubleshooting
Calculate the interest share of a payment period with the ONLYOFFICE IPMT function.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
IPMT tells you how much of one scheduled payment is interest. Use it to inspect a repayment schedule, compare early and late payments, or build an interest column without calculating each opening balance yourself.
Availability and version history
- Introduced: The original release and date are not established by the official sources checked.
- Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final working-version endpoint is established.
- Scope: Docs and Desktop Editors release separately. This unversioned reference does not establish support in every older build or mobile client.
- Checked: October 14, 2026, against the official IPMT reference. Documentation check; not a new native test.
Syntax and arguments
=IPMT(rate, per, nper, pv, [fv], [type])
| Argument | Meaning | Default |
|---|---|---|
rate |
Interest rate per payment period | Required |
per |
Payment number to inspect, from 1 through nper |
Required |
nper |
Total scheduled payments | Required |
pv |
Signed value at the start | Required |
fv |
Signed balance targeted after the last payment | 0 |
type |
0 for period-end payments; 1 for period-start payments |
0 |
Square brackets mark optional arguments; do not type them. A positive loan advance represents money received, while the repayment components are negative outflows. These conventions and defaults follow the official IPMT help.
Set up a loan example
In a blank worksheet enter the following. Keep these inputs unchanged when trying the formulas below in unused cells.
| Cell | Enter | Purpose |
|---|---|---|
B2 |
=6%/12 |
Monthly rate, 0.005 |
B3 |
60 |
Five years of monthly payments |
B4 |
10000 |
Loan amount received |
B5 |
0 |
No target balance after the last payment |
B6 |
0 |
Payments at month end |
=PMT(B2,B3,B4,B5,B6) gives an expected payment of -193.328015. IPMT returns only the interest within that payment, not the full installment.
Worked examples
| Formula | Expected result | Meaning |
|---|---|---|
=IPMT(B2,1,B3,B4) |
-50.000000 |
First monthly payment |
=IPMT(B2,2,B3,B4) |
-49.283360 |
After one principal reduction |
=IPMT(B2,60,B3,B4) |
-0.961831 |
Final scheduled payment |
=IPMT(B2,1,B3,B4,0,1) |
0.000000 |
First payment made immediately |
=IPMT(B2,2,B3,B4,0,1) |
-49.038169 |
Second beginning-of-period payment |
=IPMT(0,1,12,1200) |
0.000000 |
Zero-interest comparison |
=IPMT(B2,1,B3,-10000) |
50.000000 |
Reverse the cash-flow perspective |
=IPMT(B2,12,B3,B4,-2000,0) |
-43.533518 |
A signed nonzero terminal target |
Understand the first two months
The first month’s interest is -10000 × 0.005 = -50. Subtract that interest from the full payment to obtain signed principal: -193.328015294 - (-50) = -143.328015294. The remaining balance becomes 9856.671984706, so month two’s interest is about -49.283359924.
Interest falls as this loan’s balance falls. A smaller absolute IPMT amount does not mean the payment itself has changed.
Build and total the interest column
Enter period numbers 1 through 60 in D2:D61. In E2, enter:
=IPMT($B$2,D2,$B$3,$B$4,$B$5,$B$6)
Fill down through E61. The absolute references keep the loan assumptions fixed; the relative D2 advances the payment number.
=SUM(E2:E13)totals months 1–12: approximately-551.904511.=SUM(E2:E61)totals the full term: approximately-1599.680918.=60*PMT(B2,B3,B4)+B4provides a separate full-term interest check with the same expected result.
For each period, IPMT + PPMT = PMT when all inputs match. The first payment therefore combines interest -50 and principal -143.328015 into -193.328015 before display rounding.
Payment timing and a terminal balance
With type=1, the first payment is made before any period’s interest accrues. Its interest component is zero and the payment is entirely principal. Change timing consistently in PMT, IPMT and PPMT; keeping the old PMT amount would mix two schedules.
For the table’s fv=-2000 case, scheduled payments leave a positive modeled debt balance of 2,000. The signed terminal amount is negative from the borrower’s perspective. This is not an extra recurring payment: it changes the payment calculation. Check a contract separately before treating it as a balloon-loan quote.
Troubleshooting and practical limits
- Unexpected sign: Positive loan proceeds produce negative repayment components. Negate a result for a positive cost or debt-reduction display, but retain signed values in reconciliation formulas.
- Wrong rate or term: Match units. For a nominal 6% annual rate and monthly payments, use
6%/12and60, not6and5. - Invalid period: Use whole-number payment indices from
1throughnper. A range must have its start no later than its end. - Totals differ by cents: Format results for display without rounding intermediate formulas. A lender that rounds each installment, uses daily interest or changes the last payment can produce different totals.
- Formula error: Check numeric inputs, period bounds, timing and the configured formula language. The short official reference does not specify every error token or text/blank coercion rule.
These examples assume fixed rates, equal periods and the scheduled payments. Extra payments, skipped installments, fees and variable rates need a separate cash-flow schedule.
Related functions and further reading
- PMT calculates the complete periodic payment.
- IPMT and PPMT split one payment into interest and principal.
- CUMIPMT and CUMPRINC total a selected range.
- SUM adds worksheet components; ROUND is useful when a model explicitly calls for rounded amounts.
The function-entry guide explains the function dialog. Advanced Settings covers formula language and regional settings; examples here use English names, decimal points and commas.
Example verification: Results were independently calculated with high-precision annuity equations and a separate discounted-payment/amortization model. Values shown use six-decimal half-up display rounding; no example was executed in ONLYOFFICE.