Bitwise Binary Calculator

A 32bits decimal to binary converter and bitwise calculator

Results of Bitwise operation

C

Explanation

  • Enter decimal numbers A, B. (Max decimal input = 2147483647)
  • Binary values will be diplayed below them.
  • Use buttons to find the Bitwise AND , Bitwise XOR or Bitwise OR of A and B
  • Results will be displayed in Binary and Decimal

Bitwise Binary Operations

In digital computer programming, a bitwise operation operates on one or more bit patterns or binary numerals at the level of their individual bits. It is a fast and simple action, directly supported by the processor, and is used to manipulate values for comparisons and calculations. On simple low-cost processors, typically, bitwise operations are substantially faster than division, several times faster than multiplication, and sometimes significantly faster than addition.

Here you can use following bitwise operations:

  • OR -> Returns a one in each bit position for which the corresponding bits of either or both operands are ones
  • AND -> Returns a one in each bit position for which the corresponding bits of both operands are ones
  • XOR -> Returns a one in each bit position for which the corresponding bits of either but not both operands are ones

Check this truth table for your reference.

A=1010 B=1100

A B A OR B A AND B A XOR B
1 1 1 1 0
0 1 1 0 1
1 0 1 0 1
0 0 0 0 0