Hex → Decimal

Model 1974 — Electronic Number Converter

0x
Decimal
Octal
Binary
Signed 32-bit

Frequently Asked Questions

How do I convert hex to decimal?

Multiply each hex digit by 16 raised to its positional power and sum the results. For example, 0xFF = (15×16) + 15 = 255. Just type your hex value above for an instant result.

What does the 0x prefix mean?

The 0x prefix is used in programming languages like C, Python, and JavaScript to signal that a number is hexadecimal (base 16). You can type values with or without it above.

How do I convert hex to binary?

Each hex digit maps to exactly 4 binary bits (a nibble). Hex A = 1010, hex F = 1111, so AF = 10101111. The Binary row and visualizer above do this automatically.

What is a signed 32-bit integer?

A signed 32-bit integer stores values from −2,147,483,648 to 2,147,483,647 using two's complement. Large hex values like DEADBEEF show a negative signed result, which is what languages like C and Java would produce.