4 in binary is 100. The decimal number 4 converts to binary 100₂ using repeated division by 2. In 8-bit form: 00000100. The page shows the full step-by-step division table, an 8-bit visualiser with place values, and conversions to octal (4) and hexadecimal (4)....
4 IN BINARY (BASE 2)
100
4₁₀ = 100₂
Binary (base 2)
100
8-bit binary
00000100
Octal (base 8)
4
Hex (base 16)
4
Bit length
3 bits
Active bits (1s)
1 of 3
Even or odd?
Even (ends in 0)
Power of 2?
Yes — 2²
STEP-BY-STEP — REPEATED DIVISION BY 2
| Dividend | ÷ 2 | Quotient | Remainder ↑ |
|---|---|---|---|
| 4 | ÷ 2 | 2 | 0 |
| 2 | ÷ 2 | 1 | 0 |
| 1 | ÷ 2 | 0 | 1 |
Read remainders from bottom to top: 100 = 100
FUN FACT
4 in binary is 100. It is a power of 2 (2^2), so binary representation has exactly one 1-bit followed by zeros — a hallmark of all powers of 2.
8-BIT REPRESENTATION
2⁷
128
2⁶
64
2⁵
32
2⁴
16
2³
8
2²
4
2¹
2
2⁰
1
1 active bit — 2² = 4
PLACE VALUE BREAKDOWN
| 2² | 2¹ | 2⁰ |
|---|---|---|
| 4 | 2 | 1 |
| 1 | 0 | 0 |
4 = 4 ✓
BASE CONVERSIONS
Decimal (base 10)
Standard counting system
4
Binary (base 2)
Used in all digital computing
100
Octal (base 8)
Used in Unix permissions
4
Hexadecimal (16)
Used in colours, memory addresses
4
DECIMAL 0–30 IN BINARY
Write down the decimal number 4. To convert to binary, repeatedly divide by 2 and record the remainder at each step.
4 ÷ 2 = 2 remainder 0 2 ÷ 2 = 1 remainder 0 1 ÷ 2 = 0 remainder 1 Read remainders bottom to top: 100
Read the remainders from bottom to top: 100. This is the binary representation of 4.
Verify by converting back: 4 = 4. ✓
4 to binary: 4 ÷ 2 = 2 remainder 0 2 ÷ 2 = 1 remainder 0 1 ÷ 2 = 0 remainder 1 Read remainders bottom to top: 100 4₁₀ = 100₂ 8-bit: 00000100 Octal: 4 Hex: 4
Hexadecimal Converter
Calculate instantly →
2 in Binary
Calculate instantly →
4 in Binary
Calculate instantly →
Random Number Generator
Calculate instantly →
8 in Binary
Calculate instantly →
16 in Binary
Calculate instantly →
10 in Binary
Calculate instantly →
1 in Binary
Calculate instantly →
255 in Binary
Calculate instantly →
3 in Binary
Calculate instantly →
6 in Binary
Calculate instantly →
9 in Binary
Calculate instantly →
11 in Binary
Calculate instantly →
14 in Binary
Calculate instantly →
128 in Binary
Calculate instantly →
0 in Binary
Calculate instantly →
5 in Binary
Calculate instantly →
7 in Binary
Calculate instantly →
12 in Binary
Calculate instantly →
Binary Converter
Calculate instantly →
Last updated: April 29, 2026 · Verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.