# Simple way to calculate binary,octal,hexadecimal from decimal value

What is a Decimal Number?

A decimal number is the number system that denotes the integer and non-integer number. The base value of the Decimal number is 10.
Examples of Decimal Number: 10,10.2,100 all are the example of Decimal Numbers having integer and decimal point value.

What are Binary numbers?

In Mathematics or in Electronics binary number are those which is expressed in base 2. It’s mostly denoted in 1’s and 0’s.

Rules to convert decimal number to binary number:

We have to divide it by 2 and a remainder of either a “1” or a “0” until the final result we get 0(Zero) as a remainder.

Example:
suppose we have to convert 13 decimal number to a binary value

Step 1.
we have to divide the 13 decimal number by 2, and here we get 1 as a remainder and 6 as a quotient.

Step 2.
Then again we have to divide the quotient by 2 and here we get 0 as a remainder and 3 as a quotient

Step 3.
Again we have to divide the quotient by 2 and here we get 1 as a remainder and 1 as quotient.

At last, we have to write the remainder as a result from bottom to top. That’s the final binary value 1101 of decimal value 13.
To confirm the results you can use an online Decimal to binary calculator tool.

Rules to convert binary number to Decimal number

For the conversion of a binary number to a decimal number, we need to follow some basic steps. The binary number is the base 2 number system. So, each digit place value is the power of two. To convert it into a decimal number format, multiplied with 2 raised to the power each decimal digit. Then the sum of the total multipliers is the decimal value.

What is Octal value?
The octal number is the base 8 number in the number system and uses the digit 0 to 7. The octal number can be represented by decimal value as well as from binary value

Octal numbers can also be drawn from binary numbers by adding the binary digits as a group of three. In the octal number system, each place value is the power of eight of its digit value.

Rules for Decimal to Octal Conversion Method

To convert a decimal number into octal number format some steps we have to follow.
Firstly, the decimal number has to divide by 8.Then its quotient is taken below and the remainder is also noted. Resume the division by dividing the quotient by 8 and continue this process until the quotient becomes zero. Write all the remainders from the bottom to up. After writing down all the reminders and the number formed will be the octal representation of the given decimal number.

Decimal to Octal Conversion steps

To understand the Decimal number to Octal number conversion let us look at an example below.
Let us convert the decimal number 123 into octal.

Step1: Divide the number by 8. Repeat this until the quotient becomes zero.

Step2: Write the remainders from bottom to up and by writing all the remainder the octal number will be formed

Rules for Octal to Decimal Conversion Method

For conversion of Octal to decimal numbers, we need to follow some basic steps. The octal number is the base 8 number system. So, each digit place value is the power of eight. To convert it into a decimal number format, multiplied with 8 raised to the power each decimal digit. Then the sum of the total multipliers is the octal value.

Rules for Decimal to Hexadecimal conversion method

To convert a decimal number into hexadecimal number format some steps we have to follow.
Firstly, the decimal number has to divide by 16. Then its quotient is taken below and the remainder is also noted. Resume the division by dividing the quotient by 16 and continue this process until the quotient becomes zero. Write all the remainders from the bottom to up. After writing down all the reminders and the number formed will be the hexadecimal representation of the given decimal number.