1F Hexadecimal to Binary
1F hexadecimal = 11111 binary
1F written in binary is 1 1111, the number 31 in everyday decimal.
1F hexadecimal = 11111 binary
How to convert 1F to binary
Because 16 = 24, every hexadecimal digit stands for exactly 4 binary digits. Write each hexadecimal digit as 4 binary digits:
| Binary group | Hexadecimal digit |
|---|---|
0001 | 1 |
1111 | F (15) |
Result: 1F in hexadecimal = 11111 in binary (leading zeros dropped).
1F (hexadecimal) in other systems
| Decimal | 31 |
| Roman numerals | XXXI |
| Octal | 37 |
| Duodecimal | 27 |
| Ternary | 1011 |
| Base 36 | V |
| Vigesimal | 1B |
| Quaternary | 133 |
| Quinary | 111 |
| Senary | 51 |
Nearby hexadecimal to binary conversions
| 1A to binary | 11010 |
| 1B to binary | 11011 |
| 1C to binary | 11100 |
| 1D to binary | 11101 |
| 1E to binary | 11110 |
| 20 to binary | 100000 |
| 21 to binary | 100001 |
| 22 to binary | 100010 |
| 23 to binary | 100011 |
| 24 to binary | 100100 |
About the number 31
- 31 is an odd number.
- 31 is a prime number.
- Written in binary it needs 5 bits, so it fits in one byte.
Reverse conversion
Frequently asked questions
What is 1F in binary?
1F in hexadecimal is 11111 in binary (the number 31 in decimal).