How to use Binary calculator
- 01Choose arithmetic or conversionThree modes.
- 02Type the numbersOnly 0 and 1 for binary.
- 03Read the resultBinary, decimal and hex.

Base 2, with the working.
Binary uses only 0 and 1, and each place is worth double the one to its right: 101101 = 32 + 8 + 4 + 1 = 45. To go the other way, keep dividing by 2 and read the remainders from the bottom up. Bitwise AND, OR and XOR compare the two numbers one bit at a time. Negative results also show the two’s complement form computers use.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
What is 101101 + 1011 in binary?
101101 is 45 and 1011 is 11; 45 + 11 = 56, which is 111000 in binary.
How do I convert 45 to binary?
45 ÷ 2 = 22 r 1, 22 ÷ 2 = 11 r 0, 11 ÷ 2 = 5 r 1, 5 ÷ 2 = 2 r 1, 2 ÷ 2 = 1 r 0, 1 ÷ 2 = 0 r 1. Reading the remainders from the bottom gives 101101.
What is two’s complement?
The way computers store negative whole numbers: flip every bit of the positive number and add 1. −5 in 8 bits is 11111011.
Is what I type sent anywhere?
No. The calculation runs in your browser and nothing you type leaves your device.