Manufacturing Rules, Files and Design Review

Fabricator limits, annular rings, mask dams, panels, output files, testing and a design-review checklist.

Fabricator capabilities and your rules

Every fabricator publishes what it can make. Their standard process is cheap and reliable; the advanced one (finer lines, smaller holes) costs more and has lower yield. Design to the standard process unless you must not. The values below are typical for low-cost prototype services (see PCB Prototyping); load your fabricator’s own rules into the design-rule check.

ItemStandard process (typical)Advanced (typical)
Trace / space0.127 / 0.127 mm (5 / 5 mil); design for 0.15 or more0.09 / 0.09 mm (3.5 mil) or less
Drill (finished) diameter0.3 mm minimum0.2 mm (0.15 mm laser)
Annular ring0.13 mm minimum (0.15 to 0.2 mm design)0.075 to 0.1 mm
Board thickness0.8, 1.0, 1.2, 1.6 (standard), 2.0 mm0.4 to 3.2 mm
Outer copper1 oz (35 µm), 2 oz option3 oz and more (heavy copper)
Solder-mask dam0.1 mm (green) to 0.15 mm (other colors)0.075 mm
Silkscreen1.0 mm text height, 0.15 mm line0.8 mm and 0.1 mm
Copper to board edge0.3 mm (0.5 mm preferred)0.2 mm
Smallest slot0.8 mm (router limit)0.5 mm
Hole to hole0.5 mm edge to edge0.25 mm
Registration (layer to layer)±0.075 to 0.1 mm±0.05 mm

Holes, annular rings and aspect ratio

The annular ring is the copper left around a drilled hole. The drill can land a little off (registration), so the pad must be large enough that the hole never breaks out of it. A plated hole also needs the pad to survive soldering and rework.

Pad diameter = hole + 2 × (minimum ring + registration)

HoleFinished drillMinimum pad (calculated)Recommended pad (hole + 0.6 mm)
Signal via0.30 mm0.71 mm0.90 mm
Small via0.20 mm0.61 mm0.80 mm
Header pin 1.0 mm1.00 mm1.41 mm1.60 mm
Header hole for 0.64 mm square pin1.10 mm1.51 mm1.70 mm
Mounting hole M3 (plated)3.20 mm3.61 mm3.80 mm

Fabricators drill a hole 0.1 mm larger than the finished size to allow for the plating: specify the finished hole size (the size after plating) on your drill file and in your drawing, unless the fabricator says otherwise.

Worked example: via size and aspect ratio

  • The aspect ratio is board thickness ÷ drill diameter; plating becomes hard above about 8 to 10. For a 1.6 mm board:
DrillAspect ratioStatus
0.30 mm5.3 : 1standard
0.20 mm8.0 : 1standard
0.15 mm10.7 : 1too high: thinner board or blind via
  • A 0.3 mm via with a 0.6 mm pad has a ring of 0.15 mm: just above the 0.13 mm minimum, so a standard design uses 0.3 / 0.6 mm and a conservative one 0.3 / 0.7 mm.
  • A 0.2 mm drill in 1.6 mm FR-4 is 8:1: possible, but costs more at some services. On a 0.8 mm board it is 4:1 (easy).
  • Plated slots and holes of non-round shape go in the same file but check the fabricator’s limits.

Solder mask, silkscreen and finish

The solder mask (the green or other colored lacquer) covers the copper except where openings expose pads. The opening is made slightly larger than the pad (the mask expansion, typically 0.05 mm) to allow for registration. The strip of mask left between two pads is the mask dam; it stops the solder from bridging, but needs a minimum width.

Worked example: do the pads keep a mask dam?

  • Dam = pad gap − 2 × mask expansion = (pitch − pad width) − 2 × 0.05 mm. With a minimum dam of 0.10 mm:
PartPad gapMask damResult
SOIC 1.27 mm0.67 mm0.57 mmdam possible
TSSOP 0.65 mm0.25 mm0.15 mmdam possible
QFP 0.5 mm0.20 mm0.10 mmdam possible
QFP 0.4 mm0.18 mm0.08 mmno dam: open the mask as a group
BGA 0.8 mm (pad 0.4)0.40 mm0.30 mmdam possible

Where the dam cannot be made, the fabricator opens the mask in one long slot along the pads; the solder bridges are then prevented by flux and process (see Surface-Mount Soldering). A 0.4 mm pitch QFP is usually done this way.

Surface finishFlatnessShelf lifeNotes
HASL (lead-free)Poor: domed pads12 monthsCheapest; not for pitch under 0.65 mm or BGAs
ENIG (gold over nickel)Excellent12 monthsFine pitch, BGAs, wire bonding; costs more; “black pad” risk, so use a good fabricator
OSP (organic coating)Excellent3 to 6 monthsCheap, lead-free; limited reflow cycles; no re-work after storage
Immersion silver / tinExcellent6 to 12 monthsFine pitch; tarnish and whisker concerns; keep sealed
Hard goldExcellentLongEdge connectors and switches; costly
  • Silkscreen: text of at least 1 mm, line 0.15 mm; reference designators for each part, polarity marks, pin 1 and the board revision; keep it off pads (the fabricator clips it).
  • Solder mask color: green is the most tested and the cheapest; black and white look good but have wider dams and reduce contrast for inspection.
  • Fiducials and tooling holes: bare copper, no mask, 1 mm with a 2 mm clear mask opening.

Panels, tabs and fiducials

A panel: boards, rails, tabs and fiducialsboard 1board 4board 2board 5board 3board 6White circles: tooling holes. Orange dots: fiducials. Gaps and tabs: routed apart (V-score is the alternative).
A panel: boards in a frame, with tooling holes and fiducials.

Small boards are made and assembled in panels that hold several copies in a frame, so that machines can handle them. The boards are separated by V-scoring (a V-groove from both sides; boards touch, straight cuts only) or tab routing (boards separated by a gap with a few narrow tabs, with perforated “mouse bites”). A prototype service will panelize for you, usually at no cost.

Worked example: a panel of the sensor board

  • Board 45 × 30 mm in a 4 × 3 array with 2.0 mm gaps (tab-routed) and 5 mm rails: panel = 196 × 104 mm for 12 boards.
  • Utilization = 12 × 45 × 30 ÷ (196 × 104) = 79 %; the rest is rails and gaps.
  • Fabricators’ work panels are about 18 × 24 inch (457 × 610 mm): about 10 of these customer panels fit (with 80 % usable area), which is why the price per board falls with quantity.
  • The cost of a prototype run is largely set-up plus area (illustrative values: $30 plus $0.05 per cm² for a two-layer board with a factor of 1.6 for the real process): 5 boards at $7.08 each; 10 boards at $4.08 each; 50 boards at $1.68 each; 100 boards at $1.38 each. Order more than you need: the first boards pay for the set-up.
  • Keep parts and traces 3 mm from V-score lines and 1 mm from tab routing edges, and keep tabs clear of copper.
  • Put three fiducials on the panel rails, and local ones on the board for fine-pitch parts.
  • Leave a 5 mm rail on the long edges for the assembly line to hold the panel.

Output files

The fabricator makes the board from Gerber files (one per layer, RS-274X format) and an Excellon drill file. Every layout program can export them; most fabricators accept a single zip of all files.

LayerKiCad nameOlder extensionWhat it is
Top copperF_Cu.gbrGTLCopper pattern, top
Bottom copperB_Cu.gbrGBLCopper pattern, bottom
Inner layersIn1_Cu.gbr, In2_Cu.gbrG2, G3Four-layer boards
Solder mask top and bottomF_Mask.gbr, B_Mask.gbrGTS, GBSOpenings in the mask
SilkscreenF_Silkscreen.gbr, B_Silkscreen.gbrGTO, GBOText and outlines
Paste (stencil)F_Paste.gbr, B_Paste.gbrGTP, GBPOnly if you order a stencil
Board outlineEdge_Cuts.gbrGKO / GMLShape and cut-outs
Drill filePTH.drl, NPTH.drlTXT / DRLPlated and non-plated holes (Excellon)
Netlist (optional)IPC-D-356IPCLets the fabricator check shorts and opens
  • Check the files before you send them: open the Gerbers in a viewer (the fabricator’s online viewer or a free viewer such as gerbv or KiCad’s Gerber viewer), look at each layer, check the outline and the holes, and compare to the design.
  • Name the files and the zip with the board name and revision.
  • Write the fabrication notes (a readme): layers, thickness, copper weight, finish, mask color, impedance requirements and tolerances.
  • Use the same units and origin for all files; export the drill file with the same origin as the Gerbers.

Files for assembly

  • Bill of materials (BOM): one line per unique part: reference designators, quantity, value, footprint, manufacturer, manufacturer part number and supplier number. A BOM that lists exact manufacturer part numbers avoids substitutions.
  • Pick-and-place (component placement) file: reference, X, Y, rotation and side for every part. Rotation conventions differ between programs: check the assembler’s preview.
  • Assembly drawing: a PDF with the outline, parts, polarity and notes (for hand assembly and inspection).
  • Stencil file: the paste layers, and the stencil thickness (usually 0.12 mm; 0.1 mm for fine pitch; see Solder Alloys, Flux and Paste).
  • Special instructions: parts not to place, parts to hand-solder, glue, conformal coating and test.

Design for test

Worked example: test pads for the sensor board

  • The board has about 57 nets. A reasonable test strategy gives a pad to about 40 % of them (the rest are tested through other nets): 23 pads of 1.0 mm. They need 18 mm² of board.
  • Place the pads on the same side, on a 1.27 or 2.54 mm grid where possible, at least 1 mm from other parts, and do not cover them with mask or silkscreen. A flying-probe tester needs no fixture; a bed-of-nails fixture needs 1 mm pads at 2.54 mm centers.
  • Also add a header for programming, test points on every power rail and a ground near each, and LEDs for the main states.

Design review checklist

Review the board with a fresh mind or a second person, using a written list. This list covers the main points; add to it every time a fault is found.

AreaCheck
SchematicERC clean; every net named; every pin used or marked unused; power pins connected; pull-ups and strap pins set; part values and ratings checked (voltage, power, tolerance)
FootprintsEvery footprint checked against the data sheet; pin 1 and pin numbering; pad size; printed 1:1 and tried with the real part
PlacementConnectors and holes match the case; decoupling at the pins; crystal near the chip; heat and sensitive parts apart; test points
RoutingDRC clean with fabricator rules; widths for current; spacing for voltage; no slot under a fast signal; stitching vias; pair lengths
PowerDecoupling per pin; input protection; bulk capacitors; regulator layout from the data sheet; power-on sequencing
ThermalCopper and vias for each warm part; the temperature at the maximum ambient
MechanicalBoard outline; hole sizes and positions; keep-outs; 3D fit in the enclosure; connector orientation
SilkscreenReference marks readable; polarity; revision and name; not on pads
FilesGerbers and drill viewed; BOM complete with part numbers; pick-and-place orientation; fabrication notes
TestTest points, programming header and bring-up plan (see Design, Testing and Troubleshooting)

Troubleshooting

SymptomLikely causeWhat to do
Fabricator reports a DFM issueA rule below their capabilityRelax the rule or pay for the advanced process; resubmit
Hole breaks out of the padAnnular ring too smallLarger pad, 0.15 mm ring or more
Solder bridges on fine pitchNo mask damCheck the dam; use a thinner stencil; better flux
Boards arrive with the wrong size holesPlated and finished sizes confusedState finished hole size; check the drill file units
Parts rotated wrong in assemblyPick-and-place rotation conventionCheck the assembler’s preview; add a rotation column
Pads look different from the drawingMask expansion, finish thicknessCheck the Gerbers in a viewer; ask the fabricator
Board is bowed after assemblyUnbalanced copper, thin boardBalance the copper; thicker board; panel support

Related

FAQ

What files do I send to a PCB fabricator?

Gerber (RS-274X) files for each copper, mask, silkscreen and outline layer, and an Excellon drill file, usually in one zip. Add a netlist and fabrication notes if you can.

What is a good minimum trace width and spacing?

Design for 0.15 mm (6 mil) or more for the standard process, even though 0.127 mm (5 mil) is the minimum; wider is cheaper and more reliable.

What annular ring do I need?

At least 0.13 mm for the standard process; 0.15 to 0.2 mm in the design, which gives pads of about hole + 0.4 to 0.6 mm.

What is a panel?

A frame that holds several copies of a board so that machines can fabricate and assemble them, with tabs or V-score lines to break them apart.

Which surface finish should I use?

Lead-free HASL for cheap boards with larger parts, ENIG for fine pitch and BGAs, OSP for low cost and flat pads with a short shelf life.

References

  • IPC-2221B (design); IPC-6012 (rigid boards: qualification and performance); IPC-A-600 (acceptability of printed boards); IPC-2581 and ODB++ (data exchange).
  • Ucamco, The Gerber Layer Format Specification (ucamco.com).
  • Fabricators’ published capabilities (JLCPCB, PCBWay, OSH Park, Eurocircuits) and DFM guidelines.

Last reviewed: October 2026. Capabilities and prices change: use your fabricator’s current published figures.