1242 Octal to Hexadecimal
1242 octal = 2A2 hexadecimal
1242 written in hexadecimal is 2A2, the number 674 in everyday decimal.
1242 octal = 2A2 hexadecimal
How to convert 1242 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 |
2 | 80 = 1 | 2 |
512 + 128 + 32 + 2 = 674
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) |
|---|---|---|
| 674 ÷ 16 | 42 | 2 |
| 42 ÷ 16 | 2 | A (10) |
| 2 ÷ 16 | 0 | 2 |
Result: 674 = 2A2 in hexadecimal.
1242 (octal) in other systems
| Binary | 1010100010 |
| Decimal | 674 |
| Roman numerals | DCLXXIV |
| Duodecimal | 482 |
| Ternary | 220222 |
| Base 36 | IQ |
| Vigesimal | 1DE |
| Quaternary | 22202 |
| Quinary | 10144 |
| Senary | 3042 |
Nearby octal to hexadecimal conversions
About the number 674
- 674 is an even number.
- 674 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 1242 in hexadecimal?
1242 in octal is 2A2 in hexadecimal (the number 674 in decimal).