UnitSnap All converters

Hex to decimal

Rewrite whole numbers in another base.

14 units in this converter

Converter

-
Digits 0-9 and a-z are accepted, in the source base.

Hexadecimal (base 16) to Decimal (base 10) at a glance

21 rows
Hexadecimal (base 16)Decimal (base 10)
1 hex1 dec
2 hex2 dec
3 hex3 dec
4 hex4 dec
5 hex5 dec
6 hex6 dec
7 hex7 dec
8 hex8 dec
9 hex9 dec
10 hex10 dec
15 hex15 dec
20 hex20 dec
25 hex25 dec
30 hex30 dec
40 hex40 dec
50 hex50 dec
75 hex75 dec
100 hex100 dec
250 hex250 dec
500 hex500 dec
1,000 hex1,000 dec

Quick pairs

tap to load

How the hexadecimal (base 16) to decimal (base 10) conversion works

Binary, octal and hexadecimal are the ones programmers reach for; every base from 2 to 36 is here.

To convert by hand, expand the number in its source base by multiplying each digit by the base raised to its position. Then divide the total by the target base over and over, reading the remainders from last to first.

Questions

Which units does this number base converter cover?

14 units in total, all referenced to the decimal. They include binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), base 3, base 4 and more. Pick any pair from the two dropdown lists.

How precise are the results?

Every conversion is computed in your browser at double precision from the factors listed on this page, which follow the SI definitions and the exact international agreements for imperial and US customary units. Use the Decimals control to round the display without changing the underlying value.

Does anything I type leave my device?

No. The converter is plain JavaScript running locally, with no server round-trip, and the page keeps working offline once loaded.