5 in binary is 101. The decimal number 5 converts to binary 101₂ using repeated division by 2. In 8-bit form: 00000101. The page shows the full step-by-step division table, an 8-bit visualiser with place values, and conversions to octal (5) and hexadecimal (5)....
5 IN BINARY (BASE 2)
101
5₁₀ = 101₂
Binary (base 2)
101
8-bit binary
00000101
Octal (base 8)
5
Hex (base 16)
5
Bit length
3 bits
Active bits (1s)
2 of 3
Even or odd?
Odd (ends in 1)
Power of 2?
No
STEP-BY-STEP — REPEATED DIVISION BY 2
| Dividend | ÷ 2 | Quotient | Remainder ↑ |
|---|---|---|---|
| 5 | ÷ 2 | 2 | 1 |
| 2 | ÷ 2 | 1 | 0 |
| 1 | ÷ 2 | 0 | 1 |
Read remainders from bottom to top: 101 = 101
FUN FACT
5 in binary is 101. The alternating pattern 101 appears because 5 = 4 + 1 = 2^2 + 2^0, skipping 2^1.
8-BIT REPRESENTATION
2⁷
128
2⁶
64
2⁵
32
2⁴
16
2³
8
2²
4
2¹
2
2⁰
1
2 active bits — 2² + 2⁰ = 5
PLACE VALUE BREAKDOWN
| 2² | 2¹ | 2⁰ |
|---|---|---|
| 4 | 2 | 1 |
| 1 | 0 | 1 |
4 + 1 = 5 ✓
BASE CONVERSIONS
Decimal (base 10)
Standard counting system
5
Binary (base 2)
Used in all digital computing
101
Octal (base 8)
Used in Unix permissions
5
Hexadecimal (16)
Used in colours, memory addresses
5
DECIMAL 0–30 IN BINARY
Write down the decimal number 5. To convert to binary, repeatedly divide by 2 and record the remainder at each step.
5 ÷ 2 = 2 remainder 1 2 ÷ 2 = 1 remainder 0 1 ÷ 2 = 0 remainder 1 Read remainders bottom to top: 101
Read the remainders from bottom to top: 101. This is the binary representation of 5.
Verify by converting back: 1 + 4 = 5. ✓
5 to binary: 5 ÷ 2 = 2 remainder 1 2 ÷ 2 = 1 remainder 0 1 ÷ 2 = 0 remainder 1 Read remainders bottom to top: 101 5₁₀ = 101₂ 8-bit: 00000101 Octal: 5 Hex: 5
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.