Number 4000 in hexadecimal

Decimal to hex converter
Decimal Number to convert

What is number 4,000 in hex?

Answer

Decimal number 4,000 in hexadecimal is
FA0

0xFA0 in code · 3 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
4,000 ÷ 162500
250 ÷ 161510 = A
15 ÷ 16015 = F

↑ Read the remainders from bottom to top: FA0

See Also

Dec to Hex Conversion Table

FAQ

What is number 4,000 in hex?

Decimal number 4,000 in hexadecimal is FA0

What is 4,000 in binary?

4,000 in binary is 111110100000: each hex digit of FA0 is 4 bits — F = 1111, A = 1010, 0 = 0000.

How is 4,000 written in code?

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