Ad Space
Math Calculators

AND Calculator (Bitwise)

Perform a bitwise AND operation on two integers and see the binary result.

A AND B (decimal)
A in binary
B in binary
Result in binary
Ad Space — 300×250

About the AND Calculator (Bitwise)

The bitwise AND operation compares two numbers bit by bit: each resulting bit is 1 only if both corresponding input bits are 1, and 0 otherwise.

Formula: result bit = 1 if both input bits are 1, else 0

AND is commonly used to "mask" bits — for example, to test whether a specific flag bit is set, or to clear certain bits while keeping others.

Ad Space