Skip to main content
Calnex LogoCalnex
Developer Tools

Octal (base 8) → Hexadecimal (Base 16)

Octal (base 8) → Hexadecimal (Base 16). Convert octal numbers to hexadecimal format.

Parameters

Enter the number to convert (digits valid for the selected base)

The base of the input number

Results

Hexadecimal (Base 16)
0xFF

Hexadecimal representation with 0x prefix

Other results (5)
Binary (Base 2)
1111 1111

Binary representation with 4-bit grouping

Octal (Base 8)
377

Octal representation

Decimal (Base 10)
255

Decimal representation

Bit Length8

Number of bits required to represent this number

As Byte (0x00–0xFF)
0xFF

Single-byte hex representation

Example input and result

377
0xFF

Integer input only, up to 4,096 digits. Negative values use a minus sign; this is not a fixed-width two’s-complement representation.

Why Choose Octal (base 8) → Hexadecimal (Base 16)

Octal (base 8) → Hexadecimal (Base 16). Convert octal numbers to hexadecimal format.

Authoritative References & Sources

MDN — BigInt

View Source