Convert between Decimal & Octa Decimal
Convert from Decimal to Octa Decimal | Convert from Octa Decimal to Decimal
Decimal to Octa Decimal Converter
dec
octa
More Converters
How to Convert Decimal To Binary
Method 1:
- Write down any decimal number.
- Divide the decimal number by 2.
- Write down the integer quotient for the next iteration.
- Write down the remainder for the binary digit.
- Repeat dividing and writing down remainders until the result of the division is 0.
Example: Convert 15 decimal to binary
Divide by 2 | Quotient | Remainder | Bit Position |
---|---|---|---|
15/2 | 7 | 1 | 0 |
7/2 | 3 | 1 | 1 |
3/2 | 1 | 1 | 2 |
1/2 | 0 | 1 | 3 |
Method 2:
- Look for the greatest power of 2. Choose the biggest number that will fit into the number you are converting. 8 is the greatest power of two that will fit into 15, so write a 1 beneath this box in your chart for the left most binary digit.
Example: Convert 15 decimal to binary
Decimal | Binary |
---|---|
128 | 0 |
64 | 0 |
32 | 0 |
16 | 0 |
8 | 1 |
4 | 1 |
2 | 1 |
1 | 1 |