34 in Hexadecimal
Decimal 34 equals 0x22 in hexadecimal.
34 in all number bases
Decimal34
Hexadecimal0x22
Binary0010 0010
Octal42
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
34Hex
0x22Binary
0b100010Octal
0o42How 34 converts from decimal to hexadecimal
Divide by 16 repeatedly and keep each remainder, then read the remainders from bottom to top:
34÷ 16 =2remainder2
2÷ 16 =0remainder2
Result (remainders bottom to top): 22
This tool runs entirely in your browser - nothing you enter is uploaded or stored.