Bitwise Calculator
The Bitwise Calculator applies logic operations and shifts to integers, showing results in binary, decimal and hex. It is useful for masks, flags and low-level debugging.
Key Features
- AND, OR, XOR, NOT, shifts
- Binary, decimal, hex input
- Live bit view
- Multi-operand support
- Local only
Use Cases
- Build a permission bitmask
- Flip specific bits
- Debug a flags field
- Teach binary logic
How to Use
- Enter the values in any base
- Pick the operation
- See the result in every base
Practical Tips
- XOR with all ones is a bitwise NOT for fixed width
- Shifts multiply or divide by two
- Use hex for byte-aligned work
FAQ
- Why bitwise?
- It is the fastest way to manipulate individual bits.
- Signed shifts?
- This tool treats values as unsigned integers.