PCB Layout Rules That Work: the short answer
Start the layout by placing parts, not routing. Put connectors at the board edge, keep the power section together, and place each chip's 100 nF decoupling capacitor right next to its power pin with a short path to ground.
- Level
- Advanced
- Time
- About 6 min
- Topic
- PCB and making
Lay out a two-layer board with correct trace widths, decoupling, grounding and clearances, ready for fabrication.
Before this: Reading Schematics & Design Evidence, Planning a Prototype
Start the layout by placing parts, not routing. Put connectors at the board edge, keep the power section together, and place each chip's 100 nF decoupling capacitor right next to its power pin with a short path to ground. Place parts so that the high-current and switching paths are short and the sensitive analog parts are away from them.
Trace width sets how much current a trace can carry. Use an IPC-2221 calculator: on outer layers of standard 1 oz copper, about 0.3 mm carries 1 A and about 0.8 mm carries 2 A for a 10 °C temperature rise. Signals can use 0.2 to 0.25 mm. Check your fabricator's minimum trace, space and drill sizes (often around 0.15 mm trace and space for standard boards) and load them into KiCad's design rules before you route.
On a two-layer board, make the bottom layer a ground plane wherever possible and route most signals on top. Every signal's return current flows in the ground under it, so do not cut the plane with long traces underneath fast or switching signals. Keep a buck converter's input capacitor, switch and diode loop as tight as the datasheet layout shows. Keep this board low voltage: mains voltages need much larger clearances and creepage set by safety standards. Finish with KiCad's DRC (design rule check), a 3D view to catch mechanical clashes, and print the board at 1:1 to check footprints against real parts before ordering.
Place first, route second
Good routing starts with placement. Put connectors and mounting holes where the enclosure needs them, then the main chip, then the parts that must be close to it, such as decoupling capacitors and crystals. Group parts by function and keep related parts together so the tracks are short.
Route the critical signals first, such as the clock and power, then the rest. A short, direct track is better than a tidy one.
Return paths and loops
Every signal current returns to its source, and it takes the path of least impedance. At high frequency that path lies directly under the signal track, so an unbroken ground plane under the signals keeps the loop small. A slot or a split in the plane that a signal crosses makes a large loop that radiates and picks up noise.
Keep fast signals away from analogue inputs and cross other tracks at right angles. Do not run a track along the edge of a plane gap.
Track widths and clearances
Track width depends on current and allowed temperature rise. A 1 oz copper track 1 mm wide carries roughly 1 A with a modest rise, but use a calculator following the IPC-2221 or IPC-2152 data and leave margin. Keep to the manufacturer's minimum width and spacing, and allow more space where mains or high voltage is present.
- Routing a signal across a gap in the ground plane.
- Placing decoupling capacitors away from the chip's power pins.
- Using the minimum track width for a power track.
- I = 0.048 × ΔT^0.44 × A^0.725
- IPC-2221 outer-layer trace, A in square mils
Work it with your own numbers: PCB trace width
Practise this lesson with Pro
The explanation above is free for everyone. The practice for Advanced lessons in every domain are part of the Pro plan at ₹999 a month.
With Pro you also get: a worked example, a hands-on task, a 3-question check.
