Open In App

Hexadecimal to Decimal Converter

Last Updated : 23 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Our Hexadecimal to Decimal Converter tool allows you to convert hexadecimal numbers to their decimal equivalents.

How to Use Hexadecimal to Decimal Converter

Here is a step-by-step process of using this hexa-to-deci converter:

Step 1: Enter a hexadecimal number in the box below. You can use the digits 0-9 and the letters A-F (representing 10-15).

Step 2: Click the "Convert" button.

Step 3: The equivalent decimal value will be displayed below the box.

Example: Convert the hexadecimal number 3B to decimal.

3 x 16^1 (3 * 16) = 48
B x 16^0 (11 * 1) = 11
48 + 11 = 59
Therefore, 3B (hex) is equal to 59 (decimal).

What is Hexadecimal?

Hexadecimal, or hex, is a base-16 numerical system using digits 0-9 and letters A-F to represent values 10-15. Widely used in computing, it provides a concise representation of binary data and simplifies tasks such as memory addressing color representation, and programming.

What is a Decimal Number?

A decimal number is a numerical value expressed in the base-10 system, using digits 0 to 9. It represents quantities in everyday mathematics and is widely used in commerce, finance, and everyday calculations, with each digit's position representing a power of 10.

Hexadecimal to Decimal Conversion with Steps

As we know, Hexadecimal numbers use base-16, while decimal numbers use base-10.

let’s understand how to convert a hexadecimal number to a decimal number with an example.

Step 1: Understand the Hexadecimal System The hexadecimal system is a base-16 number system. It uses sixteen distinct symbols: 0-9 to represent values zero to nine, and A-F (or alternatively a-f) to represent values ten to fifteen.

Step 2: Assign Each Digit a Decimal Value Assign each digit in the hexadecimal number a decimal value. For example, in the hexadecimal number 2A32 is in the hundreds place, A (which represents 10 in decimal) is in the tens place, and 3 is in the ones place.

Step 3: Multiply Each Digit by 16 to the Power of its Position Starting from the right (the ones place), multiply each digit by 16 to the power of its position. The position is zero-indexed, so the rightmost digit is in position 0, the next digit to the left is in position 1, and so on.

Step 4: Add the Results Add up all the results from step 3 to get the decimal equivalent of the hexadecimal number.

Example: Hexadecimal number: 3A7B

Calculation:
3 * 16^3 + A(10) * 16^2 + 7 * 16^1 + B(11) * 16^0
= 3 * 4096 + 10 * 256 + 7 * 16 + 11 * 1
= 12288 + 2560 + 112 + 11
= 14971
So, the decimal equivalent of hexadecimal 3A7B is 14971.

Explore