DevToolsmith

Bitwise Calculator

Calculate AND, OR, XOR, NOT and shifts with explicit bit widths and signed views.

Runs 100% in your browser — nothing is uploaded

Integer B
Tip: drop a file here2 chars · 2 bytes · 1 line
Result
0 chars · 0 bytes · 0 lines

Up to 200,000 input characters and 2 million output characters. Processing stays on this device.

Use Bitwise Calculator

Calculate AND, OR, XOR, NOT and shifts with explicit bit widths and signed views. Start with the sample, select the options and run the tool. Copy or download the result after reviewing it.

Behavior and limits

Inputs accept decimal, 0x hex or 0b binary and are reduced to the selected width. The report shows unsigned values, two’s-complement signed values and padded binary. Logical and arithmetic right shifts are displayed separately.

Example input

255
Integer B
15

Expected behavior for the example

At 8 bits, AND is 15, XOR is 240 and NOT A is 0.

Check important output in the application that will consume it. Use the tool directory to find related formats and tasks.

Frequently asked questions

How does Bitwise Calculator handle my input?

Inputs accept decimal, 0x hex or 0b binary and are reduced to the selected width. The report shows unsigned values, two’s-complement signed values and padded binary. Logical and arithmetic right shifts are displayed separately.

Is my input uploaded or saved automatically?

Processing runs locally in this browser. Input and results are not saved automatically. Downloads happen only when you choose them. The static preview blocks scripts and external resources when one is available.