Decimal Arithmetic & Conversion
Binary :

Octal :

Hex :

42

share
feedback
calculator
info
history
HISTORY

Decimal 42 to Binary Conversion

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

DecimalBinaryHex
40.5101000.128.8
4110100129
41.5101001.129.8
421010102A
42.5101010.12A.8
431010112B
43.5101011.12B.8
441011002C

Work to Find What is 42 Decimal in Binary

The below is the example problem with step by step work to find what is 42 decimal in binary.
42 Decimal To Binary Conversion:
step 1 Perform the successive MOD operation by 2 for the given decimal number 42 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).
42 / 2 = 21   : Remainder is 0 → LSB
21 / 2 = 10   : Remainder is 1
10 / 2 = 5   : Remainder is 0
5 / 2 = 2   : Remainder is 1
2 / 2 = 1   : Remainder is 0
1 / 2 = 0   : Remainder is 1 → MSB

step 2 Write the remainders from MSB to LSB provide the equivalent binary number
101010
4210 = 1010102