BinaryCon Binary Converter

Hex to Decimal Converter - Convert Hexadecimal to Decimal Online

Result

Hex to Decimal Converter

The Hex to Decimal Converter instantly converts hexadecimal (base-16) numbers into decimal (base-10) values. It is an essential tool for programmers, embedded engineers, students, network administrators, and anyone working with computer systems, memory addresses, binary data, or hexadecimal values.

Simply enter a hexadecimal value and the converter calculates its decimal equivalent instantly. The tool also explains the conversion process with formulas and practical examples.

Examples

A → 10
1A → 26
64 → 100
FF → 255
400 → 1024
1000 → 4096

Definition

Hexadecimal to decimal conversion converts a base-16 number into its equivalent base-10 value by multiplying each hexadecimal digit by the appropriate power of sixteen.

What is Hex to Decimal?

Hexadecimal is a base-16 number system that uses sixteen symbols: 0-9 and A-F. Decimal is the standard base-10 number system used in everyday mathematics.

Hex Digits

0 1 2 3 4 5 6 7 8 9 A B C D E F

Decimal Values

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

How to Convert Hex to Decimal

  1. Start from the rightmost hexadecimal digit.
  2. Multiply each digit by 16 raised to its position.
  3. Add all values together.
Example

Hex = 1A

A = 10 × 16⁰ = 10

1 = 1 × 16¹ = 16

16 + 10 = 26

Hex to Decimal Formula

Decimal = Σ (Digit × 16^Position)

Example:

FF

F = 15 × 16¹ = 240

F = 15 × 16⁰ = 15

240 + 15 = 255

Hexadecimal to Decimal Conversion Table

Hex Decimal Binary
000000
110001
A101010
F151111
101610000
1A2611010
641001100100
FF25511111111
2005121000000000
400102410000000000
100040961000000000000

Common Hex Values

Hex Decimal
FF255
FFFF65,535
FFFFFF16,777,215
FFFFFFFF4,294,967,295

Applications of Hexadecimal Numbers

  • Programming
  • Embedded Systems
  • Computer Architecture
  • Memory Addresses
  • Machine Code
  • Microcontrollers
  • Operating Systems
  • Networking
  • HTML Color Codes
  • Digital Electronics
  • Cybersecurity
  • Debugging

Programming Examples

Python

int("FF",16)

Output

255
JavaScript

parseInt("FF",16)

Output

255
Java

Integer.parseInt("FF",16)

Output

255
C#

Convert.ToInt32("FF",16)

Output

255

Frequently Asked Questions

What is a Hex to Decimal Converter?

A Hex to Decimal Converter converts hexadecimal (base-16) numbers into decimal (base-10) values instantly.

What is hexadecimal?

Hexadecimal is a base-16 numbering system using the digits 0-9 and letters A-F.

How do you convert hexadecimal to decimal?

Multiply each hexadecimal digit by the corresponding power of 16 and add all results together.

What is the hexadecimal to decimal formula?

The formula is: Decimal = Σ(Digit × 16Position).

What is FF in decimal?

FF in hexadecimal equals 255 in decimal.

What is 1A in decimal?

1A in hexadecimal equals 26 in decimal.

What is 400 in hexadecimal?

400 (hex) equals 1024 in decimal.

What is 1000 in hexadecimal?

1000 (hex) equals 4096 in decimal.

Can I convert decimal back to hexadecimal?

Yes. Use our Decimal to Hex Converter to convert decimal values back into hexadecimal.

Why is hexadecimal used in programming?

Hexadecimal is compact and easier to read than binary because one hexadecimal digit represents exactly four binary bits.

Where is hexadecimal used?

Hexadecimal is widely used in programming, embedded systems, networking, operating systems, memory addressing, HTML color codes, debugging, and digital electronics.

What do the letters A to F mean in hexadecimal?
Hex Decimal
A10
B11
C12
D13
E14
F15
Is this Hex to Decimal Converter free?

Yes. This online Hex to Decimal Converter is completely free and requires no registration or installation.