Skip to content
RK Calculator
Menu

Hexadecimal to Decimal Converter

Convert hexadecimal numbers to decimal, including fractions and negative numbers, with the working shown.

Change the values and press Calculate to work out your own figures.

Enter a hexadecimal number to write it in decimal.

About hexadecimal numberDigits 0–9 and A–F, for example DAD.
Result
In decimal
3,501
In binary
110110101101
In octal
6655

DAD in hexadecimal is 3,501 in decimal.

Show the working
  1. DAD₁₆ = 13 × 16² + 10 × 16¹ + 13 × 16⁰ = 3,501

How to use it

Enter a hexadecimal number to write it in decimal.

Letters stand for digits above 9 (A = 10 … Z = 35) and can be typed in either case; prefixes such as 0b and 0x, spaces and underscores are ignored. Show the working gives each step.

Key facts

hexadecimal → decimal: place values Σ dᵢ × bⁱ; repeated division by the new base

How the conversion works

To decimal, multiply each digit by its place value (a power of the base) and add; from decimal, divide by the base repeatedly and read the remainders from the bottom up (for a fraction, multiply by the base and read off the whole parts).

Questions

What is DAD in decimal?

3,501.

Can I convert fractions?

Yes. Digits after the point are converted exactly; if they repeat forever in the new base, the repeating block is shown in parentheses.

Formulas

hexadecimal → decimal: place values Σ dᵢ × bⁱ; repeated division by the new base

Sources

Limitations

  • Numbers have at most 1,000 characters; Roman numerals cover whole numbers from 1 to 3,999,999.

Formula version 0.1.0Reviewed