Bitwise Calculator
Bitwise Calculator
Paste input, adjust settings if needed, then run.
Evaluate core bitwise operations and inspect decimal plus binary results.
Result size
0chars
Run to update output.
Output summary
0 chars
More actions
Input: manual
InputsTextManual input • Auto-updateWaiting
Settings
2
Status
Waiting for output.
Health 55/100
Result sizeLive
0chars
Run to update output.
Copy result = output only. Copy report = output + settings.
Privacy note
Your input is processed locally in your browser whenever possible. We do not store your data.
Flow
- Normalize input as integer operands.
- Apply bitwise operator (&, |, ^, <<, >>, ~).
- Render outputs in decimal and binary views.
Example
Worked example: bitmask with AND
- 1 Set a = 13 (1101) and b = 10 (1010).
- 2 Apply AND operation.
- 3 Result is 8 (1000).
Binary output confirms exactly which bits remain set.
How
- Enter operand values and choose an operation.
- Run calculation and inspect decimal/binary output.
- Copy result for docs, tests, or code comments.
Cases
- Validate feature flag masks in embedded apps.
- Debug register-level operations in firmware workflows.
- Teach binary operator behavior with immediate feedback.
Avoid
- Using floats when bitwise operations require integers.
- Forgetting signed integer behavior for right shifts.
- Reading only decimal output and missing binary intent.
FAQ
Does bitwise calculator send my input to a server?
No. Bitwise Calculator handles the input in your browser whenever possible, so routine conversions, previews, and copy actions stay on your device instead of being sent to Calctrove servers.
Does NOT (~) use only one input?
Yes. NOT is unary and flips bits of a single integer operand.
Why do I sometimes get negative numbers?
JavaScript bitwise ops use signed 32-bit integer representation.
Switch
Switch12
No match.