Bitwise Calculator

Perform bitwise operations (AND, OR, XOR, NOT, NAND, NOR, XNOR) on two numbers. Enter your values, click Calculate, and get the full result with its breakdown — everything is processed on your device, nothing is sent to a server.

or press Ctrl+Enter
Result
Fill the fields and click Calculate — the result appears here.

All calculations run in your browser. Your data is never sent to our servers.

728 × 90Ad Space AvailablePlace your ad here

Example

Example Input

0xF0 AND 0x0F (8-bit)

Example Output

0 (0x00, 0b00000000)

How to Use

  1. 1Fill in each input field with the values you want to compute.
  2. 2If there are choices (units, mode, operation), pick what you need.
  3. 3Click the Calculate button (or press Ctrl+Enter).
  4. 4The main result and its breakdown appear in the Result area. Click Copy to copy it.

About the Bitwise Calculator

The Bitwise Calculator performs logic operations at the bit level. Pick an operation, enter two operands (in any base: 0x, 0o, 0b, or decimal), and choose a bit width (8/16/32/64). The result is shown as unsigned, signed (two's complement), hex, octal, and grouped binary.

The bit width controls how the result is masked and how negatives (NOT) are represented in two's complement.

FAQ

Is this Bitwise Calculator accurate?

Yes. It uses standard formulas and runs directly in your browser at full JavaScript precision (plus BigInt/decimal.js for large numbers where needed).

Is my data sent to a server?

No. All calculations happen entirely on your device. No values are sent to or stored on our servers.

Related Tools

Related Categories