Number 1240 in hexadecimal
Decimal to hex converter
What is number 1,240 in hex?
Answer
Decimal number 1,240 in hexadecimal is
4D8
0x4D8 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.
| division | quotient | remainder |
|---|---|---|
| 1,240 ÷ 16 | 77 | 8 |
| 77 ÷ 16 | 4 | 13 = D |
| 4 ÷ 16 | 0 | 4 |
↑ Read the remainders from bottom to top: 4D8
Related Calculations
See Also
- Binary to Decimal Converter - Binary numbers to Decimal conversion
- Decimal to Binary Converter - Decimal numbers to Binary conversion
- Hex to Decimal - Hexadecimal numbers to Decimal conversion
Dec to Hex Conversion Table
FAQ
What is number 1,240 in hex?
Decimal number 1,240 in hexadecimal is 4D8
What is 1,240 in binary?
1,240 in binary is 10011011000: each hex digit of 4D8 is 4 bits — 4 = 0100, D = 1101, 8 = 1000.
How is 1,240 written in code?
In code (C, JavaScript, Python) hexadecimal 4D8 is written with the 0x prefix: 0x4D8.