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