Whole Numbers: Definition, Properties, Formulas and Examples

Whole Numbers are the non-negative integers starting from 0 and continuing without an end: 0, 1, 2, 3, and so on. This page covers their definition, number-line representation, predecessor and successor, arithmetic properties, formulas, whole numbers examples, and common whole numbers problems.

On this page

What Are Whole Numbers?

Whole numbers are the set of non-negative integers, including zero: 0, 1, 2, 3, 4, and so on. They do not include negative numbers, fractions, or decimals.

The set of whole numbers is written as W = {0, 1, 2, 3, ...}. It is an infinite set because there is no greatest whole number. Every natural number is a whole number, but 0 is a whole number that is usually not included in the set of natural numbers.

Whole Numbers Video Lessons

Watch short topic-wise lessons for quick revision.

17 Lessons
Lesson 1 of 17 Quick Revision

Types of Numbers Classification

Understand the classification of numbers, including natural, whole, integer, rational, irrational, real and complex numbers, and see how these categories are related in the classification tree.

Continue with more lessons and practice in PrepShots.Watch More in App - Start ₹1 Trial →
More Whole Numbers Lessons Scroll to explore →

Whole Numbers Formula & Tricks

Important Formulas

Successor
Successor of n = n + 1

The successor is the whole number immediately after n.

Predecessor
Predecessor of n = n - 1, for n > 0

The predecessor is the whole number immediately before n. Zero has no predecessor in the set of whole numbers.

Sum of the first n whole numbers
0 + 1 + 2 + ... + n = n(n + 1) / 2

This formula gives the sum of all whole numbers from 0 to n.

Number of whole numbers in an interval
Number of whole numbers from a to b = b - a + 1, where a and b are whole numbers and a ≤ b

The endpoints are included in the count. For example, from 4 to 9, the count is 9 - 4 + 1 = 6.

Quick Tricks

Use zero carefully in multiplication and division

Multiplying any whole number by 0 gives 0. Division by 0 is undefined, so 0 cannot be used as a divisor.

Example: 18 × 0 = 0, but 18 ÷ 0 is not defined.
Count consecutive whole numbers with the endpoint formula

For consecutive whole numbers, subtract the lower endpoint from the upper endpoint and add 1.

Example: The numbers from 12 to 20 inclusive are 20 - 12 + 1 = 9 numbers.
Check whether the result remains a whole number

Addition and multiplication of whole numbers always produce whole numbers. Subtraction and division may produce a negative number, fraction, or undefined result.

Example: 8 - 3 = 5 is a whole number, but 3 - 8 = -5 is not a whole number.

Whole Numbers Concepts

Representation on the Number Line

Whole numbers are represented by equally spaced points beginning at 0 on the number line and extending to the right.

Each number to the right is 1 greater than the previous number. Therefore, 7 is greater than 4 because 7 lies farther to the right. The distance between two whole numbers a and b, where b ≥ a, is b - a units.

Example: The distance between 3 and 10 is 10 - 3 = 7 units.

Successor and Predecessor

The successor of a whole number is obtained by adding 1, while its predecessor is obtained by subtracting 1 when the number is greater than 0.

For a whole number n, successor = n + 1. For n > 0, predecessor = n - 1. Zero has a successor, 1, but it has no predecessor within the whole-number set because -1 is not a whole number.

Example: The successor of 29 is 30, and the predecessor of 29 is 28.

Properties of Addition and Multiplication

Whole numbers are closed under addition and multiplication, and both operations satisfy commutative and associative properties.

Closure means the result remains a whole number. For whole numbers a, b, and c: a + b and a × b are whole numbers; a + b = b + a; a × b = b × a; (a + b) + c = a + (b + c); and (a × b) × c = a × (b × c). The distributive property is a × (b + c) = a × b + a × c.

Example: 3 × (4 + 2) = 3 × 4 + 3 × 2 = 12 + 6 = 18.

Closure Under Subtraction and Division

Whole numbers are not closed under subtraction or division because these operations can produce results outside the set of whole numbers.

Subtraction may give a negative number, and division may give a fraction or may be undefined when the divisor is zero. A subtraction result is a whole number only when the minuend is at least as large as the subtrahend. A division result is a whole number only when the divisor is non-zero and divides the dividend exactly.

Example: 9 - 4 = 5 is a whole number, but 4 - 9 = -5 is not. Also, 7 ÷ 2 = 3.5 is not a whole number.

Even and Odd Whole Numbers

An even whole number is divisible by 2, while an odd whole number leaves remainder 1 when divided by 2.

Even whole numbers have the form 2k, and odd whole numbers have the form 2k + 1, where k is a whole number. The last digit of an even number is 0, 2, 4, 6, or 8. The last digit of an odd number is 1, 3, 5, 7, or 9.

Example: 24 = 2 × 12, so 24 is even. Also, 25 = 2 × 12 + 1, so 25 is odd.

Whole Numbers Data Table

Use the structured data below while following the explanation and examples.

Whole Numbers and Related Number Sets

Comparison of whole numbers with natural numbers and integers

Number set Meaning Examples
Whole numbers Non-negative integers including 0 0, 1, 2, 3
Natural numbers Counting numbers; commonly starts from 1 1, 2, 3, 4
Integers Positive numbers, negative numbers and 0 -3, -2, -1, 0, 1

Note: Some mathematical conventions include 0 in the natural numbers, but whole numbers always include 0.

Learn more concepts on PrepShots

Start ₹1 Trial →

Practice Whole Numbers Questions

Practise published questions related to this topic.

Want more practice questions?

Practice in App →

Whole Numbers Quick Quiz

Attempt 5 questions and check your score instantly.

Quick Revision Notes

Whole Numbers Revision Points

Key rules and formulas for quick revision

  • Whole numbers are W = {0, 1, 2, 3, ...}.
  • Zero is the smallest whole number, and there is no greatest whole number.
  • Successor of n is n + 1.
  • Predecessor of n is n - 1 for n > 0; zero has no whole-number predecessor.
  • Whole numbers are closed under addition and multiplication.
  • Whole numbers are not closed under subtraction and division.
  • Division by zero is undefined.
  • The number of whole numbers from a to b, inclusive, is b - a + 1.

Whole Numbers FAQs

Is 0 a whole number?

Yes. Zero is the smallest whole number, and the whole-number set is W = {0, 1, 2, 3, ...}.

What is the difference between whole numbers and natural numbers?

Whole numbers include 0 and all positive integers. Natural numbers commonly begin with 1, although some conventions also include 0.

What is the sum of the whole numbers from 0 to 20?

Use n(n + 1) / 2: 20 × 21 / 2 = 210.

How many whole numbers are there from 15 to 32 inclusive?

The count is 32 - 15 + 1 = 18.

Are whole numbers closed under subtraction?

No. For example, 3 - 8 = -5, and -5 is not a whole number.

Are whole numbers closed under division?

No. For example, 5 ÷ 2 = 2.5, which is not a whole number. Division by zero is also undefined.

Continue learning Whole Numbers on PrepShots

Continue on PrepShots