Skip over navigation
Guide and features
Guide and features
Science, Technology, Engineering and Mathematics
Featured Early Years Foundation Stage; US Kindergarten
Featured UK Key Stage 1&2; US Grades 1-4
Featured UK Key Stage 3-5; US Grades 5-12
Featured UK Key Stage 1, US Grade 1 & 2
Featured UK Key Stage 2; US Grade 3 & 4
Featured UK Key Stages 3 & 4; US Grade 5-10
Featured UK Key Stage 4 & 5; US Grade 11 & 12
Design Your Circuit
Stage: 2, 3, 4 and 5
A circuit is a set of switches, wires, bulbs and components called
There are seven different types of logic gates, each with a technical-sounding name:
XOR (exclusively OR)
NAND (not AND)
NOR (not OR)
XNOR (not XOR)
You can experiment by building your own circuits with interesting properties using the interactivity below. You will be able to see when current flows and bulbs light up according to the circuits and settings of the logic gates. Instructions are given at the bottom of the page.
You can also read and learn more about logic circuits and logic gates in our
Full Screen Version
This text is usually replaced by the Flash movie.
To build a circuit follow these steps. You can delete mistakes by clicking on the cross which appears when you hover above the icon.
1. Left-click on the components to drag them on to the circuit board space.
2. FIRST click next to a red dot and drag to the right to create a wire; THEN you can stretch this wire to join with any other red dot in the circuit.
3. Click on the switches to turn them on or off. Wires 'fill' with current unless blocked by an un-triggered logic gate.
4. Click on the logic gates to change their type.
5. Left-click and drag to move the components around.
Meet the team
The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice. More information on many of our other activities can be found here.
Register for our mailing list
Copyright © 1997 - 2014. University of Cambridge. All rights reserved.
NRICH is part of the family of activities in the
Millennium Mathematics Project