Bitwise Calculator
Perform bitwise operations on numbers in binary, decimal, or hexadecimal format
Bitwise Operation
AND (&)
OR (|)
XOR (^)
NOT (~)
Left Shift (<<)
Right Shift (>>)
Calculation Results
Operation:
-
Decimal:
-
Binary:
-
Hexadecimal:
-
How to use this Bitwise Calculator:
- Select the bitwise operation you want to perform
- Choose the number format (decimal, binary, or hexadecimal)
- Enter the numbers (for NOT operation, only the first number is needed)
- Click Calculate to see the results in all formats
- Use the copy buttons to save results in your preferred format
Bitwise Operations Explained:
- AND (&): Each bit is 1 if both corresponding bits are 1
- OR (|): Each bit is 1 if either corresponding bit is 1
- XOR (^): Each bit is 1 if only one corresponding bit is 1
- NOT (~): Inverts all the bits (unary operation)
- Left Shift (<<): Shifts bits to the left, filling with 0s
- Right Shift (>>): Shifts bits to the right, preserving sign
All calculations happen in your browser - we never store or transmit your data