Hexadecimal to Decimal Converter

Professional number base conversion tool supporting hexadecimal numbers of any length

Supports 0x prefix format
0x
Common Numbers:

Enter a hexadecimal number to see the conversion result

Hexadecimal to Decimal Conversion Guide

What is Hexadecimal?

Hexadecimal is a base-16 number system that uses 16 characters (0-9 and A-F) to represent values. It's widely used in computer science because it can concisely represent binary data.

0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15

Conversion Method

The method for converting hexadecimal to decimal is to multiply each digit by the corresponding power of 16, then sum the results:

Example: 1A3₁₆ to decimal
1A3₁₆ = 1×16² + A×16¹ + 3×16⁰
= 1×256 + 10×16 + 3×1
= 256 + 160 + 3
= 419₁₀

Applications

Programming

Memory addresses, pointer values, register contents

Web Design

Color codes, CSS value conversion

System Analysis

Error codes, status value parsing