Fixed-Width Bitwise Calculator
Calculate AND, OR, XOR, NAND, NOR, XNOR and NOT with explicit bit width and binary, hex and exact decimal results.
Ready. Explore the example or use the input controls to begin.
Scope and practical limits
Unsigned inputs, 1–256 bits. Overflow is rejected. Complemented results are masked to width. This is bitwise integer logic, not a Boolean-expression evaluator.
The tool processes your work in the browser. The website’s advertising and analytics follow its privacy and consent settings. Projects are not saved automatically. Media workspaces export their files directly rather than storing them in project JSON.
Using Fixed-Width Bitwise Calculator
Calculate AND, OR, XOR, NAND, NOR, XNOR and NOT with explicit bit width and binary, hex and exact decimal results.
- Start with the example and choose the declared input representation and any bit width.
- Change the operation or format, then inspect the precise result and validation messages.
- Copy the output or download text, JSON or a CSV audit. Save a project to retain editable inputs.
Example
8-bit AA XOR 0F = A5; NOT 00 = FF, not a negative unbounded integer.
Questions & answers
What representation does this tool use?
Unsigned inputs, 1–256 bits. Overflow is rejected. Complemented results are masked to width. This is bitwise integer logic, not a Boolean-expression evaluator.
What are the limits?
Unsigned inputs, 1–256 bits. Overflow is rejected. Complemented results are masked to width. This is bitwise integer logic, not a Boolean-expression evaluator.
Does it save my input automatically?
No. Processing runs in your browser. Download your result or saved project before leaving. Site advertising and analytics follow the website consent and privacy settings.
Help improve this tool
Report a problem or suggest an improvement
Describe the issue without pasting private tool input. Feedback goes to our admin inbox.
