Other Base System to Non-Decimal System

Steps

      Step 1 - Convert the original number to a decimal number (base 10).

      Step 2 - Convert the decimal number so obtained to the new base number.

Example

Octal Number : 258

Calculating Binary Equivalent:

Step 1 : Convert to Decimal

Step

Octal Number

Decimal Number

Step 1

258

((2 x 81) + (5 x 80))10

Step 2

258

(16 + 5 )10

Step 3

258

2110

Octal Number : 258 = Decimal Number : 2110

Step 2 : Convert Decimal to Binary

Step

Operation

Result

Remainder

Step 1

21 / 2

10

1

Step 2

10 / 2

5

0

Step 3

5 / 2

2

1

Step 4

2 / 2

1

0

Step 5

1 / 2

0

1

Decimal Number : 2110 = Binary Number : 101012

Octal Number : 258 = Binary Number : 101012