42 in binary

42 in binary = 101010 (10 1010)

In other bases: hexadecimal 2A, octal 52. The binary number has 6 bits.

How to convert 42 to binary

Divide by 2 repeatedly and note each remainder. Read the remainders from bottom to top.

DivisionQuotientRemainder
42 ÷ 2210
21 ÷ 2101
10 ÷ 250
5 ÷ 221
2 ÷ 210
1 ÷ 201

Remainders bottom to top: 101010.

Check: binary 101010 to decimal

Power of 232168421
Bit101010

Add the powers of 2 where the bit is 1: 32 + 8 + 2 = 42.

Need another number or the reverse direction? Use the binary to decimal converter or the text to binary converter.

Numbers near 42

DecimalBinaryHexOctal
381001102646
391001112747
401010002850
411010012951
431010112B53
441011002C54
451011012D55
461011102E56

All numbers in binary ยท Roman numerals