Number Base Converter

Convert between binary, octal, decimal and hexadecimal.

Your details

Decimal
255
Binary
11111111
Octal
377
Hexadecimal
FF

How it works

Each digit is multiplied by the base raised to its position, counting from zero on the right, and the results are added.

Frequently asked questions

Why does hexadecimal use letters?

Base 16 needs sixteen digits, so A–F stand for 10–15.