How to design a PCB, step by step
Here is how to design a PCB the way it is done in practice: you draw the circuit first, then turn it into copper, then check it and send the files to a board house. The steps below take a small two-layer board from an idea to a set of Gerber files, and they are the same whether the board is a blinker or a guitar pedal.
What you need before you design a PCB
- A circuit that works, on a breadboard or from a trusted reference. Layout fixes nothing that is wrong in the circuit.
- The exact parts you will buy, because the package (DIP-8, 0805, TO-220) decides the footprint.
- A board house's rules. Budget two-layer services typically accept 0.127 mm (5 mil) traces and gaps, 0.3 mm drills and a 0.13 mm annular ring. A home etch needs far more room: plan on 0.4 mm traces and 0.5 mm gaps.
- PCB design software. Any tool that does a schematic, a board and Gerber export will do.
How to design a PCB in 8 steps
- Write down what the board must do. List the inputs, outputs, supply voltage, the connectors and the size it has to fit. One paragraph is enough for a small board.
- Draw the schematic. Place every part as a symbol, give each a value (10k, 100n, 330), and connect the pins with wires and net labels. Add power and ground symbols.
- Check the circuit. Run the electrical rule check for unconnected pins and shorted outputs, and simulate the parts you are unsure of before copper is involved.
- Pick a footprint for every part. Through-hole or surface mount, the footprint is the copper pattern the part is soldered to. It must match the exact package you will buy.
- Set the board outline and rules. Draw the outline and mounting holes, and pick the design rules of the house that will make it: minimum trace, gap, drill and annular ring.
- Place the parts. Connectors at the edges, decoupling capacitors next to the pins they serve, short paths for the loudest currents. Placement decides most of the routing.
- Route the copper. Turn each ratsnest line into a trace. Use both layers, drop a via to change layer, widen power traces, and pour a ground plane on the bottom.
- Run the design rule check, then export. Fix every DRC finding, look at the board in 3D, then export Gerber and drill files and send them to a board house.
Placement: where most PCB designs are won
Routing is the slow part, but placement decides how hard it is. Put the fixed things first: connectors, switches, LEDs and mounting holes go where the case needs them. Then place each chip with its decoupling capacitor within a few millimetres of its supply pin. Rotate parts so their connected pins face each other and the ratsnest lines stop crossing. A board where the airwires look tidy before you route will usually route on two layers without a fight.
Routing a two-layer board
- Route the critical nets first: power, ground returns and anything fast or sensitive.
- Keep corners at 45°. Right angles are not a signal problem on a hobby board, but they are harder to etch and to read.
- Give each layer a direction (mostly horizontal on top, vertical on the bottom) and use a via when a trace needs to cross.
- Pour ground on the bottom layer and stitch it with vias. A solid return path solves more noise problems than any trace width.
- Keep copper away from the board edge, by 0.3 mm or more for most houses.
Check it, then make it
Run the design rule check until it is clean: trace widths, gaps, drill sizes, annular rings and copper too close to the edge. Then look at the board as it will be made, in a Gerber viewer or a 3D view, and check the silkscreen reads the right way. Finally export the Gerber and drill files and upload the zip to a board house. Not sure where the schematic ends and the layout starts? See PCB design vs PCB layout.
Where PCB Drafter fits. PCB Drafter does every step on this page in one app: schematic with wires that route themselves around other pins, a simulator that shows the LED current before you build, a two-layer board with ground pours and a plain-words design rule check, a 3D view with a printable case, and Gerber + drill export that is free for boards up to 100 × 100 mm. It runs in your browser, with no account and nothing uploaded.
Open PCB Drafter in your browser About PCB Drafter Get it on Google PlayQuestions
How do you design a PCB for beginners?
Start from a small working circuit such as a 555 LED blinker: draw its schematic, give every part a through-hole footprint, place them on a 50 × 40 mm two-layer board, route it with 0.25 mm traces, pour ground on the bottom, run the design rule check and export the Gerber files.
How long does it take to design a simple PCB?
A board with ten to twenty parts takes an evening once you know the steps: about a third of the time on the schematic, a third on placement and a third on routing and checks.
Can I design a PCB online for free?
Yes. PCB Drafter runs in the browser at pcbdrafter.adelyons.com/app/ with no account, and exports Gerber and drill files free for boards up to 100 × 100 mm.
What trace width should I use?
0.25 mm (10 mil) is a comfortable default for signals on a budget two-layer board, whose minimum is usually 0.127 mm (5 mil). Use 0.5 mm or more for power, and more again above an amp.
Do I need a schematic before the PCB layout?
You should. The schematic is what tells the layout which pins belong together; without it, nothing checks that the copper matches the circuit.
More guides
- How to make a PCB Gerber file
- PCB design vs PCB layout
- PCB Drafter: PCB design online, in your browser
More guides: Work & create · all Adelyons guides