PMT Function in ONLYOFFICE Spreadsheet Editor: Syntax, Examples and Troubleshooting
Calculate recurring loan payments and savings contributions with the PMT function in ONLYOFFICE.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Compute a constant payment or deposit for a fixed rate and fixed number of periods. The official ONLYOFFICE PMT reference documents the function in the financial category. Its syntax and argument meanings are the authoritative source for the claims identified here. Worked outputs below are independently calculated expectations; no ONLYOFFICE application was run.
Availability and version history
- Introduced: The original introduction version 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 help does not establish availability in every older build, mobile client or deployment.
- Checked: October 14, 2026, against the official function reference. Documentation check; not a new native test.
Exact documented syntax and argument order
=PMT(rate, nper, pv, [fv], [type])
Square brackets show optional arguments; do not type the brackets into a formula.
| Position | Argument | Type, interpretation, required status | Omitted default |
|---|---|---|---|
| 1 | rate |
Required numeric rate per payment period; e.g. 6%/12 for monthly payments |
— |
| 2 | nper |
Required total number of payment periods, usually positive | — |
| 3 | pv |
Required signed present value at the start (cash received positive, outflow negative) | — |
| 4 | fv |
Optional signed terminal cash flow target after final payment | 0 |
| 5 | type |
Optional timing: 0 end of period, 1 beginning of period |
0 |
Documentation transcription warning: The current English vendor PMT page prints PMT(rate, nper, pv, [fv], [type) (missing the final ] on [type]). Its argument table clearly identifies both optional parameters, so this review supplies the corrected balanced display PMT(rate, nper, pv, [fv], [type]). This is a documentation punctuation correction, not an unverified sixth argument.
Signs: The vendor explains that money paid out is negative and money received is positive. Thus a loan with pv=10000 and negative payments models the borrower receiving $10,000 then making outflows. Interest must be expressed per payment period, not automatically per year. type=0 means end-of-period; type=1 means beginning-of-period.
Reproducible worksheet baseline (start with a blank sheet)
Set the editor’s formula language to English and use the documented comma-separated argument style for these examples. In a fresh blank worksheet, enter the following exactly. Cells outside this table should remain empty before placing results. Format rate cells as percentages if desired; formatting changes only display, not the stored rate.
| Cell | Enter exactly | Meaning / expected displayed value |
|---|---|---|
B2 |
=6%/12 |
Periodic rate = 0.005 (0.5% per month) |
B3 |
60 |
60 monthly payments |
B4 |
10000 |
$10,000 received at outset |
B5 |
0 |
Zero remaining future cash flow |
B6 |
0 |
Payments due at period end |
B7 |
1 |
Period-one counter for amortization |
B8 |
-200 |
Alternative fixed payment (outflow) |
B9 |
0.005 |
Plausible RATE solver starting guess |
B10 |
-150 |
Monthly savings deposit (outflow) |
B11 |
10000 |
Positive future savings target |
B12 |
=4%/12 |
4% nominal annual savings return, monthly |
B13 |
=PMT(B2,B3,B4,B5,B6) |
Baseline monthly payment, approximately −193.328015 |
In another unused column, enter one formula from the examples at a time. For example, use D2 for the first formula, D3 for the next, and so forth. Do not overwrite B2:B13 or change the baseline values between examples. Each table formula is a complete formula ready to type, not a fragment. Where alternative rates, terms or timing appear as literals, they intentionally override only those baseline assumptions. The figures are independently calculated mathematical expectations, not observed output from ONLYOFFICE.
Worked formulas and expected outputs
The expected results below were computed independently from the vendor docs; they are not claims of successful ONLYOFFICE execution. A displayed result is rounded to six decimals for readability; compare higher precision if validating workbook execution.
| # | Formula to enter in a fresh output cell | Expected numeric value | What this tests |
|---|---|---|---|
| 1 | =PMT(B2,B3,B4) |
-193.328015 |
Default fv=0, type=0; monthly payment on the $10,000 loan. |
| 2 | =PMT(B2,B3,B4,B5,B6) |
-193.328015 |
Explicit defaults reproduce the same payment. |
| 3 | =PMT(6%/12,12*5,10000) |
-193.328015 |
Annual percentage divided by 12; five years converted to 60 months. |
| 4 | =PMT(B2,B3,B4,0,1) |
-192.366184 |
Beginning-of-month payments reduce the required payment magnitude. |
| 5 | =PMT(0,12,1200) |
-100.000000 |
At zero interest, divide $1,200 evenly into 12 payments. |
| 6 | =PMT(B2,B3,B4,-2000,0) |
-164.662412 |
A negative terminal cash-flow target alters payment size; observe fv sign. |
| 7 | =PMT(B2,B3,B4,2000,0) |
-221.993618 |
Positive terminal cash flow increases the required negative payment. |
| 8 | =PMT(B2,B3,-10000) |
193.328015 |
Reversing the cash-flow sign reverses the payment sign. |
| 9 | =PMT(4%/12,60,10000) |
-184.165221 |
Lower APR scenario, same term. |
| 10 | =PMT(8%/12,60,10000) |
-202.763943 |
Higher APR scenario, same term. |
| 11 | =PMT(6%/12,120,10000) |
-111.020502 |
Longer term lowers periodic payment but generally raises total interest. |
| 12 | =PMT(6%,5,10000) |
-2373.964004 |
Five annual periods; do not mistake for monthly. |
| 13 | =PMT(4%/12,60,0,10000,0) |
-150.831887 |
Monthly savings deposits toward a positive $10,000 future balance. |
| 14 | =PMT(4%/12,60,0,10000,1) |
-150.330785 |
Savings deposits at beginning of each month. |
Formula-entry sequence: Open a blank sheet, enter the baseline table exactly, choose an unused output cell, type the leading = and the complete expression, then press Enter. The ONLYOFFICE function guide also describes the Formula tab and Shift+F3 for choosing a function. Each test should be run with the indicated argument count; commas are literal separators in the documented English configuration. Compare the result against the expected value and record any native discrepancy with exact app build and locale.
Advanced uses and independent mathematical explanation
Derive the payment rather than memorize a number
If r is the per-period rate and n is number of payments, the end-of-period annuity factor is A=((1+r)^n−1)/r. For nonzero r, expected PMT is −(pv×(1+r)^n + fv)/(A×(1+r×type)). If r=0, expected PMT is −(pv+fv)/n. This identity explains why changing type from zero to one reduces the negative payment magnitude: each deposit is invested one period sooner. It is independent financial mathematics, not a native-onlyoffice formula implementation claim.
Compare fixed-rate scenarios
A borrower comparing =PMT(4%/12,60,10000) with =PMT(8%/12,60,10000) sees a higher periodic payment for the higher rate when the term and proceeds are unchanged. For a five-year example, multiply the unrounded payment by 60 to estimate total contractual payments and then compare with the $10,000 proceeds. A lender may round individual installments and adjust the final balance; that is outside the PMT calculation.
Savings interpretation
=PMT(4%/12,60,0,10000) starts with no balance, targets a positive future savings amount and returns the required negative periodic deposit. Setting type=1 assumes deposits at the beginning of each month. Neither example incorporates taxes, fees, changing returns or contributions with variable timing.
Troubleshooting and limits — documented versus inferred
| Problem / observation | Likely issue and actionable response |
|---|---|
| Result is negative | With a positive loan pv, the borrower’s recurring cash payments are outflows; change the presentation, not the sign assumptions. |
| Payment seems too large | Check whether rate is annual APR instead of rate per payment period; use 6%/12 for a nominal 6% APR with monthly periods. |
| Savings payment looks reversed | Use pv=0 and a positive fv target; then negative PMT represents the deposit outflow. |
| Beginning vs end mismatched | Use type=1 for period-start payments and 0 or omission for period-end payments. |
| Not a feasible repayment | A nonpositive period count, inconsistent signs or unrealistic future value can give meaningless results; application-specific error displays are untested. |
Related ONLYOFFICE functions
Locale and workbook compatibility
The examples use English function names, decimal points and comma argument separators, matching the function-entry guide. Adapt notation to the installed formula-language and region settings. When moving a workbook between products, recalculate the small sample in the destination version before trusting the full model. Display precision is separate from the stored value; retain unrounded intermediate values when reconciling totals.
Official references
- ONLYOFFICE PMT function reference: purpose, syntax and argument meanings.
- Spreadsheet Editor formula entry: function catalog and English entry syntax.
- Docs release history and Desktop Editors release history: separate product timelines.