Binary Calculator
Binary Calculator
Binary arithmetic follows the same rules as ordinary arithmetic, just with two digits. This calculator does the maths on binary numbers of any length (it uses big integers, so there is no 32- or 64-bit limit) and shows every result in binary, decimal and hexadecimal. It also covers the bitwise operations used in programming: AND, OR, XOR and left and right shifts.
How to use Binary Calculator
- Type the first binary number, using only 0 and 1. A minus sign is allowed.
- Choose the operation.
- Type the second binary number (for shifts, the number of places, in binary).
- Read the result in binary, decimal and hexadecimal.
When it comes in handy
- Checking computer science homework step by step.
- Working out bit masks and flags for code.
- Converting a result between binary, decimal and hex at the same time.
Frequently asked questions
How does division work?
How are negative numbers handled?
Related guides
-
How to Compress Images for the Web Without Making Them Look Worse
Why images slow pages down, how to pick the right size, format and quality, and a quick workflow that keeps photos sharp and pages fast.
-
PNG vs JPG vs WebP: Which Image Format Should You Actually Use?
A plain-language comparison of PNG, JPG and WebP, with rules of thumb for choosing the right one and tools to convert between them.