0xFF - Binary, Octal, Decimal & Hex Conversion

Prefixed hex for maximum byte value. In decimal: 255. In hexadecimal: 0xFF. In binary (grouped): 1111 1111. In octal: 0o377. Use the converter below for other values.

Input

Binary
1111 1111
Octal
0o377
Decimal
255
Hexadecimal
0xFF

All bases for 0xFF

Base Value
Binary 1111 1111
Octal 0o377
Decimal 255
Hexadecimal 0xFF

← Back to full Binary Hex Decimal Converter

0xFF Base Conversion FAQ

What is 0xFF in binary?

0xFF in binary is 11111111 (1111 1111 with nibble spacing). Each hex digit maps to four bits, which is why 0xFF and grouped binary align visually.

What is 0xFF in hexadecimal?

Decimal 255 equals 0xFF in hexadecimal and 0o377 in octal. Hex is compact for byte-aligned constants in C, Rust, and JavaScript (0x prefix).

Why is 255 / 0xFF important in computing?

255 is the maximum value of an 8-bit unsigned byte (0xFF). It appears in RGB channels, netmasks, and bitmask literals.

How do I convert between bases manually?

Convert to decimal first using positional notation, then divide repeatedly by the target base. For hex↔binary, expand each hex nibble to four bits. This page shows all four bases at once so you can spot-check homework or code review.

Base converter vs Windows Calculator Programmer mode?

Programmer mode is excellent for chained bitwise operations. This browser tool is faster when you need all four representations copied into documentation, pull requests, or lecture notes without switching apps.

Where is the full binary hex decimal converter?

The main converter accepts any valid value in binary, octal, decimal, or hex. Visit /dev-tools/binary-hex-decimal-converter/ for the interactive tool with digit validation and copy buttons.

Sources & review

Last reviewed:

Related values

Full tool