Base 16 to Base 10

Hexadecimal to Decimal Converter

Multiply each hexadecimal digit by 16 raised to its position index from right to left (starting at 0). Letter digits A–F correspond to decimal values 10–15.

Allowed: 0–9, A–F
base 16
Examples:
Decimal Result (Primary Target)base 10
10
Binary (base 2)
1010
Octal (base 8)
12

Step-by-Step Calculation Steps

Positional Notation Formula
Sum each digit multiplied by 16 raised to its position power (from right to left, starting at 0):
Expanded Sum
A (Hexadecimal) = (10 × 16^0)
Decimal Result
= 10 (base 10)

How to Convert Hexadecimal to Decimal

Multiply each hexadecimal digit by 16 raised to its position index from right to left (starting at 0). Letter digits A–F correspond to decimal values 10–15.

Conversion Formula / Rule
Decimal = Σ (d_n × 16ⁿ) where A=10, B=11, C=12, D=13, E=14, F=15

Worked Example: 2F (Hexadecimal) to Decimal

Problem Convert 2F (base 16) into base 10
Step-by-Step Solution
  1. Identify hex digit values: "2" = 2, "F" = 15
  2. Apply positional powers of 16: (2 × 16¹) + (15 × 16⁰)
  3. Compute products: (2 × 16) + (15 × 1)
  4. Sum terms: 32 + 15 = 47
Final Result 47 (Decimal)

Quick Conversion Reference Table (0–15)

Standard values across Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16):

Decimal (10) Binary (2) Octal (8) Hexadecimal (16)
0 0000 0 0
1 0001 1 1
2 0010 2 2
3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F

Image preview

Fit