2️⃣ Even or Odd Number Calculator

Determine whether a whole number is even or odd using its remainder after division by 2.

No ratings yet — be the first

Enter details

Even or odd
Iseven or odd?

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Even or Odd formula: r = n mod 2; r = 0
How the even or odd works: r = n mod 2

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Even or Odd Number Calculator

An even number is divisible by 2; an odd number leaves remainder 1. The last digit decides: 0, 2, 4, 6, 8 are even. The checker also lists the number's factors and prime factorisation.

🧮 Formula

Parity remainder
r = n mod 2
Even condition
r = 0

Where

  • n = input number
  • r = n - floor(n/2) x 2
The input should be a whole number.

✏️ Worked examples

42

You enter
Number42
You get
Is 42 even or odd?Even
Remainder when divided by 20
Next even / odd number44 / 43
Prime factorisation of 422 × 3 × 7
Prime number?No — composite
Factors (8)1, 2, 3, 6, 7, 14, 21, 42

Even; 2 × 3 × 7.

97

You enter
Number97
You get
Is 97 even or odd?Odd
Remainder when divided by 21
Next even / odd number98 / 99
Prime factorisation of 9797
Prime number?Yes — prime
Factors (2)1, 97

Odd; Yes — prime.

🧭 How to use this calculator

What you enter

  • Number

What you get

  • Even Number
  • Odd Number
  • Remainder after Division by 2

💡 Examples

  • 8 is even.
  • 15 is odd.
  • 0 is even.

❓ Frequently asked questions

Is 0 even or odd?

Even — it is divisible by 2.

Are negative numbers even or odd?

The same rule applies: −4 is even, −7 is odd.