Number Base Converter
Use our Number Base converter to convert number from any base to decimal and vice versa. Easy to use number conversion calculator for Numeral system. Learn How to Convert Decimal to Binary, Octal, Hexadecimal and vice versa with detailed Steps to Convert number base. Use our Number System Conversion calculator for Base 2, Base 3, Base 5, Base 8, Base 10, Base 16 conversion with steps.
Explore other calculators or unit converters or try out our Number Base Converter and learn more about Number Base .
Number System Conversion Table Chart
Check out this number base conversion table to find number in various number systems and for easy Comparison to other bases.
Decimal (10) | Binary (2) | Ternary (3) | Octal (8) | Hexadecimal (16) |
---|---|---|---|---|
1 | 1 | 1 | 1 | 1 |
2 | 10 | 2 | 2 | 2 |
3 | 11 | 10 | 3 | 3 |
4 | 100 | 11 | 4 | 4 |
5 | 101 | 12 | 5 | 5 |
6 | 110 | 20 | 6 | 6 |
7 | 111 | 21 | 7 | 7 |
8 | 1000 | 22 | 10 | 8 |
9 | 1001 | 100 | 11 | 9 |
10 | 1010 | 101 | 12 | A |
11 | 1011 | 102 | 13 | B |
12 | 1100 | 110 | 14 | C |
13 | 1101 | 111 | 15 | D |
14 | 1110 | 112 | 16 | E |
15 | 1111 | 120 | 17 | F |
16 | 10000 | 121 | 20 | 10 |
17 | 10001 | 122 | 21 | 11 |
18 | 10010 | 200 | 22 | 12 |
19 | 10011 | 201 | 23 | 13 |
20 | 10100 | 202 | 24 | 14 |
30 | 11110 | 1010 | 36 | 1E |
40 | 101000 | 1111 | 50 | 28 |
50 | 110010 | 1212 | 62 | 32 |
60 | 111100 | 2020 | 74 | 3C |
70 | 1000110 | 2121 | 106 | 46 |
80 | 1010000 | 2222 | 120 | 50 |
90 | 1011010 | 10100 | 132 | 5A |
100 | 1100100 | 10201 | 144 | 64 |
Solution: Steps to Convert from Decimal to Binary Base System
Number System calculator with solution. Steps to Convert from 10 System Conversion Table
Number Base Converter Details
Use our Base converter calculator to learn Number base conversion within various base systems including, Binary, Ternary, Octal, Decimal and Hexadecimal. Using this Number System calculator with solution to know detailed steps for Decimal to Binary conversion, Decimal to Hex conversion, Decimal to Octal conversion, Binary to Decimal conversion, Binary to Hex conversion, Binary to Octal conversion, Octal to Binary conversion, Octal to Decimal conversion, Octal to Hex conversion, Hex to Binary conversion, Hex to Octal conversion, Hex to Decimal conversion and many more.
What Number System?
A numeral system is a writing system for expressing numbers. For example “11” is used to represent number 11 (Eleven) in decimal numeral system while it’s used to represent number 3 (three) in binary numeral system.
The most commonly used system of numerals is decimal which is based on the Hindu–Arabic numeral system. Indian mathematicians developed the concept of Place value system and the number Zero. In any number system each digit has a value and position.
So numeral anan − 1an − 2 … a0 in numeral system b means anbnan − 1bn-1an − 2bn-2 … a0 b0
For example, in the decimal system (base 10), the numeral 5347 means (5×103) + (3×102) + (4×101) + (7×100)
Also in any number system Most Significant Bit (MSB) is the bit on the far left end of the number, while the Least Significant Bit (LSB) is the bit on the far right end (LSB).
Popular Number Base Systems
Base | Name | Number of Numerals | Symbols |
2 | Binary | 2 | 0, 1 |
3 | Ternary | 3 | 0, 1, 2 |
5 | Quinary (Pental) | 5 | 0, 1, 2, 3, 4 |
8 | Octal | 8 | 0, 1, 2, 3, 4, 5, 6, 7 |
10 | Decimal | 10 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
16 | Hexadecimal | 16 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F |
How to Convert from Decimal to Other Bases
There are various direct or indirect methods to convert a decimal number into other number systems.
Decimal to Binary Conversion – How to Convert Decimal to Binary?
Method 1 Decimal to Binary Conversion using the Division by 2 with Remainder
To convert the numbers from decimal to binary, follow the below conversion steps
- Take the Decimal Number
- Divide this number by 2 (as we are converting to base 2)
- Note down the remainder
- Now divide the quotient by 2 and store the remainder
- Repeat the above steps until you get 0 as the quotient
- Now writing these remainders from MSB (bottommost remainder) to LSB (topmost remainder) the required binary number can be obtained.
Let’s convert 156 from base 10 to base 2 using this method
Quotient | Remainder | |
156/2 | 78 | 0 |
78/2 | 39 | 0 |
39/2 | 19 | 1 |
19/2 | 9 | 1 |
9/2 | 4 | 1 |
4/2 | 2 | 0 |
2/2 | 1 | 0 |
1/2 | 0 | 1 |
So number 156 in base 2 = 10011100
Method 2: Descending Powers of 2 and Subtraction
To convert the numbers from decimal to binary, follow the below conversion steps
- List the powers of 2 until you reach the number closet to the decimal number (Z) which needs to be converted to binary
- Identify the greatest power of 2 from this list
- Write 1 beneath this power of 2, Subtract the above from the decimal number Z to get the new number
- Move to the next lower power of 2, Check if this power of 2 is greater than the new number
- if yes write 0 below this power of 2 and move to the next power
- if no write 1 beneath this power of 2, Subtract the above from the new number to get another new number
- Continue untill you reach the lowest power of 2 (20)
- Number in binary will be same left to right the number mentioned beneath each power
Let’s convert 156 from base 10 to base 2.
27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
Z=156 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Factor | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 |
Number after subtraction | 156-128=28 | 12 | 4 | 0 |
So number 156 in base 2 = 10011100
Decimal to Octal Conversion – How to Convert Decimal to Octal?
Method 1 Decimal to Octal Conversion using the Division by 8 with Remainder
To convert the numbers from decimal to octal, follow the below conversion steps
- Take the Decimal Number
- Divide this number by 8 (as we are converting to base 8)
- Note down the remainder
- Now divide the quotient by 8 and store the remainder
- Repeat the above steps until you get 0 as the quotient
- Now writing these remainders from MSB (bottommost remainder) to LSB (topmost remainder) the required binary number can be obtained.
Let’s convert 156 from base 10 to base 8 using this method.
Quotient | Remainder | |
156/8 | 19 | 4 |
19/8 | 2 | 3 |
2/8 | 0 | 2 |
So number 156 in base 8 = 234
Method 2: Descending Powers of 8 and Subtraction
To convert the numbers from decimal to binary, follow the below conversion steps
- List the powers of 8 until you reach the number closet to the decimal number (Z) which needs to be converted to binary
- Identify the greatest power of 8 from this list
- Write 1 beneath this power of 8, Subtract the above from the decimal number Z to get the new number
- Move to the next lower power of 8, Check if this power of 8 is greater than the new number
- if yes write 0 below this power of 8 and move to the next power
- if no write 1 beneath this power of 8, Subtract the above from the new number to get another new number
- Continue untill you reach the lowest power of 8 (80)
- Number in binary will be same left to right the number mentioned beneath each power
Let’s convert 156 from base 10 to base 8.
83 | 82 | 81 | 80 | |
Z=156 | 512 | 64 | 8 | 1 |
Factor | 2 | 3 | 4 | |
Number after subtraction (remainder) | 156-64=28 | 28-24=4 | 4-4=0 |
So number 156 in base 8 = 234
Decimal to Hexadecimal Conversion – How to Convert Decimal to Hexadecimal?
Method 1 Decimal to Hexadecimal Conversion using the Division by 16 with Remainder
To convert the numbers from decimal to hexadecimal, follow the below conversion steps
- Take the Decimal Number
- Divide this number by 16 (as we are converting to base 16)
- Note down the remainder
- Now divide the quotient by 16 and store the remainder
- Repeat the above steps until you get 0 as the quotient
- Now writing these remainders from MSB (bottommost remainder) to LSB (topmost remainder) the required binary number can be obtained.
Let’s convert 554 from base 10 to base 16 using this method.
Quotient | Remainder | |
554/16 | 34 | 10 (10 in base-16 is A) |
34/16 | 2 | 2 |
2/16 | 0 | 2 |
So number 554 in base 16 = 22A
Method 2: Descending Powers of 16 and Subtraction
To convert the numbers from decimal to hexadecimal, follow the below conversion steps
- List the powers of 16 until you reach the number closet to the decimal number (Z) which needs to be converted to binary
- Identify the greatest power of 16 from this list
- Write 1 beneath this power of 16, Subtract the above from the decimal number Z to get the new number
- Move to the next lower power of 16, Check if this power of 16 is greater than the new number
- if yes write 0 below this power of 16 and move to the next power
- if no write 1 beneath this power of 16, Subtract the above from the new number to get another new number
- Continue untill you reach the lowest power of 16 (160)
- Number in binary will be same left to right the number mentioned beneath each power
Let’s convert 554 from base 10 to base 16.
163 | 162 | 161 | 160 | |
Z=554 | 4096 | 256 | 16 | 1 |
Factor | 2 | 2 | 10 (10 in base-16 is A) | |
Number after subtraction (remainder) | 554-512=42 | 42-32=10 | 10-10=0 |
So number 554 in base 16 = 22A