42 in Binary
BINARY
0010 1010
The decimal number 42 in binary is 101010.
All Representations of 42
| System | Value |
|---|---|
| Decimal | 42 |
| Binary | 0010 1010 |
| Hexadecimal | 2a |
| Octal | 52 |
| ASCII | * (code 42) |
Step-by-Step Conversion
| Dividend | ÷ 2 | Quotient | Remainder (bit) |
|---|---|---|---|
| 42 | ÷ 2 | 21 | 0 |
| 21 | ÷ 2 | 10 | 1 |
| 10 | ÷ 2 | 5 | 0 |
| 5 | ÷ 2 | 2 | 1 |
| 2 | ÷ 2 | 1 | 0 |
| 1 | ÷ 2 | 0 | 1 |
| Read remainders bottom to top: | 101010 | ||
Powers of 2 in 42
42 = 25 (32) + 24 (16) + 23 (8) + 22 (4) + 21 (2) + 20 (1)
25 = 32
24 = 16
23 = 8
22 = 4
21 = 2
20 = 1
Nearby Values
← Back to Decimal to Binary Converter
Frequently Asked Questions
- What is 42 in binary?
42 in binary is 101010.
- How do you convert 42 to binary?
Divide 42 repeatedly by the target base, recording remainders. Read the remainders from bottom to top to get the binary result: 101010.
- What are all the representations of 42?
Decimal: 42, Binary: 101010, Hexadecimal: 2a, Octal: 52, ASCII: character "*" (code 42).