Hex to Decimal Converter

Convert hexadecimal numbers to decimal, binary, and octal instantly. Essential tool for programmers and developers.

Decimal
Binary
Octal

How to Use This Calculator

  1. Enter your hexadecimal value in the input field (e.g. FF, 1A3F).
  2. The decimal, binary, and octal equivalents are shown instantly.
  3. Valid hex characters are 0–9 and A–F (case insensitive).

Formula

Hex to Decimal: sum of (digit × 16^position) for each digit from right (position 0).

FF = (15 × 16¹) + (15 × 16⁰) = 240 + 15 = 255

Example

Example: Convert 1A to decimal:

(1 × 16) + (10 × 1) = 16 + 10 = 26

Frequently Asked Questions

  • Hexadecimal is a base-16 number system using digits 0–9 and letters A–F (where A=10, B=11, C=12, D=13, E=14, F=15). It is widely used in computing and color codes.
  • Multiply each digit by 16 raised to its positional power, then sum. For example, FF = (15 × 16) + (15 × 1) = 240 + 15 = 255.
  • FF in hexadecimal equals 255 in decimal. This is the maximum value of a single byte.
  • Hex is convenient because one hex digit represents exactly 4 binary bits (a nibble), making it compact and easy to convert to/from binary.
  • 0xFF is the common prefix notation for hex. 0xFF = FF = 255 in decimal.

Related Calculators