21 in Binary

BINARY
0001 0101
The decimal number 21 in binary is 10101.

All Representations of 21

SystemValue
Decimal21
Binary0001 0101
Hexadecimal15
Octal25
ASCII(code 21)

Step-by-Step Conversion

Dividend÷ 2QuotientRemainder (bit)
21÷ 2101
10÷ 250
5÷ 221
2÷ 210
1÷ 201
Read remainders bottom to top:10101

Powers of 2 in 21

21 = 24 (16) + 23 (8) + 22 (4) + 21 (2) + 20 (1)

24 = 16
23 = 8
22 = 4
21 = 2
20 = 1

Nearby Values

← Back to Decimal to Binary Converter

Frequently Asked Questions