Contact

EVEN Function (LibreOffice Calc)

Mathematics Beginner LibreOffice Calc Introduction not established

The EVEN function rounds a number up to the nearest even integer. It always rounds away from zero, regardless of sign.

Verification status: Consult the documentation, examples and any stated test scope below. How formula examples are checked

Availability and version history

  • Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
  • Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
  • Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
  • Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
The **EVEN** function rounds a number **up to the nearest even integer**, always **away from zero**. It is used in data normalization, engineering calculations, and integer‑based modeling.

What the EVEN Function Does

  • Rounds up to the nearest even integer
  • Always rounds away from zero
  • Works with positive and negative numbers
  • Useful for batching, grouping, and integer normalization

Syntax

EVEN(number)

Arguments

  • number:
    Any real number to be rounded to the next even integer.

Basic Examples

Positive numbers

=EVEN(3.2)
→ 4

=EVEN(4)
→ 4

=EVEN(4.1)
→ 6

Negative numbers (round away from zero)

=EVEN(-1.2)
→ -2

=EVEN(-4)
→ -4

=EVEN(-4.1)
→ -6

Zero

=EVEN(0)
→ 0

Advanced Examples

Normalize quantities to even packaging units

=EVEN(A1)

Force even row indexing

=EVEN(ROW())

Round time intervals to even minutes

=EVEN(MINUTE(A1))

Combine with ABS for symmetric rounding

=SIGN(A1) * EVEN(ABS(A1))

Use in engineering tolerances

=EVEN(A1 / tolerance) * tolerance

Ensure even batch sizes

=EVEN(quantity / 2) * 2

Edge Cases and Behavior Details

EVEN returns an integer

Behavior details

  • Always rounds away from zero
  • If the number is already even → returned unchanged
  • Works with decimals, integers, and negative values
  • Equivalent to:
    • Positive: round up to next even
    • Negative: round down to next even (more negative)

Invalid input → Err:502

Common Errors and Fixes

Err:502 — Invalid argument

Cause:

  • Non‑numeric input
  • Text values
  • Invalid references

Fix:

  • Wrap with VALUE()
  • Validate numeric input

Unexpected rounding direction

Cause:

  • EVEN always rounds away from zero

Fix:

  • Use INT or ROUND if you need symmetric rounding

Best Practices

  • Use EVEN when you need predictable, away‑from‑zero rounding
  • Use ODD for the complementary odd‑integer rounding
  • Combine with ABS and SIGN for custom rounding logic
  • Use in batching, packaging, and engineering normalization
  • Document rounding assumptions in models
EVEN is perfect when you need deterministic, away‑from‑zero rounding to even integers — ideal for batching, indexing, and engineering workflows.
  • ODD — round to nearest odd integer
  • INT / TRUNC — toward zero
  • ROUND / ROUNDUP / ROUNDDOWN — general rounding
  • CEILING / FLOOR — directional rounding
  • ABS / SIGN — custom rounding logic

By mastering EVEN, you can build clean, predictable integer‑rounding workflows in LibreOffice Calc.


Reproducible example (tested in LibreOffice Calc)

This standalone example was calculated in LibreOffice Calc 25.2.3.2 and matched the expected value. It is a practical cross-check of one usage, not proof that every example elsewhere on this page is correct.

=EVEN(5)

Expected result: 6.

Round a number away from zero to an even integer.

If the result differs, check the referenced cells, argument separators and number formatting. For more information, consult the LibreOffice Calc official help.