How to convert hexadecimal to decimal (example: 9C)
Multiply each digit by its place value (a power of 16) and add the results:
Place value chart
Every digit of 9C (base 16) is worth its value multiplied by a power of 16. Adding the last column gives the decimal value 156.
| Digit | Place value | Contribution |
|---|---|---|
9 | 161 = 16 | 144 |
C | 160 = 1 | 12 |
Remember: in base 10 the allowed digits are 0123456789; in base 16 they are 0123456789ABCDEF.
Hexadecimal to Decimal table
| Hexadecimal | Decimal |
|---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
7 | 7 |
8 | 8 |
A | 10 |
F | 15 |
10 | 16 |
19 | 25 |
20 | 32 |
32 | 50 |
40 | 64 |
64 | 100 |
7F | 127 |
80 | 128 |
FF | 255 |
100 | 256 |
200 | 512 |
3E8 | 1000 |
400 | 1024 |
7EA | 2026 |
Where number systems are used
- Binary — how CPUs, memory and network packets store every value.
- Octal — Unix/Linux file permissions such as chmod 755.
- Hexadecimal — colour codes (#FF5733), MAC addresses, memory dumps and Unicode code points.
- Decimal — everyday arithmetic, prices and measurements.
About these number systems
Hexadecimal
Hexadecimal (base 16) uses 0–9 and A–F, common in programming, colour codes and memory addresses.
Decimal
Decimal (base 10) is the everyday number system using digits 0–9.
Frequently asked questions
What is 9C (hexadecimal) in decimal?
9C in base 16 equals 156 in base 10.
Can it convert very large numbers?
Yes. The converter uses arbitrary-precision integers (BigInt), so large numbers convert exactly.
Is this useful for HSC ICT?
Yes. Number systems are part of the HSC ICT syllabus in Bangladesh, and the step-by-step method matches textbook solutions.