NOR Calculator

Compute the bitwise NOR of two integers (width-limited).

Result (decimal) 241
Result (binary) 11110001

Formula: NOR = NOT (a OR b), within the chosen bit width

Step-by-step with your numbers:
1. Values used:
2. a (decimal) = 12
3. b (decimal) = 10
4. Bit width = 8
5.
6. Result (decimal) = 241
7. Result (binary) = 11110001
Did we solve your problem today?

NOR is OR followed by NOT — it outputs 1 only where both inputs are 0.

The math behind it

Compute a OR b, then invert every bit within the chosen bit width. NOR is a universal gate: any logic circuit can be built from NOR gates alone.

Worked example

With 8 bits, 12 NOR 10 = 241 (11110001).

FAQ

Why set a bit width?

Inversion depends on how many bits represent the number; the width defines the mask.