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