Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Bases

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon
SearchIcon

Number Bases

A number base (also known as base) for short is a numeral system that tells us about the unique or different symbols and notations that can be used to represent a value.

For example, the base 2 number system tells that there are only 2 unique notations 0 and 1 to represent the value.

The most commonly used number base is base 10, also known as the decimal number system. The decimal number system uses ten different notations which are the digit 0-9 to represent a value Bases can be either positive, negative, 0, complex, or non-integer. The most frequently used bases are base 2 and base 16. They are also used for calculating and are known as binary, and hexadecimal respectively.


What is a Base Number?

A base number is a number raised to the power that represents the number of units of a number system. For example, the base number of the binary number system is 2.

For Example,

yx

Here, y is a base number.


Base 2 Number System

In Mathematics, the base 2 number system, also known as the binary number system uses 2 as the base and therefore requires only two digits i.e. 0 and 1 to represent any value, rather than 10 different symbols required in the decimal number system. The numbers from 0 to 10 in the binary number system are represented as “.” .The base 2 number system is widely used in Mathematics and Computer Science as bits are easy to create using physically logic gates (the logic gates are either open or closed meaning 0 or 1).


Counting in Different Bases

Counting in different bases substitutes the base 10 with a different bases. We often use Base 10. It is our decimal number system. It has 10 digits.

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

We count numbers with base 10 as shown below:



0

Start at 0

1

Then 1

••

2

Then 2



•••••••••

9

Upto 9

••••••••••

10

Start counting back to 0 again, but add 1 to the left side

•••••••••••

11


••••••••••••

12




•••••••••••••••••••

19

Start counting back to 0 again, but add one on the left side.

••••••••••••••••••••

20


•••••••••••••••••••••

21

And So on


Let us Understand How to do Counting in Different Base

(Base 2) Binary Number System Has Only 2 Digits: 0 and 1

We count the base 2 like shown below:



0

Start at 0

1

Then add 1

••

10

Start back at 0 but add 1 to the left

•••

11


••••

100

Start back at 0 again, and add 1 to the number on the left side. As the number is already at 1 so it also goes back to 0 and 1 is added to the next place on the left side 

•••••

101


••••••

110


•••••••

111


••••••••

1000

Start counting back to 0 again (for all 3 digits) and add 1 on the left side

•••••••••

1001

And so on


(Base 3) Ternary Number System Has 3 Digits: 0,1, and 2

We count numbers with base 3 as shown below:



0

Start at 0

1

Then 1

••

2


•••

10

Start back at 0 but add 1 to the left

••••

11


•••••

12


••••••

20

Start back at 0 but add 1 to the left

•••••••

21


••••••••

22


•••••••••

100

Start back at 0 again, and add 1 to the number on the left side. As the number is already at 2 so it also goes back to 0 and 1 is added to the next place on the left side 

••••••••••

101



(Base 4) Quaternary Number System Has 4 Digits: 0, 1, 2, and 3

We count numbers with base 4 as shown below:



0

Start at 0

1

Then 1

••

2


•••

3


••••

10

Start back at 0 but add 1 to the left

•••••

11


••••••

12


•••••••

13


••••••••

20

Start back at 0 but add 1 to the left

•••••••••

21

And so on


(Base 5) Quinary Number System Has 5 Digits: 0, 1, 2, 3, and 4

We count numbers with base 5 as shown below:



0

Start at 0

1

Then 1

••

2


•••

3


••••

4


•••••

10

Start back at 0 but add 1 to the left

••••••

11


•••••••

12


••••••••

13


•••••••••

20

Start back at 0 but add 1 to the left

•••••••••••

21

And So On


(Base 6) Senary Number System Has 6 Digits: 0, 1, 2, 3, 4, and 5

We count numbers with base 6 as shown below:



0

Start at 0

1

Then 1

••

2


•••

3


••••

4


•••••

5


••••••

10

Start back at 0 but add 1 to the left

•••••••

11


••••••••

12


•••••••••

13


•••••••••••

14


•••••••••••

15


••••••••••••

20

Start back at 0 but add 1 to the left

•••••••••••••

21

And So On


(Base 7) Septenary Number System Has 7 Digits: 0, 1, 2, 3, 4, 5, and 6

We count numbers with base 7 as shown below:



0

Start at 0

1

Then 1

••

2

Then 2

•••


••••••

6


•••••••

10

Start back at 0 but add 1 to the left

••••••••

11


•••••••••

12


•••••••••


•••••••••••••

16


••••••••••••••

20

Start back at 0 but add 1 to the left

•••••••••••••••

21

And so on


(Base 8) Octal Number System Has 8 Digits: 0, 1, 2, 3, 4, 5, 6, and 7

We count numbers with base 8 as shown below:



0

Start at 0

1

Then 1

••

2

Then 2



•••••••

7

Up to 7

••••••••

10

Start back at 0 but add 1 to the left

•••••••••

11


••••••••••

12


•••••••••


•••••••••••••••

17


••••••••••••••••

20

Start back at 0 but add 1 to the left

•••••••••••••••••

21

And so on


Nonary (Base 9) Number System Has 9 Digits: 0, 1, 2, 3, 4, 5, 6, 7, and 8

We count numbers with base 9 as shown below:



0

Start at 0

1

Then 1

••

2

Then 2



•••••••

8

Up to 8

••••••••

10

Start back at 0 but add 1 to the left

•••••••••

11


••••••••••

12


•••••••••


•••••••••••••••••

18


••••••••••••••••••

20

Start back at 0 but add 1 to the left

•••••••••••••••••••

21

And so on


(Base 10) Decimal Number System Has 10 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 9, and 10

We count numbers with base 10 as shown below:



0

Start at 0

1

Then 1

••

2

Then 2



•••••••••

9

Upto 9

••••••••••

10

Start counting back to 0 again, but add 1 to the left side

•••••••••••

11


••••••••••••

12




•••••••••••••••••••

19

Start counting back to 0 again, but add one on the left side.

••••••••••••••••••••

20


•••••••••••••••••••••

21

And So on


Facts to Remember

In the number system, base, also known as radix, is the number of different digits or combinations of digits and letters that the number system uses to represent numbers.

FAQs on Bases

1. What is a 'base' or 'radix' in a number system?

In mathematics, the base or radix of a number system is the total number of unique digits or symbols used to represent numbers. For example, the decimal system we use daily is base-10 because it uses ten digits (0 through 9). The base determines the place value of each digit in a number.

2. What are the most common number system bases used in mathematics and computer science?

The most commonly used number systems are:

  • Decimal (Base-10): Uses digits 0-9. It is the standard system for human counting and arithmetic.
  • Binary (Base-2): Uses only two digits, 0 and 1. It is the fundamental language of computers.
  • Octal (Base-8): Uses digits 0-7. It is sometimes used in computing as a more compact way to represent binary numbers.
  • Hexadecimal (Base-16): Uses digits 0-9 and letters A-F. It is widely used in programming and digital electronics for representing large binary values concisely.

3. Why do computers use the binary (base-2) system and not the decimal (base-10) system?

Computers use the binary system because their internal hardware, like transistors, operates in two distinct states: on or off. These two states can be perfectly represented by the two digits of the binary system, 1 (on) and 0 (off). This simple, two-state logic is far more reliable and easier to build into electronic circuits than a system requiring ten different states for the decimal system.

4. How does the concept of 'place value' change with different number bases?

The concept of place value is fundamental to all number bases, but its calculation changes. In any base, the value of a digit is determined by its position multiplied by the base raised to the power of that position. For example, in the decimal (base-10) number 123, the place values are (1 × 10²) + (2 × 10¹) + (3 × 10⁰). In the binary (base-2) number 111, the place values are (1 × 2²) + (1 × 2¹) + (1 × 2⁰), which in decimal is 4 + 2 + 1 = 7.

5. What is the hexadecimal number system and why is it important in computing?

The hexadecimal number system is a base-16 system. It uses 16 unique symbols: the digits 0-9 and the letters A-F to represent the values 10-15. It is crucial in computing because it provides a human-friendly way to represent long binary strings. One hexadecimal digit can represent a four-digit binary number, making it much easier for programmers to read and write values for memory addresses, colour codes, and other data.

6. How do you convert a number from a different base to the decimal (base-10) system?

To convert a number from any base to the decimal system, you multiply each digit by its corresponding place value (the base raised to the power of the position) and then sum the results. For example, to convert the binary number 1011₂ to decimal:

  • (1 × 2³) + (0 × 2²) + (1 × 2¹) + (1 × 2⁰)
  • = (1 × 8) + (0 × 4) + (1 × 2) + (1 × 1)
  • = 8 + 0 + 2 + 1
  • = 11

So, 1011 in base-2 is equal to 11 in base-10.

7. What is the relationship between the binary, octal, and hexadecimal systems?

The octal (base-8) and hexadecimal (base-16) systems have a direct and simple relationship with the binary (base-2) system because 8 and 16 are powers of 2 (8 = 2³ and 16 = 2⁴). This allows for easy conversion:

  • One octal digit corresponds to exactly three binary digits.
  • One hexadecimal digit corresponds to exactly four binary digits.

This relationship is why programmers often use octal or hexadecimal as a shorthand for writing long binary numbers.

8. Is it possible to have a number system with a base smaller than 2?

Yes, the simplest is the unary (base-1) system. However, it is not a positional system like binary or decimal. In unary, a number 'n' is represented by repeating a single symbol 'n' times (e.g., 5 is represented as '11111'). It is highly inefficient for any practical calculation and is mainly a theoretical concept. For a positional number system to work effectively and represent zero, a base of at least 2 is required.