AND Calculator

Perform a bitwise AND on two numbers and see the result in binary, decimal, and octal.

AND Calculator

Our AND Calculator applies the bitwise AND operation to two numbers, bit by bit. Enter each number as decimal, binary, or octal, choose a bit width, and get the result in every format at once.

AND Operation Explained

AND: a result bit is 1 only when both numbers have a 1 in that position; if either number has a 0 in that position, the result bit is 0. Formula: A AND B.

Truth Table

A  B  |  AND
0  0  |   0
0  1  |   0
1  0  |   0
1  1  |   1

Example Calculation (8-bit)

A = 12 (00001100), B = 10 (00001010)

AND: 00001100 & 00001010 = 00001000 = 8

Features of Our AND Calculator

✅ Accepts decimal, binary, or octal input
✅ Choose 4, 8, 12, or 16-bit representation
✅ Computes the bitwise AND of two numbers
✅ Shows signed and unsigned decimal, binary, and octal results

Who Can Use This Calculator?

Programmers – For debugging flags, masks, and bitwise logic
Students – For digital logic and computer science coursework
Network & Systems Engineers – For subnet masks and permission flags
Puzzle Solvers – For quick binary logic checks

👉 Try our AND Calculator to perform bitwise AND on any two numbers instantly.