NOR Calculator
Free NOR Calculator for exponents & logarithms. Enter values to get step-by-step solutions with formulas and graphs.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
NOR Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: NOR(A, B) = NOT(A OR B) = (A + B)'
Worked example — NOR(1, 0) = 0
Formula
NOR(A, B) = NOT(A OR B) = (A + B)'
The NOR operation first computes the logical OR of inputs A and B, then negates the result. NOR outputs 1 (TRUE) only when all inputs are 0 (FALSE). It is a universal gate, meaning any logic function can be built from NOR gates alone.
Worked Examples
Example 1: Basic NOR Gate Operation
Problem:Calculate the NOR of inputs A=1 and B=0.
Solution:Step 1: Compute OR A OR B = 1 OR 0 = 1 Step 2: Compute NOT (negate the OR result) NOT(1) = 0 Therefore NOR(1, 0) = 0 This matches the truth table: NOR outputs 1 only when both inputs are 0.
Result:NOR(1, 0) = 0
Example 2: Bitwise NOR of Binary Numbers
Problem:Compute the bitwise NOR of binary 1010 and 1100.
Solution:Align the bits and apply NOR to each position: Position 3: NOR(1, 1) = NOT(1 OR 1) = NOT(1) = 0 Position 2: NOR(0, 1) = NOT(0 OR 1) = NOT(1) = 0 Position 1: NOR(1, 0) = NOT(1 OR 0) = NOT(1) = 0 Position 0: NOR(0, 0) = NOT(0 OR 0) = NOT(0) = 1 Result: 0001 (decimal 1)
Result:1010 NOR 1100 = 0001 (decimal: 10 NOR 12 = 1)
Frequently Asked Questions
Why is the NOR gate called a universal gate?
The NOR gate is called universal because any other logic gate (AND, OR, NOT, NAND, XOR, XNOR) can be constructed using only NOR gates. This means an entire computer processor could theoretically be built from nothing but NOR gates. For example, NOT(A) = NOR(A,A), and OR(A,B) = NOR(NOR(A,B), NOR(A,B)). The AND gate requires NOR(NOR(A,A), NOR(B,B)). This universality property is shared only with the NAND gate. In early computing, entire processors were built using just one type of gate for manufacturing simplicity. The Apollo Guidance Computer famously used exclusively NOR gates for its logic circuits.
What is the difference between NOR and NAND gates?
Both NOR and NAND are universal gates, but they have opposite truth table patterns. A NOR gate outputs 1 only when all inputs are 0, while a NAND gate outputs 0 only when all inputs are 1. NOR is NOT-OR: it rejects any active input. NAND is NOT-AND: it rejects only the all-active case. In terms of Boolean algebra, NOR(A,B) = (A+B)' while NAND(A,B) = (AB)'. In practice, NAND gates are more commonly used in modern chip design because NAND-based CMOS implementations are slightly faster and more area-efficient than NOR-based ones. However, NOR gates remain important in certain applications like SR latches and memory cells.
How is the NOR gate used in memory circuits?
NOR gates are fundamental building blocks of memory circuits, particularly in SR (Set-Reset) latches and flip-flops. An SR latch built from two cross-coupled NOR gates can store one bit of data. When the Set input goes high, the output goes to 1. When the Reset input goes high, the output goes to 0. When both inputs are low, the latch holds its previous state, implementing memory. This basic NOR latch forms the foundation of static RAM (SRAM) cells, register files, and sequential logic circuits. NOR-based flash memory (NOR flash) is used in applications requiring fast random read access, such as firmware storage in embedded systems.
How was the NOR gate used in the Apollo Guidance Computer?
The Apollo Guidance Computer (AGC), which guided the Apollo 11 mission to the Moon in 1969, was built entirely from three-input NOR gates. The computer used approximately 5,600 NOR gates to implement all its logic functions, including arithmetic operations, memory addressing, and program control. The designers chose NOR gates for their universality and manufacturing consistency. Using a single gate type simplified testing, reduced the number of different components to qualify for spaceflight, and made the system more reliable. Each NOR gate was constructed from discrete transistor circuits in integrated circuit modules. This historic computer demonstrated that NOR-gate universality was practical for real engineering.
Can a NOR gate have more than two inputs?
Yes, NOR gates can have any number of inputs. A three-input NOR gate outputs 1 only when all three inputs are 0, and outputs 0 if any input is 1. The general rule extends naturally: an n-input NOR gate outputs 1 only when ALL n inputs are 0. In Boolean algebra, this is expressed as (A + B + C + ...)'. Multi-input NOR gates are used in address decoding, priority encoding, and condition checking circuits where you need to detect the simultaneous absence of multiple signals. In CMOS technology, adding more inputs to a NOR gate increases the number of series PMOS transistors, which can slow the gate, so practical NOR gates typically have 2-4 inputs.
How does NOR relate to electrical circuit behavior?
In CMOS technology, a NOR gate is implemented with NMOS transistors in parallel connected to ground and PMOS transistors in series connected to the power supply. When any input is high, at least one NMOS transistor conducts, pulling the output low (0). Only when all inputs are low do all PMOS transistors conduct (and no NMOS transistors conduct), pulling the output high (1). This directly implements the NOR truth table. The series PMOS configuration makes NOR gates inherently slower than NAND gates (which have parallel PMOS and series NMOS), because series-connected transistors have higher resistance. This speed difference is why NAND logic is generally preferred in modern chip design.
What are practical applications of NOR gates in modern electronics?
NOR gates remain widely used in modern electronics despite NAND dominance. They are essential in NOR flash memory, used for storing firmware and boot code in smartphones, embedded systems, and automotive electronics. NOR flash provides fast random access reads, making it ideal for execute-in-place applications. In digital design, NOR gates appear in reset circuits, enable/disable logic, and interrupt controllers. Programmable logic devices (FPGAs and CPLDs) use NOR-based lookup tables. In telecommunications, NOR gates help implement error detection and protocol state machines. Even in NAND-dominant designs, specific logic functions naturally map to NOR gates and would be less efficient with other gate types.
References
Reviewed for accuracy by Manoj Kumar, Mathematics Educator · Editorial policy
Related Calculators
🧮Annulus Area Calculator
Calculate annulus area with inputs, formulas, and instant results.
🧮Area Calculator
Calculate area with inputs, formulas, and instant results.
🧮Area of a Rectangle Calculator
Calculate the area, perimeter, and diagonal of a rectangle. Find missing sides from known area. Convert between metric and imperial area units.
🧮Area of Crescent Calculator
Calculate area of crescent with inputs, formulas, and instant results.
🧮Center of Mass Calculator
Calculate center of mass with inputs, formulas, and instant results.
🧮Centroid Calculator
Calculate centroid with inputs, formulas, and instant results.
🧮Chord Length Calculator
Calculate chord length with inputs, formulas, and instant results.
🧮Conic Sections Calculator
Calculate conic sections with inputs, formulas, and instant results.