Bitwise Calculator
Perform AND, OR, XOR, NOT, and shift operations on numbers
Calculator
Binary Visualization (8-bit view)
About Bitwise Operations
AND (&)
Returns 1 only if both bits are 1. Commonly used for masking bits.
| A | B | A & B |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
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
- Step 1: Enter or paste your input in the provided field
- Step 2: Configure any options or settings as needed
- Step 3: View the result instantly (or click the action button)
- Step 4: Copy the result using the copy button
Common Use Cases
- Using bitwise calculator for web development
- Bitwise Calculator for everyday tasks
- Quick bitwise calculator operations
- Professional bitwise calculator needs
- Learning and testing bitwise calculator
Related Utilities
Explore our other free tools: JSON Formatter, Base64 Encoder, Password Generator, UUID Generator, and QR Code Generator.