Bitwise Calculator

AND/OR/XOR/NOT — bit grid, signed toggle, all bases.

Bit calculator guide

Tap bits or enter decimal/hex to see AND / OR / XOR / NOT results instantly. Everything is computed as bit patterns.

  • Signed only interprets the top bit as a sign; the bit pattern stays the same.
  • Shorter bit length truncates upper bits but keeps the value.
  • Left is MSB, right is LSB.

Bit length

Sign

All bits used as positive value. Range 0 ~ 255

Operation

1 only when both are 1. 1010 AND 1100 = 1000

Number A

7–4

3–0

Number B

7–4

3–0

Result

0

AND

7–4

70605040

3–0

30201000

How to use

Tap bits or enter decimal/hex — instant bitwise results in binary·decimal·octal·hex.

Frequently asked

Bases?
Binary, decimal, octal, hex.
Signed?
Toggle — top bit as sign.
Bit lengths?
Supports 4, 8, 16, and 32-bit widths.
bit calculatorbitwisebinaryhexAND OR XOR NOT