Introduction to Number System (original) (raw)

Last Updated : 21 Apr, 2026

**Number System is a method of representing numbers with the help of a set of symbols and rules; it is a mathematical notation used to represent quantities or values in various forms.

Please remember every piece of data in a computer—whether it’s text, images, sound, video, code, or memory addresses—is ultimately stored as binary, a string of 0s and 1s making numbers and number systems the core of computing.

binary-code

Fig: 1 Everything is stored in the computer in the form of binary.

As shown in Figure 1, binary is the foundation of all data representation in computers. Let’s now explore the different number systems that enable this process.

Number systems provide a structured way to represent numbers, enabling arithmetic operations and ensuring consistent, understandable notation.

Types of Number Systems

Number systems are of various types based on their base value and the number of allowed digits.

number_system

Decimal Number System

The Decimal Number System is the standard system for denoting numbers.

**Example:

10285 can be written as
10285 = (1 × 104) + (0 × 103) + (2 × 102) + (8 × 101) + (5 × 100)
10285 = 1 × 10000 + 0 × 1000 + 2 × 100 + 8 × 10+ 5 × 1
10285 = 10000 + 0 + 200 + 80 + 5
10285 = 10285

Binary Number System

Binary Number System is the number system with base 2.

Binary Numbers can be converted to Decimal value by multiplying each digit with the place value and then adding the result.

**Example:

(1011)₂ can be written as
(1011)₂ = 1 × 2³ + 0 × 2² + 1 × 2¹ + 1 × 2⁰
(1011)₂ = 1 × 8 + 0 × 4 + 1 × 2 + 1 × 1
(1011)₂ = 11 (in decimal)

Octal Number System

Octal Number System is the number system with **base 8.

Octal Numbers can be converted to Decimal value by multiplying each digit with the place value and then adding the result.

**Example:

(325)8 can be written as
(325)8 = 3 × 8² + 2 × 8¹ + 5 × 8⁰
(325)8 = 192 + 16 + 5
(325)8 = 213 (in decimal)

**Hexadecimal Number System

Hexadecimal Number System is the number system with **base 16.

**Place Value: the position of the digit. Each digit in the number is at a specific place value that is powers of 16. (from right to left - as powers of 16 i.e. 160, 161, 162, etc)

Hexadecimal Number System can be converted to Decimal value by multiplying each digit with the place value and then adding the result.

**Example:

(2F)16 can be written as
(2F)16 = 2 × 16¹ + F × 16⁰
(2F)16 = 2 × 16 + 15 × 1
(2F)16 = 32 + 15
(2F)16= 47 (in decimal)

**Also Check:

**Conversion of Number Systems

  1. Decimal to Other Number Systems
  2. Binary to Other Number Systems
  3. Octal to Other Number Systems
  4. Hexadecimal to Other Number Systems