๐Ÿ”ข
calculator

Binary Calculator

Perform arithmetic and bitwise operations on binary, decimal, octal, and hexadecimal numbers.

binary calculatorbinary converterhex calculatorbitwise calculatornumber base converter

Binary calculator

Binary, decimal, octal & hex calculator

Perform arithmetic and bitwise operations on binary numbers. Convert between number bases instantly.

How to use

How to Use the Binary Calculator

  1. 1 Enter Value A and select its base (Binary, Octal, Decimal, or Hex).
  2. 2 Enter Value B and select its base.
  3. 3 Click an operation button: Add, Subtract, Multiply, Divide, AND, OR, XOR, NOT, Shift Left, or Shift Right.
  4. 4 Results show in Binary, Decimal, Octal, and Hexadecimal simultaneously.
  5. 5 Use the Quick Converter section below for simple base conversions.

The Binary Calculator performs both arithmetic operations (add, subtract, multiply, divide) and bitwise operations (AND, OR, XOR, NOT, shift left, shift right) on numbers in any base. You can mix bases โ€” for example, add a binary number to a hexadecimal number. The result is displayed in all four bases simultaneously for easy reference.

Bitwise operations work on the individual bits of numbers. AND returns 1 only where both inputs have 1. OR returns 1 where either input has 1. XOR returns 1 where inputs differ. NOT flips all bits. Shift left (<<) multiplies by 2 for each position, while shift right (>>) divides by 2. These operations are fundamental in programming, networking, and computer science.

More Calculator tools

Related tools

You might also like