Octal to Hexadecimal Converter

Convert octal numbers to hexadecimal instantly, with step-by-step working.

Digits 0–7. Fractions (with a point) and very large numbers are supported.
Hexadecimal1ED
Binary111101101
Decimal493
755 = 7×8^2 + 5×8^1 + 5×8^0 = 493 (decimal)

Runs entirely in your browser — nothing you enter is uploaded.

About this tool

Octal (base 8) uses digits 0–7. Each octal digit maps to exactly three bits, which is why Unix file permissions such as 755 are written in octal. Hexadecimal (base 16) uses 0–9 and A–F. Each hex digit is exactly four bits, so hex is a compact way to write bytes, memory addresses and colours. This converter handles numbers of any length using big-integer arithmetic, plus fractional parts.

How to use the Octal to Hexadecimal Converter

  1. Enter the octal number.
  2. The result updates instantly, with the working shown underneath.
  3. Use Copy to grab a result, or Reset to start again.

How it works

The simplest route is through binary: expand each octal digit into bits, then regroup the bits for hexadecimal.

Formula

regroup bits

Frequently asked questions

What is 755 in hexadecimal?

755 (octal) = 1ED (hexadecimal).

Can I convert negative numbers?

Yes — a leading minus sign is kept. For two’s-complement bit patterns, convert the raw bits instead.