Bitwise Calculator
Perform bitwise operations with visual bit grids, multi-base display, and truth tables
Enter a value for A to see results.
Was this tool helpful?
What is Bitwise Calculator?
Perform bitwise operations on numbers with an interactive visual bit grid.
Calculate AND, OR, XOR, NOT, NAND, NOR, XNOR, left shift, right shift, and unsigned right shift. Enter values in decimal, hex, octal, or binary. Toggle individual bits by clicking. See results in all number bases simultaneously. Supports 8, 16, 32, and 64-bit modes with two's complement signed interpretation. Includes a truth table generator, common bit mask library, and Unix-style flag permission calculator. All calculations run locally in your browser.
How to Use Bitwise Calculator
- 1Enter two numbers (A and B) using the input fields - select decimal, hex, octal, or binary input
- 2View all bitwise operation results instantly in the results grid
- 3Click bits in the interactive bit grid to toggle them and see values update
- 4Use the truth table generator or flag calculator for additional analysis
Frequently Asked Questions
What bitwise operations are supported?
Can I click individual bits?
What bit widths are supported?
Does it show results in multiple bases?
How does the calculator handle negative numbers?
Can I enter values in hex or binary instead of decimal?
Related Tools
IP Subnet Calculator
Free online IP subnet calculator - calculate IP subnet details, CIDR notation, and network address ranges
Unix permissions
Free online chmod calculator - calculate Unix file permissions with an interactive chmod builder
Percent calculator online
Free online percentage calculator - calculate percentages, percentage change, and percentage of a number instantly
Statistics Calculator
Calculate mean, median, mode, standard deviation, and 30+ statistics with visualizations
Env file editor
Edit and validate .env files online - detect duplicates, mask secrets, generate .env.example
Sitemap generator online
Free online XML sitemap generator - generate XML sitemaps from a list of URLs
ROT13 / Caesar Cipher
ROT13 encoder/decoder and Caesar cipher with brute force cracker and frequency analysis
Csv reader
Free online CSV viewer - view, sort, and filter CSV data in an interactive table format
Keep reading: SQL Cheat Sheet and file permissions reference. Doing this in code instead? See the JSON and data endpoints.