T
ToolPrime

21 in Binary = 10101

Binary Representation

10101

Decimal 21 = 10101 (binary)

21 in All Number Bases

Decimal
21
Binary
10101
Octal
25
Hexadecimal
15

How to Convert 21 to Binary

  1. Divide 21 by 2, record the remainder
  2. Continue dividing the quotient by 2
  3. Read the remainders from bottom to top
  4. Result: 10101

Try the Number Base Converter

Conversions

Binary (2)
0b10101
Octal (8)
0o25
Decimal (10)
21
Hexadecimal (16)
0x15
Binary Bits
0
0
0
1
0
1
0
1
Common number base conversions
DecimalBinaryOctalHex
0000
1111
81000108
10101012A
16100002010
321000004020
64100000010040
12711111111777F
1281000000020080
25511111111377FF

Related Conversions