What is 42 in hex?

42 in decimal equals 2A in hexadecimal.

Step-by-step working

DivisionQuotientRemainder (hex)
42 ÷ 162A
2 ÷ 1602

How it works

Divide 42 by 16 repeatedly, writing down each remainder as a hex digit, then read the remainders from bottom to top.

Convert any value with our free decimal to hex converter — no sign-up needed.

Related conversions