Decimal, Hexadecimal and Binary Converter

Convert Binary

Binary


Convert Decimal

Decimal


Convert Hexadecimal

Hexadecimal


Binary To Decimal conversion

From binary to decimal, we use a process of multiplication and addition.
To convert the binary number 01101010 to decimal, we take each digit, from right to left, multiply it by the place value, and add to our running total.
0 × 1 = 0, add 0
1 × 2 = 2, add 2, get 2
0 × 4 = 0, add 0, get 2
1 × 8 = 8, add 8, get 10
0 × 16 = 0, add 0, get 10
1 × 32 = 32, add 32, get 42
1 × 64 = 64, add 64, get 106
0 × 128 = 0, add 0, get 106.
The answer is that 01101010 binary = 106 decimal.


Decimal To Hexadecimal conversion

hexadecimal, we'll use the powers of 16: 1, 16, 256, and so on. We start with 16, since 16 is smaller than our initial number of 35, and 256 is larger.
35 ÷ 16 = 2, remainder 3 - The first digit is 2.
3 ÷ 1 = 3, remainder 0 - The second digit is 3.

The answer is that 35 decimal = 23 hexadecimal.


Converter