Bitwise Calculator
Calcola AND, OR, XOR e NOT online.
Number A
Dec
46 Bin00101110 Hex0x2E Number B
Dec
74 Bin01001010 Hex0x4A Results Summary
AND (&)
Dec0
Hex0x00
Bin00000000
OR (|)
Dec0
Hex0x00
Bin00000000
XOR (^)
Dec0
Hex0x00
Bin00000000
NOT (~A)
Dec0
Hex0x00
Bin00000000
Bit-by-Bit Visualization
1 Active bit 0 Diff bit 0 Included zero 0 Leading zero
Interactive Truth Table Matrix
Click a row to load values into A and B, or inspect how each gate behaves.
| Input A | Input B | AND | OR | XOR | NOT A |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 |
Click a truth table row to test those values.
How Bitwise Calculator works
Calcolatore bitwise online.
Frequently Asked Questions
Find answers to common questions about bitwise operations and this online tool.
How to Use the Bitwise Calculator
Select the input format, enter your two numbers, choose the bit width, and select the operation. The tool updates the calculations.
Can I perform bitwise operations on hexadecimal numbers?
Yes, you can perform bitwise operations on hexadecimal numbers. Enter base-16 values with or without the 0x prefix.
What bit widths are supported?
This calculator supports Auto, 8-bit, 16-bit, 32-bit, and 64-bit configurations.
Is this bitwise calculator free to use?
Yes, this bitwise calculator is free to use and runs locally in your browser.