Binary Number System Converter
Convert nonnegative integers among decimal, binary, hexadecimal, and octal notation with one input.
About the binary number system converter
Number system conversion examples
| Source | Equivalent values | Explanation |
|---|---|---|
| Decimal 255 | Binary 11111111, hex FF, octal 377 | Eight one-bits equal decimal 255. |
| Binary 101010 | Decimal 42, hex 2A, octal 52 | The active binary positions sum to 42. |
| Hexadecimal 100 | Decimal 256, binary 100000000, octal 400 | Hex 100 is sixteen squared. |
| Octal 755 | Decimal 493, binary 111101101, hex 1ED | A familiar Unix permission notation converted as a number. |
How to use the binary converter
- Choose one field that matches the number system of your source value.
- Enter a nonnegative integer using only digits valid for that base.
- Select Convert Number to calculate all four equivalent representations.
- Read or copy the decimal, binary, hexadecimal, or octal result you need.
Binary converter FAQ
How is binary converted to decimal?
Multiply each bit by its corresponding power of two and add the products. The calculator performs that place-value calculation automatically.
Why does hexadecimal use letters?
Base 16 needs six symbols beyond digits zero through nine. The letters A through F represent decimal values ten through fifteen.
Can I enter a value in any field?
Yes, the most recently edited field becomes the source. Converting then fills all four fields with equivalent representations.
Does the converter support negative binary numbers?
No, it handles nonnegative integer magnitudes. Signed binary requires a word length and encoding convention such as two's complement.
Why are leading zeros removed?
Leading zeros do not affect an integer's value. The converter displays the shortest standard representation of each result.