Type any hex value. Get the decimal result in one click.
No sign-up. No download. No waiting.
This free hex to decimal converter handles everything instantly. It works for short codes like FF and long integers up to 16 hex characters. It even shows the binary equivalent and signed 2's complement.
Whether you're a developer, student, or just solving a quick problem, this tool is built for you.
Type a hex value below — or use the converter above — and watch the step-by-step breakdown animate in real time.
Enter a hexadecimal number above to see the visual calculation
It takes three steps. That's it.
Type your hex value into the input box.
Hit the Convert button.
Read your decimal result instantly.
You can also convert decimal back to hex. Just switch the input direction and hit convert again. The tool handles both directions with zero effort.
Need to start over? Hit Reset and the fields clear immediately.
Hexadecimal is a base-16 number system. It uses 16 unique symbols to represent values.
Those symbols are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.
The letters A through F replace the numbers 10 through 15. Each position in a hex number represents a power of 16.
You've seen hex more than you think. Here are the most common places:
Hex is compact. It represents large binary values in fewer characters. That's why computers love it and programmers rely on it daily.
Decimal is a base-10 number system. It's the system humans use every day.
It uses 10 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
Each digit position represents a power of 10. So the number 253 means:
2 × 10² + 5 × 10¹ + 3 × 10⁰ = 200 + 50 + 3 = 253
Decimal is called "base 10" because of those 10 symbols. Computers use other bases like binary (base 2) and hex (base 16). But humans always end up converting back to decimal to understand a value.
That's exactly why a hexadecimal to decimal converter is so useful.
You can do this manually with a simple formula.
Decimal = dn-1 × 16n-1 + ... + d1 × 16¹ + d0 × 16⁰
Each digit in the hex number gets multiplied by 16 raised to its position. Then you add all the results together.
Here's the process broken down clearly:
That final sum is your decimal number.
Let's walk through real examples so the method clicks.
3B16 = 3 × 16¹ + 11 × 16⁰ = 3 × 16 + 11 × 1 = 48 + 11 = 59
7DE16 = 7 × 16² + 13 × 16¹ + 14 × 16⁰ = 7 × 256 + 13 × 16 + 14 × 1 = 1792 + 208 + 14 = 2014
E7A916 = 14 × 16³ + 7 × 16² + 10 × 16¹ + 9 × 16⁰ = 57344 + 1792 + 160 + 9 = 59305
FF16 = 15 × 16¹ + 15 × 16⁰ = 240 + 15 = 255
FF is the most common hex value. It shows up in color codes, network masks, and bit flags constantly.
1A16 = 1 × 16¹ + 10 × 16⁰ = 16 + 10 = 26
Don't want to do the math yourself? Use the hex to decimal calculator at the top of this page. It's instant and handles values up to 16 hex characters.
Need to go the other direction? Converting decimal to hex is just as simple.
255 ÷ 16 = 15 remainder 15 → F
15 ÷ 16 = 0 remainder 15 → F
Read remainders upward: FF
So 25510 = FF16. That's why #FFFFFF means pure white in HTML.
4302 ÷ 16 = 268 remainder 14 → E
268 ÷ 16 = 16 remainder 12 → C
16 ÷ 16 = 1 remainder 0 → 0
1 ÷ 16 = 0 remainder 1 → 1
Read upward: 10CE
So 430210 = 10CE16.
Use our decimal to hexadecimal converter to skip the manual steps entirely.
Bookmark this table. It covers the most common hex values you'll encounter.
| Hex (Base 16) | Decimal (Base 10) | Calculation |
|---|---|---|
| 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 | — |
| 10 | 16 | 1×16¹ + 0×16⁰ |
| 1A | 26 | 1×16¹ + 10×16⁰ |
| 1F | 31 | 1×16¹ + 15×16⁰ |
| 20 | 32 | 2×16¹ + 0×16⁰ |
| 3B | 59 | 3×16¹ + 11×16⁰ |
| 40 | 64 | 4×16¹ + 0×16⁰ |
| 64 | 100 | 6×16¹ + 4×16⁰ |
| 7F | 127 | 7×16¹ + 15×16⁰ |
| 80 | 128 | 8×16¹ + 0×16⁰ |
| A0 | 160 | 10×16¹ + 0×16⁰ |
| C0 | 192 | 12×16¹ + 0×16⁰ |
| FF | 255 | 15×16¹ + 15×16⁰ |
| 100 | 256 | 1×16² + 0×16¹ + 0×16⁰ |
| 1D9 | 473 | 1×16² + 13×16¹ + 9×16⁰ |
| 200 | 512 | 2×16² + 0 + 0 |
| 3FF | 1023 | 3×16² + 15×16¹ + 15×16⁰ |
| 400 | 1024 | 4×16² + 0 + 0 |
| 7DE | 2014 | 7×16² + 13×16¹ + 14×16⁰ |
| FFF | 4095 | 15×16² + 15×16¹ + 15×16⁰ |
| FFFF | 65535 | 15×16³ + 15×16² + 15×16¹ + 15×16⁰ |
Need a value not listed here? Use the hex calculator tool at the top of this page for an instant result.
This isn't just another calculator. It's built for people who need answers fast.
Here's what makes it stand out:
Type your hex code and get the decimal output in milliseconds. No delays. No loading screens.
Convert hex to decimal or decimal to hex. Switch directions anytime. One tool does both.
See the binary equivalent and signed 2's complement alongside your decimal result. All in one place.
Use it on your laptop, tablet, or phone. The layout adjusts automatically for any screen size.
No account needed. No paywalls. No limits on how many conversions you run.
The tool handles up to 16 hex characters without errors. Reliable math you can trust.
It's the process of changing a base-16 hex number into a base-10 decimal number. You multiply each hex digit by 16 raised to its position. Then you sum all the results. Our converter does this automatically in one click.
Write each digit's position starting from 0 on the right. Multiply each digit by 16 raised to its position. Add all results together. That sum is your decimal number. For example: 1E16 = 1×16 + 14×1 = 3010.
FF in hex equals 255 in decimal. This is because F = 15, so FF = 15×16 + 15×1 = 240 + 15 = 255. This value appears often in color codes and binary masks.
FFFFFF16 = 16,777,21510. This is the decimal value of pure white in RGB color space. Each pair (FF, FF, FF) equals 255 in red, green, and blue channels.
Divide the decimal number by 16 repeatedly. Note each remainder. When the quotient reaches 0, read the remainders from last to first. That sequence is your hex number. Use our decimal to hex converter to skip the manual steps.
A hex calculator performs arithmetic using base-16 numbers. Developers use it for bitwise operations, memory address calculations, and color code conversions. Our hex to decimal tool handles direct number conversion instantly.
Signed 2's complement is a method computers use to represent negative integers. When converting a hex value, this tool shows both the unsigned decimal and the signed 2's complement interpretation. It's useful for low-level programming and embedded systems work.
There's no fixed one-to-one relationship. A single hex digit (0–F) represents values 0–15, which needs up to 2 decimal digits. Larger hex numbers need proportionally more decimal digits to represent the same value. Our converter handles this automatically up to 16 hex digits.
Yes. Enter any hex color value without the # symbol. For example, type FF5733 and convert each two-digit pair separately. FF = 255, 57 = 87, 33 = 51. Those are the R, G, and B values in decimal.
Looking for more converters? Here are the most useful ones: