21 Decimal to Hexadecimal
21 decimal = 15 hexadecimal
21 written in hexadecimal is 15.
21 decimal = 15 hexadecimal
How to convert 21 to hexadecimal
Decimal to hexadecimal
Divide by 16 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the hexadecimal digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 21 ÷ 16 | 1 | 5 |
| 1 ÷ 16 | 0 | 1 |
Result: 21 = 15 in hexadecimal.
21 (decimal) in other systems
| Binary | 10101 |
| Roman numerals | XXI |
| Octal | 25 |
| Duodecimal | 19 |
| Ternary | 210 |
| Base 36 | L |
| Vigesimal | 11 |
| Quaternary | 111 |
| Quinary | 41 |
| Senary | 33 |
Nearby decimal to hexadecimal conversions
| 16 to hexadecimal | 10 |
| 17 to hexadecimal | 11 |
| 18 to hexadecimal | 12 |
| 19 to hexadecimal | 13 |
| 20 to hexadecimal | 14 |
| 22 to hexadecimal | 16 |
| 23 to hexadecimal | 17 |
| 24 to hexadecimal | 18 |
| 25 to hexadecimal | 19 |
| 26 to hexadecimal | 1A |
About the number 21
- 21 is an odd number.
- 21 is not a prime number.
- Written in binary it needs 5 bits, so it fits in one byte.
Reverse conversion
Frequently asked questions
What is 21 in hexadecimal?
21 in decimal is 15 in hexadecimal.