Number 187 in hexadecimal

Decimal to hex converter
Decimal Number to convert

What is number 187 in hex?

Answer

Decimal number 187 in hexadecimal is
BB

0xBB in code · 2 hex digits

Base 16: digits 0–9 and A–F (A = 10 … F = 15); each place is worth a power of 16.

Divide by 16, keep the remainder
divisionquotientremainder
187 ÷ 161111 = B
11 ÷ 16011 = B

↑ Read the remainders from bottom to top: BB

See Also

FAQ

What is number 187 in hex?

Decimal number 187 in hexadecimal is BB

What is 187 in binary?

187 in binary is 10111011: each hex digit of BB is 4 bits — B = 1011, B = 1011.

How is 187 written in code?

In code (C, JavaScript, Python) hexadecimal BB is written with the 0x prefix: 0xBB.