NOR Logic Gate Simulator – Free

This NOR gate simulator returns the output of a two-input NOR for any pair of bits. A NOR gate answers 1 only when neither input is 1.

How to use the NOR Gate Simulator tool

  1. Set Input A to 1 or 0.
  2. Set Input B to 0 or 1.
  3. Select Calculate to evaluate A NOR B.
  4. Read the output bit in the Result box. Repeat with the other input pairs to cover all four rows.
  5. Select Copy to copy the bit, or Clear to reset the inputs.

NOR gate truth table and rule

NOR is an OR gate followed by an inverter. OR is true when at least one input is true, so NOR is true only when no input is. Of the four input pairs, just 0 and 0 gives 1.

The form starts with Input A at 1 and Input B at 0, a pair that returns 0. Change Input A to 0 and calculate again to reach the one row that returns 1.

A  B  A NOR B
0  0     1
0  1     0
1  0     0
1  1     0

De Morgan's law and the simulator's arithmetic

The tool ORs the two one-bit inputs, flips the result and keeps a single bit. Written as an expression that is NOT (A OR B). De Morgan's law says the same function equals (NOT A) AND (NOT B): the output is high when A is low and B is low. Reading NOR as an AND of inverted inputs is often the easier way to reason about active-low signals.

For multi-bit operands, the Bitwise NOR Calculator applies this rule to every column and uses the wider input as the word size.

Building other gates from NOR

Like NAND, NOR is functionally complete, so NOR gates alone can implement any logic circuit. The guidance computer flown on the Apollo missions was built almost entirely from three-input NOR gates.

  • NOT A: feed A into both inputs of one NOR gate.
  • A OR B: a NOR gate followed by a NOR wired as an inverter.
  • A AND B: invert A and B with two NOR gates, then NOR the results.

The NOR latch: one bit of memory

Cross-couple two NOR gates, so each output feeds one input of the other, and you get an SR latch. Pulsing Set to 1 drives the output Q high, pulsing Reset to 1 drives it low, and with both at 0 the latch holds its last state. Setting both to 1 at once is the forbidden input, because both outputs go to 0. You can trace this by hand with the simulator, feeding each result into the next evaluation.

Frequently asked questions

When is the output of a NOR gate 1?

Only when all inputs are 0. For the two-input gate simulated here, A = 0 and B = 0 gives 1, and the three other combinations give 0.

What is the difference between NOR and OR?

They are complements. OR outputs 1 if any input is 1, and NOR outputs 0 in exactly those cases. Put an inverter after an OR gate and you have a NOR gate.

What is the difference between NOR and XNOR?

They agree except when both inputs are 1. NOR gives 0 for the pair 1 and 1, because at least one input is high. XNOR gives 1 for that pair, because the inputs match.

Why is NOR a universal gate?

Because NOT, OR and AND can each be wired from NOR gates, and those three operations are enough to express any truth table. One input tied to both pins gives NOT, and De Morgan's law supplies AND.

What do the default inputs return?

A fresh page has Input A set to 1 and Input B set to 0. Selecting Calculate returns 0, since one input is high. The Clear button restores those defaults.

Which chips contain NOR gates?

The 7402 holds four two-input NOR gates in the 7400 logic series, and the 4001 is the equivalent part in the 4000 CMOS series. Both are common in teaching labs for building latches by hand.

Related tools