Hex to Decimal Converter - Convert Hexadecimal to Decimal & More
Result:
A0 (hex) = 160 (decimal)
How Number System Conversion Works
Input Number
Enter number value
Select Bases
Choose number systems
Convert
Apply base formula
Conversion Formulas
Hex to Decimal
Decimal = Σ(digit × 16ⁿ)
Example: A0₁₆ = 10×16¹ + 0×16⁰ = 160₁₀
Decimal to Hex
Divide by 16, collect remainders
Example: 160₁₀ ÷ 16 = 10 rem 0 → A0₁₆
Hex Digit Values
A=10, B=11, C=12, D=13, E=14, F=15
Example: BC₁₆ = 11×16¹ + 12×16⁰ = 188₁₀
Position Values
16³, 16², 16¹, 16⁰ = 4096, 256, 16, 1
Example: 1A2₁₆ = 1×256 + 10×16 + 2×1 = 418₁₀
Hex to Decimal Conversion Table
| Hexadecimal | Decimal | Binary | Octal |
|---|---|---|---|
| A | 10 | 1010 | 12 |
| B | 11 | 1011 | 13 |
| C | 12 | 1100 | 14 |
| D | 13 | 1101 | 15 |
| E | 14 | 1110 | 16 |
| F | 15 | 1111 | 17 |
| 10 | 16 | 10000 | 20 |
| 1A | 26 | 11010 | 32 |
| 20 | 32 | 100000 | 40 |
| 2F | 47 | 101111 | 57 |
| 50 | 80 | 1010000 | 120 |
| 64 | 100 | 1100100 | 144 |
| 80 | 128 | 10000000 | 200 |
| A0 | 160 | 10100000 | 240 |
| FF | 255 | 11111111 | 377 |
Number System Progression Chart
10 (hex)
20 (hex)
50 (hex)
80 (hex)
A0 (hex)
FF (hex)
Practice Problems
Problem 1:
Convert 2B (hex) to decimal
Solution: 2×16¹ + 11×16⁰ = 32 + 11 = 43₁₀
Problem 2:
Convert 100 (decimal) to hex
Solution: 100 ÷ 16 = 6 rem 4 → 64₁₆
Problem 3:
Convert 1F4 (hex) to decimal
Solution: 1×256 + 15×16 + 4×1 = 500₁₀
Problem 4:
Convert 255 (decimal) to hex
Solution: 255 = 15×16 + 15 → FF₁₆
Problem 5:
Convert ABC (hex) to decimal
Solution: 10×256 + 11×16 + 12×1 = 2748₁₀
Daily Uses of Hex to Decimal Conversion
Web development color code conversion and CSS styling
Computer memory address calculations and debugging
Network configuration and MAC address interpretation
Digital image processing and pixel value calculations
Embedded systems programming and register settings
Export Options
Reverse Conversion
decimal to hex →Popular Converters
Quick Reference
What is Hex to Decimal Conversion?
Hex to decimal conversion changes hexadecimal numbers into decimal numbers. Hexadecimal uses 16 symbols (0-9 and A-F) while decimal uses 10 symbols (0-9). Our hex to decimal converter makes this change quick and easy for everyone.
This hexadecimal to decimal converter helps programmers and students work with different number systems. The hex converter tool is perfect for computer science work and programming tasks. You can also use our decimal converter to change decimal numbers back to hex format.
How to Use This Hex to Decimal Converter
Easy Steps:
- Type your hex number in the input box
- Select "Hexadecimal" as your starting format
- Choose "Decimal" as your target format
- See the decimal result appear instantly
- Copy or save your conversion result
Common Uses:
- • Programming and software development
- • Computer science homework and projects
- • Web development color code conversion
- • Memory address calculations
- • Digital electronics and embedded systems
Understanding Hex and Decimal Numbers
Hexadecimal (Base 16):
Hexadecimal uses 16 different symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. The letters A through F represent the numbers 10 through 15. Programmers use hex because it connects well with binary and is shorter to write.
Decimal (Base 10):
Decimal uses 10 symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. This is the number system we use every day for counting and math. Our hex to decimal converter helps you change hex numbers into this familiar format.
Why Convert Hex to Decimal?
Programmers need to convert hex to decimal because computers often show data in hex format. When you see memory addresses, color codes, or error messages in hex, you might want to know the decimal value. Our hexadecimal to decimal converter makes this easy.
Students learning computer science use hex to decimal conversion to understand how computers work. The base 16 to base 10 conversion helps you see the relationship between different number systems. This number system converter is perfect for homework and learning.
Web developers work with hex color codes like #FF0000 and need to understand their decimal values. Electronics engineers see hex values in datasheets and need decimal equivalents for calculations. Our programming converter handles all these needs quickly.
Quick Conversion Examples
Basic Examples
Two Digits
Larger Numbers
Frequently Asked Questions
How does hex to decimal conversion work?
Each hex digit represents a power of 16. You multiply each digit by its position value and add them up. For example, A0 hex = 10×16¹ + 0×16⁰ = 160 decimal. Our hex to decimal converter does this math for you.
What do the letters A-F mean in hex?
In hexadecimal, A=10, B=11, C=12, D=13, E=14, and F=15. These letters represent numbers bigger than 9 since hex uses 16 different symbols. Our hexadecimal to decimal converter handles these automatically.
Can this converter work backwards from decimal to hex?
Yes! Our decimal converter works both ways. Just select "Decimal" as input and "Hexadecimal" as output. The number system converter supports hex, decimal, binary, and octal conversions.
Is this hex converter accurate for programming work?
Yes, our programming converter uses exact mathematical formulas that computers use. It's perfect for programming, web development, and computer science calculator needs.
Real-World Applications
Programming & Development:
- • Memory address calculations and debugging
- • Color code conversions in web design
- • Error code interpretation and analysis
- • Assembly language programming tasks
Computer Science & Electronics:
- • Digital circuit design and analysis
- • Microcontroller register settings
- • Network protocol data interpretation
- • Computer science homework and projects