Decimal = 10

Hexa Decimal = A

Octal = 12

GENERATE WORK

GENERATE WORK

**Input Data :**

Binary Value = 1010

**Objective :**

Find what is hex, decimal & octal Value from given binary value?

**Solution :**

__Binary to Decimal__

`1010_2 = (1 \times 2^3) + (0 \times 2^2) + (1 \times 2^1) + (0 \times 2^0)`

`1010_2 = 8 + 0 + 2 + 0`

`1010_2 = 10_10`

__Binary to Hexa Decimal__

Split the binary number from left to right each group 4 bits

1010

A

`1010_2 = A_16`

__Binary to Octal__

Split the binary number from left to right each group 3 bits

001 010

1

`1010_2 = 12_8`

** Binary to Decimal, Hex & Octal Converter** - step by step conversion & solved example problems to perform binaty decimal, binary to hexadecimal & binary to octal conversion. The binary number system is the most influential & popular number system in the context of digital computations, electronics engineering & tele communications etc. It's also called base-2 number system only uses 0 and 1 to represent any sort of information. Generally 0 represents LOW or OFF state and 1 represents HIGH or ON state. In the context of digital computations, it's frequently required to convert binary numbers into other popular representations like in decimal, hexadecimal & octal number systems, where this Binary to Decimal, Hex & Octal Converter can be employed to perform such conversions easily. Besides, the step by step calculation along with solved example problem let the users easily understand how manually perform such conversions.

The binary number system is not the usual number system to easily understand & to read for humans, therefore, it is often required to convert the binary number into its equivalent decimal number to make it easily readable. The below step by step conversion & solved example let the users to understand how to convert binary to decimal number. The rightmost digit of the binary number has the weightage of 2^{0} and the power of 2 will increase by 1 for each successive digit from right to left (see the solved example below). It's also called as the place value of binary digits. The sum of products of binary digits & place value provides its equivalent decimal value.

**Step by step conversion:**

__step 1:__ Multiply the binary digit with place value for each digit. For example, for the binary number 1010, it would be like 0 x 2^{0} = 0, 1 x 2^{1} = 1, 0 x 2^{2}

= 0 & 1 x 2^{3} = 8.

__step 2:__ Sum all the product values provides an equivalent decimal.

**Solved Example:**

Convert the binary **100101** to its decimal equivalent

[(1) x 2^{5}] + [(0) x 2^{4}] + [(0) x 2^{3}] + [(1) x 2^{2}] + [(0) x 2^{1}] + [(1) x 2^{0}]

[1 x 32] + [0 x 16] + [0 x 8] + [1 x 4] + [0 x 2] + [1 x 1] = 37

The decimal equivalent for binary **100101** is **37**.

**Binary Fraction to Decimal Conversion**

**Solved Example:**

The below solved example let the users to know how to convert fractional binary number **10101.0101** to its equivalent decimal form

[1 x 2^{4}] + [0 x 2^{3}] + [1 x 2^{2}] + [0 x 2^{1}] + [1 x 2^{0}] . 0 x 2^{-1} + 1 x 2^{-2} + 0 x 2^{-3} + 1 x 2^{-4}

(16 + 0 + 4 + 0 + 1) . (0 + 0.25 + 0 + 0.0625)

**10101.0101**_{2} = **21.3125**

Binary to Hex conversion can be done by divide the bits into groups from right to left side, each containing 4 bits. If the group is lack of 4 bits then add 0 or 0s to the left hand side to make sure each group containing 4 bits. The extra bits of 0 at the left side are called padding. The below solved example let the users to understand how to convert binary to decimal number.

**Step by step conversion:**

__step 1:__ Split the given binary number into groups from right, each containing 4 bits.

__step 2:__ Add 0 or 0s to the left side if any group is lack of 4 bits.

__step 3:__ Find the Hex equivalent for each group.

__step 4:__ Form the each group Hex number together in the same order.

**Solved Example:**

Convert the binary 1011010 to Hex number

1010010_{2} => 0101 1010 grouped with padding

=> 5 A

= **5A _{16}**

Binary to Octal conversion can be done by divide the bits into groups from right to left side, each containing 3 bits. If the group is lack of 3 bits then add 0 or 0s to the left hand side to make sure each group containing 3 bits. The extra bits of 0 at the left side are called padding. The below solved example let the users to understand how to convert binary to octal number.

**Step by step conversion:**

__step 1:__ Split the given binary number into groups from right, each containing 3 bits.

__step 2:__ Add 0 or 0s to the left side if any group is lack of 3 bits.

__step 3:__ Find the Octal equivalent for each group.

__step 4:__ Form the each group Octal number together in the same order.

**Solved Example:**

Convert the binary 10110 to Octal number

10110_{2} => 010 110 grouped with padding

=> 2 6

10110_{2} = **26 _{8}**

In