56 in Hexadecimal
Decimal 56 equals 0x38 in hexadecimal.
56 in all number bases
Decimal56
Hexadecimal0x38
Binary0011 1000
Octal70
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
56Hex
0x38Binary
0b111000Octal
0o70How 56 converts from decimal to hexadecimal
Divide by 16 repeatedly and keep each remainder, then read the remainders from bottom to top:
56÷ 16 =3remainder8
3÷ 16 =0remainder3
Result (remainders bottom to top): 38
This tool runs entirely in your browser - nothing you enter is uploaded or stored.