Skip to content

Bitwise AND Calculator

integer
integer

Result

A AND B (decimal)0
A AND B (binary)0
↗ Math

Bitwise AND Calculator The Bitwise AND Calculator computes the bitwise AND of two integers: each output bit is 1 only when the matching bit is 1 in both numbers. The formula used is: result = A & B. It also shows the result in binary. — free online calculator.

Formula

AND Result = A & B
  • Bitwise AND Calculator calculates its result from A And B. It uses the formula AND Result = A & B. Change any input to recalculate the result instantly.
  • The main inputs are Value A, Value B. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Bitwise AND

Inputs
  • Value A: 10 integer
  • Value B: 20 integer

Using A And B = 2, the calculated result is 2.

Sample result: Calculating…

Frequently asked questions

What does the Bitwise AND calculate?

Bitwise AND Calculator The Bitwise AND Calculator computes the bitwise AND of two integers: each output bit is 1 only when the matching bit is 1 in both numbers. The formula used is: result = A & B. It also shows the result in binary. — free online calculator.

Which values should I enter?

Enter Value A, Value B using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: AND Result = A & B.

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 10, 2026