Skip to content

2A in Decimal

Hexadecimal 2A equals 42 in decimal.

2A in all number bases

Decimal42
Hexadecimal0x2A
Binary0010 1010
Octal52

Try another value

Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.

Input base:
Decimal42
Hex0x2A
Binary0b101010
Octal0o52

How 2a converts from hexadecimal to decimal

Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:

2× 161 = 2 × 16 = 32
A× 160 = 10 × 1 = 10

Sum: 42

This tool runs entirely in your browser - nothing you enter is uploaded or stored.

Want to learn the method behind this tool? Read How to Convert Hexadecimal to Decimal - the full step-by-step guide.