Practice free

EVEN function

EVEN rounds a number up in size to the nearest even whole number, moving away from zero. It is useful, for example, when packing items in pairs.

Example

Read it as a sentence: round 3.1 up to the next even whole number, which gives 4.

Practice this in the app

Syntax

EVEN(number)

number (required)
The value to round.

Returns: The nearest even integer, rounding away from zero.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=EVEN(0.5) 2 Positive
=EVEN(0) 0 Zero
=EVEN(-0.5) -2 Negative
=EVEN(2) 2 Larger value
=EVEN("0.5") 2 Text number "0.5"
=EVEN(TRUE) 2 TRUE
=EVEN("abc") #VALUE! Non-numeric text
=EVEN(Data!E4) #DIV/0! Error cell propagates

The Data sheet these formulas read

A cell that starts with = holds that formula.

Watch out for

  • Negative numbers round to more negative: EVEN(-1) is -2.

Where it works

Excel
EVEN is in every version of Excel from 2007 on.
Google Sheets
Same name, same behaviour for everyday use.

Part of Math and trig functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .