Types of numbers and the four common number systems

Updated

Introduction :

Number System is a method of representing Numbers on the Number Line with the help of a set of Symbols and rules. These symbols range from 0-9 and are termed as digits. Number System is used to perform mathematical computations ranging from great scientific calculations to calculations like counting the number of Toys for a Kid or Number chocolates remaining in the box. Number Systems comprise of multiple types based on the base value for its digits.

Positive Numbers: –Numbers that are represented on the right side of the zero are termed as Positive Numbers. The value of these numbers increases on moving towards the right. Positive numbers are used for Addition between numbers. Example: 1, 2, 3, 4, …

Negative Numbers: – Numbers that are represented on the left side of the zero are termed as Negative Numbers. The value of these numbers decreases on moving towards the left. Negative numbers are used for Subtraction between numbers. Example: -1, -2, -3, -4, …

What are the types of Number?

A number is a value created by the combination of digits with the help of certain rules. These numbers are used to represent arithmetical quantities. A digit is a symbol from a set 10 symbols ranging from 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.  Any combination of digits represents a Number. The size of a Number depends on the count of digits that are used for its creation.

For Example: 1243, 1224, 0.345, -16, 73, 96, etc. 

Different Types of Number:-

Numbers are of various types depending upon the patterns of digits that are used for their creation. Various symbols and rules are also applied on Numbers which classifies them into a variety of different types:-

1. Natural Numbers: Natural Numbers are the most basic type of Numbers that range from 1 to infinity. These numbers are also called Positive Numbers or Counting Numbers. Natural Numbers are represented by the symbol N.

Example : 1,  2, 3, 4, 5, 6, 7, and so on.

2. Whole Numbers: Whole Numbers are basically the Natural Numbers, but they also include ‘zero’.  Whole numbers are represented by the symbol W.

Example : 0, 1, 2, 3, 4, and so on.

3. Integers: Integers are the collection of Whole Numbers plus the negative values of the Natural Numbers. Integers do not include fraction numbers i.e. they can’t be written in a/b form. The range of Integers is from the Infinity at the Negative end and Infinity at the Positive end, including zero. Integers are represented by the symbol Z.

Example : …,-4, -3, -2, -1, 0, 1, 2, 3, 4,…

Number line from minus 5 to 5 with rows of dots for natural numbers from 1, whole numbers from 0 and integers on both sides of zero.

4. Fractions: Fractions are the numbers that are written in the form of a/b, where, a belongs to Whole numbers and b belongs to Natural Numbers, i.e., b can never be 0. The upper part of the fraction i.e. a is termed as a Numerator whereas the lower part i.e. b is called Denominator.

Example : 1/2, 3/7, 8/3, etc.

5. Rational Numbers: Rational numbers are the numbers that can be represented in the fraction form i.e. a/b. Here, a and b both are integers and b≠0. All the fractions are rational numbers but not all the rational numbers are fractions.

Example : -2/5, 0.54, 1/5, 13/4, …

6. Irrational Numbers: Irrational numbers are the numbers that can’t be represented in the form of fractions i.e. they can not be written as a/b.

Example : √2, √3, √.434343, π…

7. Real and Imaginary Numbers: Real numbers are the numbers that can be represented in the decimal form. These numbers include whole numbers, integers, fractions, etc. All the integers belong to Real numbers but all the real numbers do not belong to the integers.

Imaginary Numbers are all those numbers that are not real numbers. These numbers when squared will result in a negative number. The √-1 is represented as i. These numbers are also called complex numbers.

Example : √-2, √-5,…

8. Prime Numbers and Composite Numbers: Numbers that do not have any factors other than 1 and the number itself are termed as Prime Numbers. All the numbers other than Prime Numbers are termed as Composite Numbers except 0. Zero is neither prime nor a composite number.

Example : 2, 3, 5, 7,… are prime numbers and 4, 6, 8, 9, 12,… are composite numbers

What are the types of Number Systems?

Based on the base value and the number of allowed digits, number systems are of many types. The four common types of Number System are:

  1. Decimal Number System
  2. Binary Number System
  3. Octal Number System
  4. Hexadecimal Number System

1. Decimal Number System :

Number system with base value 10 is termed as Decimal number system. It uses 10 digits i.e. 0-9 for the creation of numbers. Here, each digit in the number is at a specific place with place value a product of different powers of 10. Here, the place value is termed from right to left as first place value called units, second to the left as Tens, so on Hundreds, Thousands, etc. Here, units has the place value as \(10^{0}\), tens has the place value as \(10^{1}\), hundreds as \(10^{2}\), thousands as \(10^{3}\), and so on.

For example: 10285 has place values as

(1 × \(10^{4}\)) + (0 × \(10^{3}\)) + (2 × \(10^{2}\)) + (8 × \(10^{1}\)) + (5 × \(10^{0}\))

1 × 10000 + 0 × 1000 + 2 × 100 + 8 × 10 + 5 × 1

10000 + 0 + 200 + 80 + 5

10285

2. Binary Number System :

Number System with base value 2 is termed as Binary number system. It uses 2 digits i.e. 0 and 1 for the creation of numbers. The numbers formed using these two digits are termed as Binary Numbers. Binary number system is very useful in electronic devices and computer systems because it can be easily performed using just two states ON and OFF i.e. 0 and 1.

Decimal Numbers 0-9 are represented in binary as: 0, 1, 10, 11, 100, 101, 110, 111, 1000, and 1001

Examples :

14 can be written as 1110

19 can be written as 10011

3. Octal Number System :

Octal Number System is one in which the base value is 8. It uses 8 digits i.e. 0-7 for creation of Octal Numbers. Octal Numbers can be converted to Decimal value by multiplying each digit with the place value and then adding the result. Here the place values are \(8^{0}\), \(8^{1}\), and \(8^{2}\). Octal Numbers are useful for the representation of UTF8 Numbers.

Example :

(135)10 can be written as (207)8

(215)10 can be written as (327)8

4. Hexadecimal Number System :

Number System with base value 16 is termed as Hexadecimal Number System. It uses 16 digits for the creation of its numbers. Digits from 0-9 are taken like the digits in the decimal number system but the digits from 10-15 are represented as A-F i.e. 10 is represented as A, 11 as B, 12 as C, 13 as D, 14 as E, and 15 as F. Hexadecimal Numbers are useful for handling memory address locations.

Examples :

(255)10 can be written as (FF)16

(1096)10 can be written as (448)16

(4090)10 can be written as (FFA)16

Comment
Mithlesh Upadhyay Published 16 Nov 2026 · 6 min read

Mithlesh Upadhyay is a Computer Science and AI expert from Madhya Pradesh with strong academic background (BE in CSE and M.Tech in AI) and over six years of experience in technical content development. He has contributed tech articles, led teams, and worked in Full Stack Development and Data Science. He founded the w3colleges.org portal for learning resources.

Related tutorials