0x
HexDec

Hexadecimal to Decimal Converter

Convert hexadecimal to decimal in real time. Type or paste your input below — everything is computed locally in your browser, with nothing sent to a server.

  • Client-side
  • No tracking
  • No uploads
Decimal output
Result appears here
HexadecimalDecimal

Overview

What hexadecimal to decimal means

Converting hexadecimal to decimal rewrites the same integer using a different digit alphabet and place-value system.

The absolute value does not change — only the representation does. Hexadecimal uses base-16 (0–9, A–F); Decimal uses base-10 (0–9). This page treats the whole input as one number (whitespace is ignored), which matches how engineers usually convert machine values between bases.

Guide

How to convert hexadecimal to decimal

  1. 1

    Read the hexadecimal digits

    Confirm every character is legal in base-16 (0–9, A–F). Optional whitespace is stripped before parsing so you can paste spaced nibbles or bytes.

  2. 2

    Convert to an absolute value

    Each digit is multiplied by 16 raised to its position, counting from the right starting at power 0. Summing those terms yields the same integer you would write in decimal.

  3. 3

    Express the value in base-10

    Repeatedly divide by 10 and collect remainders, or mentally group bits when moving between binary, octal, and hex. The remainders become the decimal digits (0–9).

  4. 4

    Preserve the sign if present

    A leading minus sign is kept through the conversion. The magnitude is converted, then the sign is reattached to the result.

Example

Worked example

Take the hexadecimal sample 48 69. Walking through the conversion:

  • Digits: 4 8 6 9 (base-16)
  • Place values: 4×16^3 + 8×16^2 + 6×16^1 + 9×16^0 = 18537 (decimal)
  • In base-10: 18537
Hex48 69
converts to
Dec18537

Reference

Base reference (0–15)

Values zero through fifteen in decimal, binary, octal, and hexadecimal — the building blocks for larger conversions.

ValueDecBinOctHex
00000
11111
221022
331133
4410044
5510155
6611066
7711177
881000108
991001119
1010101012A
1111101113B
1212110014C
1313110115D
1414111016E
1515111117F

Basics

About these bases

base-16Hexadecimal

Hexadecimal is base-16, using digits 0–9 and letters A–F. Each hex digit maps to four binary digits (a nibble).

Two hex digits represent one byte, which is why hex is common for memory addresses, color codes (#RRGGBB), hashes, and debugging dumps. Case is usually ignored when reading values.

Digits: 0–9, A–F

base-10Decimal

Decimal is base-10, the everyday number system using digits 0–9.

Decimal is the bridge humans usually use when reasoning about other bases. Converting through decimal is a reliable mental model even when a tool does the work for you.

Digits: 0–9

Practice

When to use a hexadecimal → decimal converter

  • Debugging & inspection

    Quickly check how a hexadecimal value looks when rewritten as decimal without opening a calculator or REPL.

  • Learning place value

    See the same quantity side by side in two alphabets — a concrete way to internalize powers of two, eight, ten, or sixteen.

  • Protocol & homework checks

    Verify dumps, worksheet answers, or configuration values before you paste them into code or documentation.

  • Private, offline work

    Everything runs in your browser. Nothing you type is uploaded, which keeps keys, snippets, and sample data on your device.

Notes

Tips and common pitfalls

  • Whitespace inside numeric input is ignored, so you can paste grouped bytes or nibbles safely.
  • Hex digits A–F are accepted in either case; output uses lowercase for consistency.
  • Invalid digits stop the conversion with a clear error instead of silently skipping characters.

Explore

Related converters

FAQ

Frequently asked questions

Does hexadecimal to decimal change the value?
No. Both sides represent the same integer. Only the digit alphabet and place values change.
Is my input uploaded?
No. Conversion runs entirely in your browser. Nothing you type is sent to a server.
How should I format multi-value input?
Enter a single number. Spaces inside the digits are stripped before parsing.
What digits are valid in hexadecimal?
Hexadecimal accepts 0–9, A–F. Letter case does not matter.