Skip to content
⚡ Instant Results 🔄 Both Directions 🌐 Free · No Signup

Wandeln Sie hexadezimale Werte mit einem hochwertigen, mehrsprachigen Erlebnis in klare Dezimalwerte um.
Paste any hexadecimal string and see the decimal value instantly. No delay. No limits.

Von Byte-Debugging bis zu verständlichen Erklärungen verwandelt Hex to Decimal rohe Hex-Werte mit Validierung, Kontext und einer ruhigen Oberfläche in lesbare Dezimalausgaben.

⚡ Live Converter

Hex ↔ Decimal Converter

Type in either field — results update instantly

Valid characters: 0–9, A–F

Any positive integer

📖 Step-by-step Guide

How to Convert Hex to Decimal

Hex uses 16 symbols instead of 10. That's the only real difference. Once you understand how those 16 symbols map to values, the conversion is just multiplication and addition. Three steps. Every time.

Step 1 — The 16 Symbols: 0–9 and A–F

Hexadecimal has 16 symbols. It uses 0–9 exactly as decimal, then adds six letters to cover the remaining values. These are not letters — they are numbers.

01234567
01234567
89ABCDEF
89101112131415

A through F represent values 10–15 in a single character. This trips up almost everyone the first time.

Step 2 — Assign Place Values Using Powers of 16

Hexadecimal works exactly the same as decimal positional notation — but with powers of 16 instead of powers of 10.

Position Power of 16 Value
0 16^0 1
1 16^1 16
2 16^2 256
3 16^3 4,096
4 16^4 65,536

Step 3 — Multiply Each Digit by Its Place Value and Add

Take each hex digit, convert to its decimal value (using the A–F map), multiply by its power of 16, then sum all results.

Formula:

Decimal = d(n-1) × 16^(n-1) + ... + d1 × 16¹ + d0 × 16⁰

Where d is the decimal value of each hex digit and its subscript is its position from the right (starting at 0).

Worked Examples

1

Convert 1A3 to Decimal

Hex Digit Decimal Value Position Power of 16 Calculation
1 1 2 16^2 (256) 1 × 256 = 256
A 10 1 16^1 (16) 10 × 16 = 160
3 3 0 16^0 (1) 3 × 1 = 3

Sum of all results:

1A3 = 419

🔄 Reverse Conversion

How to Convert Decimal to Hex

Going the other direction uses a completely different method. Instead of multiplying, you divide — repeatedly, by 16. Each remainder becomes a hex digit, and you read them backwards.

1

Divide the decimal number by 16.

2

Record the remainder (converting 10-15 to A-F).

3

Use the quotient for the next division.

4

Repeat until the quotient is zero.

5

Read remainders from bottom to top.

Key mistake: People read the remainders top to bottom. It's always bottom to top.

Worked Examples

255 to Hex

Step Division Remainder Hex Digit
1 255 ÷ 16 15 F
2 15 ÷ 16 15 F

Read bottom up:

255 = FF

🧠 Why Hexadecimal?

What is Hexadecimal and Why Does It Exist?

Hexadecimal didn't appear because mathematicians needed a new number system. It exists because computers think in binary — and binary is exhausting for humans to read.

Binary is base-2. Every value is a string of 1s and 0s. For a transistor — on or off — that's perfect. For a human reading a memory address, it's a nightmare. Hex solves this cleanly.

4 Binary Bits = 1 Hex Digit (Always)

Every 4 binary digits (one nibble) map to exactly one hex digit. A byte is 8 binary bits — always 2 hex digits.

Binary (4 bits) Hex Digit Decimal
0000 0 0
0001 1 1
0010 2 2
0011 3 3
0100 4 4
0101 5 5
0110 6 6
0111 7 7

What the 0x Prefix Means

If you've written any code, you've seen 0xFF, 0x10, 0x1A3F. The 0x prefix isn't part of the hex value — it's a signal to the compiler that what follows is hexadecimal. Without it, FF could be confused with a variable name.

With 0x prefix Actual hex value Decimal
0x4A 4A 74
0xFF FF 255
0x1A3 1A3 419
📊 Complete Reference

Hex to Decimal Reference Table (0–255)

Every possible single-byte value — from 0 to 255 — expressed in hex and decimal. The complete reference for all 2-digit hex values.

Type a hex value (00–FF) or decimal (0–255) to highlight it instantly

Hex Decimal Hex Decimal
🌍 Real-World Usage

Where You Actually See Hex in Real Life

Hex is everywhere — you encounter it constantly, most of the time without realising it.

HTML and CSS Color Codes

Every color on a webpage is a hex value. The format is #RRGGBB — two hex digits for red, two for green, two for blue. Each pair runs from 00 (0 — none of that color) to FF (255 — full intensity).

Color Hex Red Green Blue Decimal
Pure Red
#FF0000 255 0 0 255, 0, 0
Pure Green
#00FF00 0 255 0 0, 255, 0
Pure Blue
#0000FF 0 0 255 0, 0, 255

Memory Addresses and Error Codes

Every address in a debugger is in hex. That's not stylistic — memory is organised in bytes, 8 bits maps perfectly to 2 hex digits. Windows error codes also follow this pattern: 0xC0000005 is STATUS_ACCESS_VIOLATION.

Hex Address Decimal Context
0x00000000 0 NULL Pointer
0x7FFF0000 2147418112 Stack Start
0x12000000 301989888 Heap Start

0xFF, 0x00, 0xFFFF — What They Mean

FF

255

1 Byte Max

FFFF

65,535

2 Byte Max

FFFFFFFF

4,294,967,295

4 Byte Max

⚠ Watch Out

Common Mistakes When Converting Hex to Decimal

These five mistakes account for nearly every wrong answer in manual hex arithmetic. Students make them on first attempt. Developers make them when moving fast.

1

0x Prefix Confusion

The 0x prefix is notation, not part of the value. FF and 0xFF represent the same value (255).

2

Reading Direction

Decimal to hex remainders must be read bottom-to-top, not top-to-bottom.

❓ FAQ

Frequently Asked Questions

Quick lookup: FF in decimal · 10 in hex · 255 in hex · 0x explained · Hex formula · Python conversion

What is 0xFF in decimal?

0xFF is 255 in decimal.

Why is hex used in programming?

Because one hex digit represents 4 bits, making it easier to read memory addresses.