Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Watch Free Classes
    • Free courses
    • JEE Main 2024
    • JEE Main 2024 Live Paper Discussion
    • JEE Main Rank Predictor 2024
    • JEE Main College Predictor 2024
    • Stream Predictor
    • JEE Main 2024 Free Mock Test
    • Study Materials
    • Notifications
    • JEE Advanced Syllabus
    • JEE Books
    • JEE Main Question Paper
    • JEE Coaching
    • Downloads
    • JEE Notes & Lectures
    • JEE Daily Videos
    • Difference Between
    • Full Forms
    • Important Formulas
    • Exam Tips
JEE Exam » JEE Study Material » Physics » NAND Gate

NAND Gate

In this topic, we will learn what a NAND gate is, its expression and how it is used to implement other gates.

Table of Content
  •  

A NAND gate can be implemented by cascading an ‘AND’ gate and a ‘NOT’ (N) gate. There can be two or more inputs to a NAND gate; however, there is only one output. It can also be referred to as a negated AND gate. 

The expression for a NAND gate can be written as In Boolean algebra, a NAND gate is considered a universal gate since it can be used to implement all basic gates such as AND, OR and NOT. It can also be used to implement the other universal gate, NOR. This property of the NAND gate can also be termed functional completeness. 

Truth table

The truth table for a two-input NAND:

From the truth table, it can be seen the output is true (1) if at least one of the inputs is false (0). When all inputs are true (1), the output is false (0).

The truth table for a three-input NAND gate can be represented as follows:

In this table also, it can be seen that the output is always true (1) if at least one of the inputs is false (0). When all inputs are true (1), the output is false (0).

Circuit diagram

A NAND gate can be obtained by cascading an AND gate and a NOT gate as follows:

From the above diagram, we can see that the output of the AND gate is being inverted. Instead of adding a separate NOT gate, we can simply add a bubble at the output of the AND gate. The bubble will indicate an inversion at the output. Therefore, the circuit symbol for a NAND gate is as follows:

According to the first law of De Morgan, From this theorem, we can say that the circuit for will be equivalent to the circuit for Therefore, a circuit for can be illustrated as:

Instead of using a NOT gate, we can use bubbles at the input, indicating an inversion as follows:

Therefore, it can be said that a NAND gate and a bubbled OR gate are equivalent.

Universal gate

A NAND gate can be used to implement a NOT gate, AND gate, OR gate, NOR gate, Ex-OR and Ex-NOR gate.

Implementing NOT gate

To implement a NOT gate using a NAND gate, we tie the inputs of the NAND gate, that is, give two same inputs. The output expression will be:

[Using the law of idempotency ]Implementation of NOT using NAND can be illustrated as follows:

Implementing AND gate

To implement an AND gate, we invert the output of a NAND gate. The output expression will be:

[Using the property of double inversion Implementation of AND using NAND can be illustrated as follows:

It can be seen that the output of the first NAND gate is inverted to obtain an AND gate. The inversion is done using a NOT gate, which has been implemented using a NAND gate.

Implementing OR gate

To implement an OR gate, we invert the input of a NAND gate. The output expression will be:

[Using the De Morgan law ] [Using the property of double inversion Implementation of OR using NAND can be illustrated as follows:

It can be seen that the two inputs to the NAND gate on the right are inverted to obtain an OR gate.

Implementing NOR gate

To implement a NOR gate, we invert the input as well as the output of a NAND gate. The output expression will be:

[Using the De Morgan law [Using the property of double inversion Implementation of NOR using NAND can be illustrated as follows:

Implementing Ex-OR gate

Implementation of Ex – OR using NAND can be illustrated as follows:

The output expression from the above diagram can be illustrated as follows:

[Using the De Morgan law ]

[Using the property of double inversion ]

[Using absorption law ]

Similarly,

[Using the De Morgan law ]

[Using the property of double inversion ]

[Using absorption law ]

Finally,

[Substituting value of Y and Z]

[Using the first De Morgan law ]

[Using the second De Morgan law ]

[Using the property of double inversion ]

Implementing Ex-NOR gate

Implementation of Ex – NOR using NAND can be illustrated as follows:

The output expression from the above diagram can be illustrated as follows:

[Using the law of idempotency ]

Similarly,

[Using the law of idempotency ]

Now,

[Substituting the value of Y and Z]

[Using the first De Morgan law ]

[Using the property of double inversion ]

Finally,

[Substituting values of X and P]

[Using the first De Morgan law ]

[Using the property of double inversion ]

[Using the second De Morgan law  

Conclusion 

A NAND gate is obtained from a combination of ‘NOT’ (N) gate and ‘AND’ gate. The output of a NAND gate can be represented as The output will always be true (1) if at least one of the inputs is false (0). If all inputs are true (1), the output will be false (0). 

A NAND gate can be represented using an AND gate with a bubble or an inversion at the output. A NAND gate is a universal gate, that is, it can be used to implement other basic gates as well as NOR, XOR and EXOR gates.

faq

Frequently Asked Questions

Get answers to the most common queries related to the JEE Examination Preparation.

What is the difference between a NAND and a NOR gate?

Ans : A NAND gate is an inversion of an AND gate while a NOR gate is an inversion of an OR gate. Th...Read full

What is a universal gate?

Ans : A gate that can be used to implement or obtain any other gate is termed as a universal gate. ...Read full

How many inputs can a NAND gate have?

Ans : A NAND gate can have any number of inputs. NAND gates that are commercially available have 2,...Read full

Can a NAND gate be used as an inverter?

Ans : A NAND gate can be utilised as an inverter by combining all the inputs to one input signal. F...Read full

Ans : A NAND gate is an inversion of an AND gate while a NOR gate is an inversion of an OR gate. The expression for a NAND gate is while the expression for a NOR gate is

Ans : A gate that can be used to implement or obtain any other gate is termed as a universal gate. NAND and NOR are referred to as the universal gates.

Ans : A NAND gate can have any number of inputs. NAND gates that are commercially available have 2, 3 or 4 inputs. If a NAND gate with more inputs is required, the smaller gates are cascaded together.

Ans : A NAND gate can be utilised as an inverter by combining all the inputs to one input signal. For example, if a two-input NAND gate is used as an inverter, the output will be as

Crack IIT JEE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the JEE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Allotment of Examination Centre
JEE Advanced Eligibility Criteria
JEE Advanced Exam Dates
JEE Advanced Exam Pattern 2023
JEE Advanced Syllabus
JEE Application Fee
JEE Application Process
JEE Eligibility Criteria 2023
JEE Exam Language and Centres
JEE Exam Pattern – Check JEE Paper Pattern 2024
JEE Examination Scheme
JEE Main 2024 Admit Card (OUT) – Steps to Download Session 1 Hall Ticket
JEE Main Application Form
JEE Main Eligibility Criteria 2024
JEE Main Exam Dates
JEE Main Exam Pattern
JEE Main Highlights
JEE Main Paper Analysis
JEE Main Question Paper with Solutions and Answer Keys
JEE Main Result 2022 (Out)
JEE Main Revised Dates
JEE Marking Scheme
JEE Preparation Books 2024 – JEE Best Books (Mains and Advanced)
Online Applications for JEE (Main)-2022 Session 2
Reserved Seats
See all

Related articles

Learn more topics related to Physics
Zinc-Carbon Cell

The battery you use every day in your TV remote or torch is made up of cells and is also known as a zinc-carbon cell. Read on to know more.

ZEROTH LAW OF THERMODYNAMICS

Read about the Zeroth law of thermodynamics. Learn about the zeroth law definitions and their examples.

Zener Diode As A Voltage Regulator

Understand the concepts of Zener diodes. Also, learn about the efficiency and limitations of Zener Diode as a Voltage Regulator.

Zener diode as a voltage regulator

zener diode is a very versatile semiconductor that is used for a variety of industrial processes and allows the flow of current in both directions.It can be used as a voltage regulator.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Subscribe Now
. document.querySelector('.targetTopBtn').onClick = topFunction; function topFunction() { window.scrollTo({ top: 0, behavior: 'smooth' }) }
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2025 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY