Binary Calculator (Add, Subtract, Multiply, Divide & Bitwise)

Do arithmetic and bitwise operations (AND, OR, XOR) on binary, decimal or hex numbers, with the result in binary, decimal, hex and two's complement.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Binary addition carries at 2 (1 + 1 = 10). Negative results are also shown in two's complement for the chosen word size (invert the bits and add 1).

Example

Example: 1011₂ + 110₂ = 10001₂ = 17.

Assumptions

Whole numbers of any size (BigInt).

Frequently Asked Questions

How do I convert binary to decimal?

Add the powers of 2 where there's a 1: 1011 = 8 + 2 + 1 = 11.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile