Hex to Decimal Converter
Convert hexadecimal numbers to decimal and decimal to hex instantly. Also shows binary and octal. Free browser-based tool.
How to Use
- 1 Select Hex → Decimal to convert a hex number to decimal, or Decimal → Hex for the reverse
- 2 Enter your hex number (e.g. 1A) or decimal number (e.g. 26)
- 3 Click Convert to see the result along with binary and octal representations
Use Cases
Convert hex color codes to decimal RGB values for use in CSS functions like rgb() or JavaScript color manipulation.
Translate hex memory addresses, register values, and byte constants to decimal for easier arithmetic and debugging.
Practice base conversion between hex and decimal to understand how computers store and display numeric values.
FAQ
Multiply each hex digit by its positional power of 16 and sum the results. For example, 1A = 1×16 + 10 = 26.
Hex digits go from 0–9 then A–F, where A=10, B=11, C=12, D=13, E=14, F=15. This allows representing 0–15 with a single character.
No. This tool accepts both uppercase (FF) and lowercase (ff) hex digits and always outputs uppercase.
Related Tools
A/B Test Calculator
Check if your A/B test results are statistically significant. Calculates p-value, Z-score, uplift, and statistical power. Free.
Open →A/B Test Sample Size Calculator
Calculate the sample size needed per variation for a statistically valid A/B test. Set confidence level, power, baseline rate and MDE. Free.
Open →ACOS Calculator
Calculate your Amazon ACOS, ROAS, and break-even ACOS instantly. Free tool for Amazon sellers to measure ad efficiency and profitability.
Open →