AND Calculator

Calculate bitwise AND for two fixed-width words and see the result in binary, hex, signed decimal, and unsigned decimal.

Result
—

How to calculate

Set a result bit only when both corresponding operand bits are one. Each operand is wrapped to the selected word width before evaluating.

Worked example

Use First operand A5 · Second operand 3C · Operand base Hexadecimal · Word width 8 bits. The result is 00100100.

Input and result notes

Enter the numbers without a base prefix. A leading minus sign is allowed and is wrapped to the selected width.

MIT two’s complement and bitwise shifts

Related calculators