The four number systems at a glance
| System | Base | Digits | 255 written as | Used for |
|---|---|---|---|---|
| Binary | 2 | 0 1 | 11111111 | How hardware stores everything |
| Octal | 8 | 0–7 | 377 | Unix permissions |
| Decimal | 10 | 0–9 | 255 | Everyday counting |
| Hexadecimal | 16 | 0–9, A–F | FF | Colours, memory, bytes |
Frequently asked questions
What is the biggest number the converter can handle?
There is no fixed limit — it uses arbitrary-precision BigInt arithmetic, so hundreds of digits convert exactly.
Does it handle negative numbers?
Yes, with a leading minus sign. For the bit pattern a computer stores, see two’s complement.
Keep going
ConverterBinary to decimalConvert binary to decimal with the working shown. See the place-value formula, worked examples like 1010 = 10, and a 0–255 conversion table.ConverterDecimal to binaryConvert any decimal number to binary and see the divide-by-2 working. Includes the formula, worked examples and a quick subtraction shortcut.CalculatorBinary calculatorFree binary calculator for addition, subtraction, multiplication and division, with decimal check and the rules for carrying and borrowing.
Last reviewed 28 November 2026. Conversions run entirely in your browser.