Skip to content

40 in Decimal

Hexadecimal 40 equals 64 in decimal.

40 in all number bases

Decimal64
Hexadecimal0x40
Binary0100 0000
Octal100

Try another value

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

Input base:
Decimal64
Hex0x40
Binary0b1000000
Octal0o100

How 40 converts from hexadecimal to decimal

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

4× 161 = 4 × 16 = 64
0× 160 = 0 × 1 = 0

Sum: 64

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.