Bitwise Calculator

Perform AND, OR, XOR, NOT, and shift operations on numbers

Calculator

Decimal
-
Binary
-
Hexadecimal
-

Binary Visualization (8-bit view)

A:
B:
Result:

About Bitwise Operations

AND (&)

Returns 1 only if both bits are 1. Commonly used for masking bits.

ABA & B
000
010
100
111

OR (|)

Returns 1 if at least one bit is 1. Used for setting bit flags.

XOR (^)

Returns 1 if bits are different. Used for toggling bits and encryption.

NOT (~)

Inverts all bits. In JavaScript, returns -(n+1) due to two's complement.

Left Shift (<<)

Shifts bits left, filling with zeros. Equivalent to multiplying by 2^n.

Right Shift (>> and >>>)

Shifts bits right. Signed (>>) preserves sign, unsigned (>>>) fills with zeros.

What is Bitwise Calculator?

Bitwise Calculator is a free online tool that performs bitwise calculations. Whether you're a developer, designer, or professional, this tool helps you calculate bitwise quickly and efficiently right in your browser. No installation, no signup, and no data leaves your device.

How to Use This Tool

  1. Step 1: Enter or paste your input in the provided field
  2. Step 2: Configure any options or settings as needed
  3. Step 3: View the result instantly (or click the action button)
  4. Step 4: Copy the result using the copy button

Common Use Cases

Related Utilities

Explore our other free tools: JSON Formatter, Base64 Encoder, Password Generator, UUID Generator, and QR Code Generator.