Skip to content

Bitwise Calculator

Result

AND8
OR14
XOR6
↗ Math

Bitwise Calculator Apply the bitwise AND, OR, and XOR operators to two integers. Enter two whole numbers and this calculator compares them bit by bit and returns each result in decimal. — free online calculator.

Formula

Method: Apply bitwise AND, OR, and XOR to A and B and return all three results.
  • Bitwise Calculator calculates its result from A, B. It uses the formula Calculated with the verified ST Calculator runtime.. Change any input to recalculate the result instantly.
  • The main inputs are A, 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

Inputs
  • A: 12
  • B: 10

Using A = 12, B = 10, the calculated result is AND: 8 | OR: 14 | XOR: 6.

Sample result: Calculating…

Frequently asked questions

What does the Bitwise calculate?

Bitwise Calculator Apply the bitwise AND, OR, and XOR operators to two integers. Enter two whole numbers and this calculator compares them bit by bit and returns each result in decimal. — free online calculator.

Which values should I enter?

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

What formula does this calculator use?

The calculator uses the following relationship: Method: Apply bitwise AND, OR, and XOR to A and B and return all three results..

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 7, 2026