Hex Suite•Base-16 to Base-10 Expansion

Hexadécimal en Décimal

Conversion de 0x en base 10 avec développement en puissances

Power Expansion∑ digit × 16ⁿ
(2 × 16¹ = 32) + (10 × 16⁰ = 10) = 42
Preset hex values:
Decimal (Base-10)
42
Standard: 42₁₀ (from 0x2A)
Binary (Base-2)0010 1010
Octal (Base-8)0o52
ASCII Character'*' (ASCII 42)
RGB Color#00002A
fx

How Hexadecimal to Decimal Conversion Works

1Step 1: Identify positional powers of 16: (2 × 16¹) + (A × 16⁰).
2Step 2: Replace hexadecimal letters with their numerical values: A = 10.
3Step 3: Calculate the product of each position: 2 × 16 = 32, and 10 × 1 = 10.
4Step 4: Sum all products: 32 + 10 = 42₁₀.

Powers of 16 and Hexadecimal Weight Chart

Positional values of base-16 digit places and common boundary quantities.

Power of 16Decimal EquivalentHexadecimal FormDescriptionAction
16⁰10x1Ones Place
16¹160x10Sixteens Place
16²2560x100Byte Boundary (256)
16³4,0960x1000Four Kilobytes (4K)
16⁴65,5360x1000016-bit Boundary (64K)
16⁵1,048,5760x100000One Megabyte (1MB)
16⁶16,777,2160x100000024-bit TrueColor (16M)
16⁷268,435,4560x10000000256 Megabytes

Frequently Asked Questions

Everything you need to know about decimal conversions, accuracy, and formulas.

01How do you convert hexadecimal to decimal?▼

To convert hexadecimal (Base-16) to decimal (Base-10): multiply each hexadecimal digit by 16 raised to the power of its position index (starting at 0 for the rightmost integer digit). Convert letter values (A=10, B=11, C=12, D=13, E=14, F=15), then sum all positional products together. For example: 0x2E = (2 × 16¹) + (14 × 16⁰) = 32 + 14 = 46.

02What values do letters A through F represent in hex?▼

In hexadecimal notation: A = 10, B = 11, C = 12, D = 13, E = 14, and F = 15. The system uses 16 unique digits (0 through 9 followed by A through F).

03How do you convert fractional hexadecimal numbers to decimal?▼

For digits after the radix point, multiply each hex digit by negative powers of 16 (16⁻¹ = 1/16 = 0.0625, 16⁻² = 1/256 = 0.00390625, etc.). For example, 0x0.8 = 8 × (1/16) = 0.5.

Copied to clipboard!