Excel MOD function🧮 Remainder
The MOD function: Remainder. Odd/even check (MOD(n,2)), splitting into sets. This page shows the syntax, a worked example with its result and how the formula reads.
What does MOD do?
Remainder. Odd/even check (MOD(n,2)), splitting into sets
MOD syntax
=MOD(number, divisor)
Arguments in square brackets [ ] are optional · argument names follow Microsoft's documentation
MOD example with the result
=********
👑 Ready-to-use example formula for VIP supporters only · Become VIP
Formula in cell C2 Yellow cells = result
| A | B | C | |
|---|---|---|---|
| 1 | Eggs | Per tray | Left over |
| 2 | 25 | 12 | 1 |
How it reads: 25 divided by 12 is 2 trays, how many are left
Frequently asked questions about MOD
What does MOD do?
Remainder. Odd/even check (MOD(n,2)), splitting into sets
What does the MOD example return?
The example formula in cell C2 gives 1.
Which Excel versions have MOD?
It has been in Excel for many versions and works in the versions in common use today, including Excel for Microsoft 365.
🕸️ More math formulas and related ones
Source: support.microsoft.com
Checked 17 November 2026 · by Black Sheep Barn · example results are calculated by the app's example engine, for learning