Hex to decimal

This converter can convert hexadecimal encodings to decimal very quickly, just type your hexadecimal encoding. e.g. you enter 'f' you will get '15'. At the same time, you can also choose any conversion between binary to base 36. Decimal to hex

Base(default hexadecimal)
Hexadecimal encoding
Target base(default decimal)
Conversion result

Knowledge of converter

In mathematics and computing, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A–F (or alternatively a–f) to represent values ten to fifteen.

How to convert hex to decimal

  1. We all know the conversion between decimal numbers:

    25710 = 2×102+5×101+7×100 = 200+50+7

  2. Hexadecimal encoding conversion is also the same formula, except that the power 10 is replaced with 16:

    decimal = dn-1×16n-1 + ... + d3×163 + d2×162 + d1×161+d0×160

Example

Example 1

Convert hex encoding 3E8 to decimal

3E816 = 3x162 + 14x161 + 8x160 = 76810 + 22410+810=1000

Example 2

Convert hex encoding 0.6 to decimal

0.616 = 0x160 + 6x16-1=0 + 0.375 = 0.375

Hexadecimal to decimal conversion table

Hexadecimal(base 16)Decimal
00
11
22
33
44
55
66
77
88
99
A10
B11
C12
D13
E14
F15
1016
1117
1218
1319
1420
1521
1622
1723
1824
1925
1A26
1B27
1C28
1D29
1E30
1F31
2032
3048
4064
5080
6096
70112
80128
90144
A0160
B0176
C0192
D0208
E0224
F0240
100256
10004096