ISO.CEILING Function (LibreOffice Calc)
Learn the ISO.CEILING function in LibreOffice Calc: Rounds a number up to the nearest multiple of significance, regardless of sign of significance.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in LibreOffice Calc. How formula examples are checked
Validation scope: Native observations below are recorded in saved LibreOffice Calc 25.2.3.2 Linux evidence dated 13 October 2026 at 10:03 UTC. This later review verified the artifact hashes, all 94 ODS/result pairs and 70 independent Decimal calculations, and checked the official Help. Calc was not rerun for this review. Saved observations are limited to the stated build and setup.
At a glance
ISO.CEILING moves a number up toward positive infinity to a multiple of a chosen step. The step can be negative in the argument—the function ignores its sign. This means that positive numbers become larger or stay unchanged, while negative numbers can become less negative. For example, -45.67 rounded upward to a multiple of 2 becomes -44, not -46. This differs from rounding away from zero. LibreOffice Help, ISO.CEILING, reviewed 2026-10-13.
In one line: =ISO.CEILING(3.45;2) returns 4. It is useful for whole-box purchasing, price increments, time slots and any other positive-direction rounding rule. Do not use it when your policy says “always increase the absolute magnitude” of a negative number.
Syntax and arguments
=ISO.CEILING(Number [; Significance])
| Argument | Required | What it means |
|---|---|---|
Number |
Yes | A number or cell reference holding the number to round. |
Significance |
No | Desired multiple/step. Defaults to 1. The sign of a supplied step is ignored. |
The square brackets in the syntax documentation mean that the second argument is optional; do not type square brackets into your formula. The formulas here use ; between arguments and . for decimal fractions in an English-language Calc setup. Other locales or formula-separator preferences may display a comma for decimal fractions or a different argument separator. Official syntax and default, retrieved 2026-10-13.
A useful independent mathematical model for a nonzero step s is:
s = ABS(Significance)
ISO.CEILING(x; s) ≈ s × mathematical_ceiling(x / s)
The mathematical ceiling is the smallest integer greater than or equal to its input. The ≈ reminds you that spreadsheet floating-point arithmetic can introduce precision effects near exact boundaries. This is a mathematical check, not a promise that the nested Calc formula CEILING(x/s) has identical compatibility and error semantics. In the tested Calc 25.2.3.2, a zero step returned 0 rather than using this nonzero-step model.
Reproducible Calc examples
Enter each formula into a blank cell. Expected values below were observed natively with LibreOffice Calc 25.2.3.2 on Linux on 2026-10-13, and independently checked using decimal arithmetic.
| Formula | Expected result | Explanation |
|---|---|---|
=ISO.CEILING(3.45) |
4 |
Omitted step means 1. |
=ISO.CEILING(-1.234) |
-1 |
Rounds up toward positive infinity. |
=ISO.CEILING(3.45;2) |
4 |
Next multiple of two. |
=ISO.CEILING(3.45;-2) |
4 |
Negative significance has the same effect. |
=ISO.CEILING(-45.67;2) |
-44 |
Negative value becomes less negative. |
=ISO.CEILING(-45.67;-2) |
-44 |
Sign of the step is ignored. |
=ISO.CEILING(6;3) |
6 |
Exact multiples remain unchanged. |
=ISO.CEILING(1.26;0.25) |
1.5 |
Rounds upward to a quarter. |
=ISO.CEILING(-1.26;0.25) |
-1.25 |
Negative ceiling is closer to zero. |
=ISO.CEILING(0.01;0.05) |
0.05 |
Moves a small positive value to the next nickel increment. |
=ISO.CEILING(-0.01;0.05) |
0 |
The next multiple above a tiny negative value is zero. |
=ISO.CEILING(125;24) |
144 |
Next multiple of 24. |
=ISO.CEILING(10;0.3) |
10.2 |
A noninteger step. |
Cell-reference example: purchasing full cartons
Set up this table, entering the labels in A1–A5 and the sample values/formulas in B1–B5:
| Cell | Label / value | What to enter in B |
|---|---|---|
| A1/B1 | Units needed | 125 |
| A2/B2 | Units per carton | 24 |
| A3/B3 | Units to order | =ISO.CEILING(B1;B2) |
| A4/B4 | Full cartons to buy | =B3/B2 |
| A5/B5 | Surplus units | =B3-B1 |
The results are 144 units, 6 cartons, and 19 surplus units. This makes the rounding rule explicit: buy enough complete cartons to meet or exceed demand. If the box size is zero, missing, or invalid, do not silently use a result of zero; validate the input first.
=IF(OR(B2<=0;NOT(ISNUMBER(B1));NOT(ISNUMBER(B2)));"Check quantities";ISO.CEILING(B1;B2))
This is a suggested data-validation guard, not an inherent validation performed by ISO.CEILING. If fractional carton sizes are not allowed, add a whole-number check, for example B2=INT(B2).
More practical uses
Prices in increments of five cents. With an unrounded selling price in D2, use =ISO.CEILING(D2;0.05). For 72.41, the native result was 72.45. Currency rounding policies vary; this is a demonstration of a mathematical step, not a legal recommendation for cash/tax rounding.
15-minute slot allocation. Calc stores dates and times as day-based serial values. A 15-minute interval is 15/1440 days. For a time value in A2, =ISO.CEILING(A2;15/1440) can move to the next quarter-hour. Format the result as a date/time. Verify dates, time zones, daylight-saving changes and scheduling policies separately; this is numeric serial rounding, not a timezone-aware calculation.
Reproducible validation. If the value in E2 is the computed multiple and B2 is a strictly positive step, =MOD(E2;B2) should be near zero (allow for floating-point tolerance rather than demanding exact equality). A workbook with 24-unit cartons can also verify E2>=B1.
Rounding comparisons: which function should you use?
These related functions have distinct rounding or compatibility rules:
| Function | Direction / key distinction | Existing tutorial |
|---|---|---|
ISO.CEILING |
Up toward +∞; ignores significance sign | This page |
CEILING.PRECISE |
Documented as numerically identical to ISO.CEILING | CEILING.PRECISE |
CEILING.MATH |
Optional mode can change negative-number rounding | CEILING.MATH |
CEILING.XCL |
Legacy Excel interoperability and distinct sign rules | CEILING.XCL |
FLOOR.PRECISE |
Down toward −∞ | FLOOR.PRECISE |
MROUND |
Nearest step, not necessarily upward | MROUND |
ROUNDUP |
Rounds away from zero by digits, not a chosen multiple | ROUNDUP |
The official Help explicitly identifies CEILING.PRECISE and ISO.CEILING as equivalent in their numerical result. They have separate documented names and compatibility namespaces; use the documented function name appropriate to the workbook. Official Help, equivalence.
Errors, unusual inputs, and troubleshooting
The following are observations from Calc 25.2.3.2 (Linux), not a guarantee of identical error codes in every locale or release. The official function definition states that nonnumeric arguments are invalid.
| Input or issue | Observed result | What to do |
|---|---|---|
=ISO.CEILING(3.45;0) |
0 |
A zero step has no meaningful nonzero multiple; validate the input rather than accepting a misleading zero. |
=ISO.CEILING("hello";2) |
#VALUE! (internal code 519) |
Use a real numeric input; check imported cells. |
=ISO.CEILING(3.45;"apple") |
#VALUE! (519) |
Supply a numeric step. |
=ISO.CEILING("3.45";2) |
4 in the tested locale |
Numeric text coercion can depend on locale/settings. Prefer real numbers. |
=ISO.CEILING(3.45;2;1) |
Err:504 |
ISO.CEILING accepts at most two arguments; use CEILING.MATH only when its mode behavior is intended. |
=ISO.CEILING() |
Err:511 |
Supply the required Number. |
=ISO.CEILING(NA();2) |
#N/A |
Correct the source formula or use a deliberate error-handling policy. |
=ISO.CEILING(TRUE();2) |
2 |
Booleans can be coerced. Avoid relying on this for numeric business inputs. |
Surprising negative results? Check whether the rule should mean toward +∞, toward zero, away from zero, or to the nearest multiple. These are four different things. For instance, =ISO.CEILING(-45.67;2) gives -44 whereas =FLOOR.PRECISE(-45.67;2) gives -46.
Unexpected decimal tail? Binary floating-point storage can show small residuals. Keep the underlying calculation separate from cell formatting; do not use displayed decimal places as proof of exact arithmetic. In important financial workflows, independently verify boundary cases and actual required rounding rules.
Formula displays literally? Make sure the cell is not formatted as Text and that the formula begins with =. With localized separators, use the separators accepted by your Calc configuration.
Version, format and platform compatibility
LibreOffice Help states that ISO.CEILING has been available since LibreOffice 4.3. It identifies the compatibility function namespace as COM.MICROSOFT.ISO.CEILING and says that the function is not part of the ODF 1.3 OpenFormula function set. This does not mean the name is unusable in an ODS document; it means portability requires attention to the extension namespace and to the target application’s parser. LibreOffice Help, technical information.
Native execution was verified on Calc 25.2.3.2 on Linux, 2026-10-13. The official online Help showed the LibreOffice 26.8 label when checked, so its current text should not be misrepresented as native 25.2 testing. Windows, macOS, Excel, Google Sheets and other spreadsheet engines were not executed for this guide. Do not infer compatibility merely because similarly named functions exist elsewhere. For .xlsx handoffs, test sample negative-number and zero-step cases after importing and recalculating.
Validation summary and sources
A native UNO-driven Calc workbook executed 35 numerical assertions for ISO.CEILING; all matched independent Python Decimal ceiling calculations to the documented tolerance. The batch also recorded 12 native ISO.CEILING diagnostics, with the raw formulas, displayed results, internal errors, script, and ODS workbook. These are observations, not a guarantee of future-version behavior.
Dated, claim-level official references (reviewed 2026-10-13):