Bitwise Operations Calculator — AND, OR, XOR, NOT & Shifts
Perform bitwise logic operations (AND, OR, XOR, NOT, Shifts) on binary, octal, decimal, and hexadecimal numbers.
How to use this calculator
👉 Fill in the boxes below and your answer appears instantly — no maths needed, we do it all for you! 🎉
In plain English — what does this do?
🤖 Computers only understand a secret language of 0s and 1s. This tool helps you turn normal words and numbers into that computer language — or turn it back into normal language!
A Bitwise Operations Calculator performs logical operations on individual bits of numbers. Unlike arithmetic operations (like addition), bitwise operators work directly on the binary representation of integers, executing operations like AND (&), OR (|), XOR (^), NOT (~), and binary shifts (<<, >>).
Bitwise Output
What is Bitwise Operations Calculator — AND, OR, XOR, NOT & Shifts?
A Bitwise Operations Calculator performs logical operations on individual bits of numbers. Unlike arithmetic operations (like addition), bitwise operators work directly on the binary representation of integers, executing operations like AND (&), OR (|), XOR (^), NOT (~), and binary shifts (<<, >>).
How to use it
- 1️⃣ Select your input base (Decimal, Binary, or Hex).
- 2️⃣ Enter your first operand (A) and optionally the second operand (B).
- 3️⃣ Select the operation (AND, OR, XOR, NOT, Left Shift, Right Shift).
- 4️⃣ The result and its binary/hex/decimal representations appear instantly.
Formula
💡 See it in action — a real example
❓ Common questions
- What is bitwise shifting?
- Shifting moves bits to the left or right. A left shift by 1 effectively multiplies a number by 2, while a right shift by 1 divides it by 2 (dropping remainders).