Back to Tools
Math & Number Tools
Hex/Decimal Converter
Convert between hexadecimal and decimal numbers
Hexadecimal → Decimal
0x = 255
Decimal → Hexadecimal
= 0x FF
11111111
Binary
377
Octal
FF
Hex (upper)
ff
Hex (lower)
Hex Reference
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
Hexadecimal system
- Base-16 number system using digits 0-9 and letters A-F
- Common in CSS colors (#FF0000), memory addresses, and byte values
- Each hex digit represents exactly 4 binary bits
Want to learn more?
Read the complete guide with examples and tips
Related math tools
Continue with nearby tasks in the math & number tools hub.
Math
Percentage Calculator
Calculate percentages, increases, and decreases
Open tool
Math
Number Base Converter
Convert between binary, octal, decimal, and hex
Open tool
Math
Unit Converter
Convert between common units of measurement
Open tool
Math
Temperature Converter
Convert between Celsius, Fahrenheit, Kelvin, and more
Open tool
Math
Aspect Ratio Calculator
Calculate and maintain aspect ratios
Open tool
Math
Bytes Converter
Convert between bytes, KB, MB, GB, and TB
Open tool