Convert Hexadecimal to Decimal
Convert hex to decimal instantly. Supports uppercase and lowercase hex digits. Free online number base converter.
Input
Number
From Base
2-36
Results
2
Binary
Base 2
0b111111118
Octal
Base 8
0o37710
Decimal
Base 10
25516
Hexadecimal
Base 16
0xFFStep-by-Step Conversion
Step 1: Convert Decimal 255 to Binary
255 / 2 = 127 remainder 1
127 / 2 = 63 remainder 1
63 / 2 = 31 remainder 1
31 / 2 = 15 remainder 1
15 / 2 = 7 remainder 1
7 / 2 = 3 remainder 1
3 / 2 = 1 remainder 1
1 / 2 = 0 remainder 1
Result: 11111111
About This Conversion
Hexadecimal (base-16) uses digits 0-9 and letters A-F to represent values 0-15. It is widely used in computing because each hex digit maps perfectly to 4 binary bits, making it a compact way to represent binary data. Converting hex to decimal involves multiplying each digit by 16 raised to its positional power. For example, hex FF = (15x16) + (15x1) = 255. Hexadecimal appears in CSS color codes (#FF5733), memory addresses (0x7FFF), HTML character codes, and MAC addresses.
Frequently Asked Questions
How do I convert hexadecimal to decimal?
Multiply each hex digit by 16 raised to its position (starting from 0 on the right). A=10, B=11, C=12, D=13, E=14, F=15. Sum all values.
What is hex FF in decimal?
FF in hexadecimal equals 255 in decimal. This is 15x16 + 15x1 = 240 + 15 = 255.