Hex Reference
0xAF in Binary = 10101111
Hex 0xAF converts to binary 10101111. Decimal: 175. Octal: 257.
Quick Answer
Hex
AF
Binary
10101111
Decimal
175
Octal
257
How to Convert 0xAF to Binary — Step by Step
1
Separate the two hex digits
0xAF = high nibble A + low nibble F
2
Convert each digit to 4 binary bits
Hex A = 1010 (decimal 10)
Hex F = 1111 (decimal 15)
3
Concatenate the 4-bit groups
1010 + 1111 = 10101111
0xAF in All Number Systems
| Hex (Base 16) | AF (0xAF) |
| Binary (Base 2) | 10101111 (1010 1111) |
| Decimal (Base 10) | 175 |
| Octal (Base 8) | 257 |
| ASCII | Non-printable |
Convert Any Hex Value Instantly
Use the full converter with step-by-step math, ASCII table, and two's complement support.
Open Full Hex to Binary ConverterExplore Other Popular Converters
Binary to Decimal Binary to Hex Binary to Octal Binary to ASCII Negative Binary to Decimal Decimal to Binary Decimal to Hex Decimal to Octal Hex to Binary Hex to Decimal Hex to Octal Hex to ASCII Octal to Binary Octal to Decimal Octal to Hex ASCII to Binary ASCII to Hex ASCII to Decimal Binary Cheat Sheets