Hex to Decimal

Hex to decimal table

All 256 one-byte values with their decimal, binary, octal and ASCII forms. Filter the table or jump to a value. Below: how to read a row, row starts, the ASCII blocks and values beyond FF.

Tap a row to copy its link.
HexDecimalBinaryOctalASCII
0000000 00000
0110000 00011
0220000 00102
0330000 00113
0440000 01004
0550000 01015
0660000 01106
0770000 01117
0880000 100010
0990000 100111
0A100000 101012
0B110000 101113
0C120000 110014
0D130000 110115
0E140000 111016
0F150000 111117
10160001 000020
11170001 000121
12180001 001022
13190001 001123
14200001 010024
15210001 010125
16220001 011026
17230001 011127
18240001 100030
19250001 100131
1A260001 101032
1B270001 101133
1C280001 110034
1D290001 110135
1E300001 111036
1F310001 111137
20320010 000040space
21330010 000141!
22340010 001042"
23350010 001143#
24360010 010044$
25370010 010145%
26380010 011046&
27390010 011147'
28400010 100050(
29410010 100151)
2A420010 101052*
2B430010 101153+
2C440010 110054,
2D450010 110155-
2E460010 111056.
2F470010 111157/
30480011 0000600
31490011 0001611
32500011 0010622
33510011 0011633
34520011 0100644
35530011 0101655
36540011 0110666
37550011 0111677
38560011 1000708
39570011 1001719
3A580011 101072:
3B590011 101173;
3C600011 110074<
3D610011 110175=
3E620011 111076>
3F630011 111177?
40640100 0000100@
41650100 0001101A
42660100 0010102B
43670100 0011103C
44680100 0100104D
45690100 0101105E
46700100 0110106F
47710100 0111107G
48720100 1000110H
49730100 1001111I
4A740100 1010112J
4B750100 1011113K
4C760100 1100114L
4D770100 1101115M
4E780100 1110116N
4F790100 1111117O
50800101 0000120P
51810101 0001121Q
52820101 0010122R
53830101 0011123S
54840101 0100124T
55850101 0101125U
56860101 0110126V
57870101 0111127W
58880101 1000130X
59890101 1001131Y
5A900101 1010132Z
5B910101 1011133[
5C920101 1100134\
5D930101 1101135]
5E940101 1110136^
5F950101 1111137_
60960110 0000140`
61970110 0001141a
62980110 0010142b
63990110 0011143c
641000110 0100144d
651010110 0101145e
661020110 0110146f
671030110 0111147g
681040110 1000150h
691050110 1001151i
6A1060110 1010152j
6B1070110 1011153k
6C1080110 1100154l
6D1090110 1101155m
6E1100110 1110156n
6F1110110 1111157o
701120111 0000160p
711130111 0001161q
721140111 0010162r
731150111 0011163s
741160111 0100164t
751170111 0101165u
761180111 0110166v
771190111 0111167w
781200111 1000170x
791210111 1001171y
7A1220111 1010172z
7B1230111 1011173{
7C1240111 1100174|
7D1250111 1101175}
7E1260111 1110176~
7F1270111 1111177
801281000 0000200
811291000 0001201
821301000 0010202
831311000 0011203
841321000 0100204
851331000 0101205
861341000 0110206
871351000 0111207
881361000 1000210
891371000 1001211
8A1381000 1010212
8B1391000 1011213
8C1401000 1100214
8D1411000 1101215
8E1421000 1110216
8F1431000 1111217
901441001 0000220
911451001 0001221
921461001 0010222
931471001 0011223
941481001 0100224
951491001 0101225
961501001 0110226
971511001 0111227
981521001 1000230
991531001 1001231
9A1541001 1010232
9B1551001 1011233
9C1561001 1100234
9D1571001 1101235
9E1581001 1110236
9F1591001 1111237
A01601010 0000240
A11611010 0001241
A21621010 0010242
A31631010 0011243
A41641010 0100244
A51651010 0101245
A61661010 0110246
A71671010 0111247
A81681010 1000250
A91691010 1001251
AA1701010 1010252
AB1711010 1011253
AC1721010 1100254
AE1741010 1110256
AF1751010 1111257
B01761011 0000260
B11771011 0001261
B21781011 0010262
B31791011 0011263
B41801011 0100264
B51811011 0101265
B61821011 0110266
B71831011 0111267
B81841011 1000270
B91851011 1001271
BA1861011 1010272
BB1871011 1011273
BC1881011 1100274
BD1891011 1101275
BE1901011 1110276
BF1911011 1111277
C01921100 0000300
C11931100 0001301
C21941100 0010302
C31951100 0011303
C41961100 0100304
C51971100 0101305
C61981100 0110306
C71991100 0111307
C82001100 1000310
C92011100 1001311
CA2021100 1010312
CB2031100 1011313
CC2041100 1100314
CD2051100 1101315
CE2061100 1110316
CF2071100 1111317
D02081101 0000320
D12091101 0001321
D22101101 0010322
D32111101 0011323
D42121101 0100324
D52131101 0101325
D62141101 0110326
D72151101 0111327
D82161101 1000330
D92171101 1001331
DA2181101 1010332
DB2191101 1011333
DC2201101 1100334
DD2211101 1101335
DE2221101 1110336
DF2231101 1111337
E02241110 0000340
E12251110 0001341
E22261110 0010342
E32271110 0011343
E42281110 0100344
E52291110 0101345
E62301110 0110346
E72311110 0111347
E82321110 1000350
E92331110 1001351
EA2341110 1010352
EB2351110 1011353
EC2361110 1100354
ED2371110 1101355
EE2381110 1110356
EF2391110 1111357
F02401111 0000360
F12411111 0001361
F22421111 0010362
F32431111 0011363
F42441111 0100364
F52451111 0101365
F62461111 0110366
F72471111 0111367
F82481111 1000370
F92491111 1001371
FA2501111 1010372
FB2511111 1011373
FC2521111 1100374
FD2531111 1101375
FE2541111 1110376
FF2551111 1111377

How to read the table

Each row is one byte: the first hex digit sets the row group, and the second digit sets the position inside it. Multiply the first digit by 16, then add the second digit.

9C = 9 × 16 + 12 = 144 + 12 = 156
B7 = 11 × 16 + 7 = 176 + 7  = 183

The binary column shows the same byte as two groups of four bits. Each group matches one hex digit, so 9C reads as 1001 1100, where 1001 is 9 and 1100 is C (12).

Row starts for 00 to FF

The table repeats every 16 rows, and each group starts at a multiple of 16. Find the group for the first digit, then count up by the second digit.

First digitGroup starts atGroup ends at
000 = 00F = 15
110 = 161F = 31
220 = 322F = 47
330 = 483F = 63
440 = 644F = 79
550 = 805F = 95
660 = 966F = 111
770 = 1127F = 127
880 = 1288F = 143
990 = 1449F = 159
AA0 = 160AF = 175
BB0 = 176BF = 191
CC0 = 192CF = 207
DD0 = 208DF = 223
EE0 = 224EF = 239
FF0 = 240FF = 255

To find E4, start at E0 (224) and add 4 to get 228. Every cell in the grid shows its decimal value.

Digits and letters in the ASCII column

Printable ASCII characters occupy 20 to 7E (32 to 126), and three blocks inside that range hold most of the characters you will look up.

Range in hexRange in decimalCharacters
30 to 3948 to 57Digits 0 to 9
41 to 5A65 to 90Capital letters A to Z
61 to 7A97 to 122Lowercase letters a to z

Each lowercase letter sits exactly 32 (hex 20) above its capital, so A is 41 (65) and a is 61 (97). Hex 20 is the space character, and 7F (127) is the DEL control code. For full text conversion, use the hex to text converter.

Hex values beyond FF

Values above FF need more than 2 hex digits, so they fall outside the table. The common boundaries below show where each width ends.

HexDecimalWhy it matters
100256First 3-digit value
FFF4,095Largest 3-digit value
10004,096First 4-digit value
271010,000Ten thousand
FFFF65,535Largest 16-bit value
1000065,536First 5-digit value
F42401,000,000One million
FFFFFF16,777,215Largest 24-bit value, white in an RGB colour

For any other value, use the hex to decimal converter, which handles numbers of any length and shows each digit's product.

Frequently asked questions

How many values does the hex to decimal table cover?
256 values, from 00 to FF (0 to 255). That range fits in 1 byte, which is 8 bits or 2 hex digits.
What is 7F in decimal?
7F is 127 in decimal. The calculation is 7 × 16 + 15 = 127, and it is the largest signed 8-bit value.
How do you find the decimal value of a hex number in the table?
Search for the hex value, or find the group for the first digit and add the second digit. The group for A starts at A0 (160), so AC is 160 + 12 = 172.
Why does the table stop at FF?
FF is the largest value 2 hex digits can hold, and it matches the maximum of 1 byte. Larger values use more bytes and more digits, so the converter handles them.
What is the difference between hex 10 and decimal 10?
Hex 10 equals 16 in decimal, while decimal 10 equals 0A in hex. The same digits mean different values in different bases.