18 Decimal in Hex
Start convert the decimal number 18 to hexadecimal.
Step 1: Divide by 16
Start by dividing 18 by 16:
18 ÷ 16 = 1 (Quotient) with a remainder of 2
Note: In hexadecimal 10 is represented as A, 11 as B, 12 as C, 13 as D, 14 as E, and 15 as F.
Step 2: Final actions
The Quotient is less than 16 (1), so we will transfer it to the beginning of the number as a reminder.
Step 3: Write Remainders in Reverse Order
Now, write down the remainders obtained in reverse order:
12
So, the hexadecimal representation of the decimal number 18 is 12.
Decimal To Hex Converter
Other examples of Decimal to Hexadecimal conversion
See also: