Convert Decimal 255 to Binary, Octal, and Hexadecimal

Start with the task you actually need to finish

  • Converting a binary value from a datasheet into decimal to understand a register setting.
  • Turning a hexadecimal colour code into its decimal RGB components for a design tool.
  • Checking a student's manual binary-to-decimal homework conversion for correctness.

A practical check before you begin

Decimal 255 is binary 11111111, octal 377, and hexadecimal FF. The digits 10 mean different values depending on the source base. Always identify the input representation before comparing results.

Follow the workflow and review the result

  1. Type a number into any of the base input fields — binary, octal, decimal or hexadecimal.
  2. Watch the other base fields update automatically to show the equivalent value.
  3. Switch to a custom base between 2 and 36 if you need a conversion outside the standard four.
  4. Copy the converted value from whichever field you need using the copy button.
  5. Clear the fields and enter a new number to perform another conversion.

Converting decimal to binary by hand

The standard manual method divides the decimal number repeatedly by 2, recording the remainder each time, then reads the remainders from bottom to top. For example, 13 divided down gives remainders 1, 0, 1, 1, which read backwards gives 1101 — the tool performs this instantly for any base pair.

Why hexadecimal is common in computing

One hexadecimal digit represents exactly four binary bits, so a full byte always maps to exactly two hex digits. This makes hex a compact, human-readable stand-in for binary values in memory addresses, colour codes and low-level debugging output.

Supported range and precision

The converter handles bases from 2 through 36, using the digits 0-9 and letters A-Z for bases above 10. Very large numbers are supported up to the precision limits of standard numeric representation in the browser, which comfortably covers typical programming and educational use.

Limits worth knowing before you rely on the output

This is not a full signed-bit or floating-point interpreter. Check range, precision, and unsupported characters.