Decimal Arithmetic & Conversion
Binary :

Octal :

Hex :

31

share
feedback
calculator
info
history HISTORY

Decimal 31 to Binary Conversion

What is 31 decimal in binary? - converter, chart & solved example problem with step by step workout for how to carry out decimal 31 to binary conversion manually. The base-10 value of 3110 is equal to base-2 value of 111112.
In different representation
3110 = 111112
31 = 0b11111

DecimalBinaryHex
29.511101.11D.8
30111101E
30.511110.11E.8
31111111F
31.511111.11F.8
3210000020
32.5100000.120.8
3310000121

Work to Find What is 31 Decimal in Binary

The below is the example problem with step by step work to find what is 31 decimal in binary.
31 Decimal To Binary Conversion:
step 1 Perform the successive MOD operation by 2 for the given decimal number 31 and note down the remainder (either 0 or 1) for each operation. The last remainder is the MSB (most significant bit) and the first remainder is the LSB (least significant bit).
31 / 2 = 15   : Remainder is 1 → LSB
15 / 2 = 7   : Remainder is 1
7 / 2 = 3   : Remainder is 1
3 / 2 = 1   : Remainder is 1
1 / 2 = 0   : Remainder is 1 → MSB

step 2 Write the remainders from MSB to LSB provide the equivalent binary number
11111
3110 = 111112 