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:

DigitPlace valueDigit × place
183 = 512512
282 = 64128
481 = 832
080 = 10

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:

DivisionQuotientRemainder (digit)
672 ÷ 16420
42 ÷ 162A (10)
2 ÷ 1602

Result: 672 = 2A0 in hexadecimal.

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).