Skip to content

27 in Hexadecimal

Decimal 27 equals 0x1B in hexadecimal.

27 in all number bases

Decimal27
Hexadecimal0x1B
Binary0001 1011
Octal33

Try another value

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

Input base:
Decimal27
Hex0x1B
Binary0b11011
Octal0o33

How 27 converts from decimal to hexadecimal

Divide by 16 repeatedly and keep each remainder, then read the remainders from bottom to top:

27÷ 16 =1remainder11 → B
1÷ 16 =0remainder1

Result (remainders bottom to top): 1B

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 Decimal to Hexadecimal - the full step-by-step guide.