1240 Octal to Hexadecimal
1240 octal = 2A0 hexadecimal
1240 written in hexadecimal is 2A0, the number 672 in everyday decimal.
1240 octal = 2A0 hexadecimal
How to convert 1240 to hexadecimal
Step 1: Octal to decimal
Multiply each digit by 8 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
1 | 83 = 512 | 512 |
2 | 82 = 64 | 128 |
4 | 81 = 8 | 32 |
0 | 80 = 1 | 0 |
512 + 128 + 32 + 0 = 672
Step 2: Decimal to hexadecimal
Divide by 16 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the hexadecimal digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 672 ÷ 16 | 42 | 0 |
| 42 ÷ 16 | 2 | A (10) |
| 2 ÷ 16 | 0 | 2 |
Result: 672 = 2A0 in hexadecimal.
1240 (octal) in other systems
| Binary | 1010100000 |
| Decimal | 672 |
| Roman numerals | DCLXXII |
| Duodecimal | 480 |
| Ternary | 220220 |
| Base 36 | IO |
| Vigesimal | 1DC |
| Quaternary | 22200 |
| Quinary | 10142 |
| Senary | 3040 |
Nearby octal to hexadecimal conversions
About the number 672
- 672 is an even number.
- 672 is not a prime number.
- Written in binary it needs 10 bits, so it fits in 2 bytes.
Reverse conversion
Frequently asked questions
What is 1240 in hexadecimal?
1240 in octal is 2A0 in hexadecimal (the number 672 in decimal).