Convert numbers between hexadecimal, decimal, binary and octal. Type a value, choose its base and read all four representations at once.
How to use the Hex to Decimal converter
Enter your values in the fields above. The results update as you type, so you can try different scenarios quickly. Press Reset to restore the example values. Nothing you type is stored or sent anywhere: all calculations happen in your browser.
Formula and method
Worked example
Using value of 1A3F, base of the value of Hexadecimal (16), the hex to decimal returns Decimal: 6,719; Hexadecimal: 1A3F; Binary: 1101000111111; Octal: 15077. Change any value in the calculator above to see how the result responds.
Frequently asked questions
How do I convert hex to decimal?
Multiply each digit by 16 raised to its position (from the right, starting at 0) and add. For example 1F = 1×16 + 15 = 31.
What are A to F in hex?
A=10, B=11, C=12, D=13, E=14, F=15.
Related tools
Results are provided for information only. Please check important dates, grades and figures against official records.