Skip to content

Even and Odd Numbers Calculator

Paste whole numbers and see them sorted into even and odd values. The panel under the calculator counts each group and finds its sum, mean, median and mode, and says whether the whole list has an odd or even count, which decides how the median is found.

Back to Calculators

Calculator

Results

Enter your numbers, then press Calculate.

Your mean, median and mode appear here, together with the working, the frequency table and the advanced statistics.

Frequency table

Advanced statistics

Step by step

Saved calculations

History is stored only in this browser. Nothing is sent to our server, and Clear history removes it.

Results are for educational purposes. Please verify important calculations. Read the disclaimer, the privacy policy and the guide to how to use the calculator.

Even and odd breakdown

Uses the numbers in the calculator above. Press the button, or Calculate, to refresh.

What are even and odd numbers?

An even number can be divided by 2 with nothing left over, such as 2, 4, 12 and 20. An odd number leaves 1 left over, such as 3, 7, 15 and 21. This calculator sorts your whole numbers into these two groups and finds the sum, mean, median and mode of each group.

How do I split a list into even and odd numbers?

Check each number. If it divides by 2 exactly, it goes in the even group. If not, it goes in the odd group. Take the list 12, 15, 15, 18, 20, 22 and 7. The table below shows the two groups and their answers.

GroupNumbersCountSumMeanMedianMode
Even12, 18, 20, 224721819None
Odd15, 15, 733712.331515

Why does an odd or even count change the median?

This is about how many numbers are in the list, not about the numbers themselves. With an odd count, the median is the middle value. With an even count, there is no single middle value, so the median is the mean of the two middle values.

The even group above has 4 numbers, so its median is (18 + 20) / 2 = 19. The odd group has 3 numbers, so its median is the middle one, 15.

How do I use this even and odd numbers calculator?

Type or paste whole numbers into the box, using commas, spaces or new lines. Press calculate. The panel under the calculator counts the even and odd numbers and shows the sum, mean, median and mode for each group. It also says whether your whole list has an odd or even count.

Remember that “an even number of values” describes the size of the dataset, not whether each value is even. For example, the list 1, 3, 5, 7 has four values, so its median is the average of the two middle values: (3 + 5) ÷ 2 = 4. This rule works for any sorted numerical list.

Frequently asked questions about even and odd numbers

Is zero even or odd?

Zero is even, because it divides by 2 with nothing left over.

Can negative numbers be even or odd?

Yes. −4 is even and −3 is odd. The same rule works for negative whole numbers.

What about decimals?

Decimals such as 2.5 are neither even nor odd, so use whole numbers here. For decimals, use the decimal calculator.

Can an odd number be negative?

Yes. For example, −3 is odd because it is not divisible by 2 without a remainder.

Is an even-sized dataset the same as a list of even numbers?

No. Even-sized means the list has an even count of values; the values themselves may be even or odd.

To work on all your numbers together, use the mean, median, mode and range calculator. Read about odd and even data sets or practise with the statistics practice questions.

Last updated:

Other calculators

How are these results calculated?

The calculator uses the median-of-halves method for quartiles. For an odd number of values, the middle value is included in both halves. Percentiles use linear interpolation with position (p ÷ 100) × (n − 1). Other tools may use different rules.

Method and references

For an independent explanation of statistical methods, see the NIST/SEMATECH e-Handbook of Statistical Methods. This is a reference for general methods, not a claim of endorsement or external review. Check the calculator’s displayed steps for the exact operation used.

Scroll to Top