Schematic to Gerber — The Complete Path to Fab-Ready Files
Converting a schematic to Gerber means translating a logical circuit diagram into the physical manufacturing data a PCB fabricator actually uses. The process passes through netlist generation, component footprint assignment, board layout, design-rule checking (DRC), and finally Gerber/Excellon export. Each stage adds constraints — pad geometry, trace width, clearance, drill tolerance — that don’t exist in the schematic domain. Miss one, and the fab house rejects your package or, worse, builds a board that doesn’t work.
Why the Schematic Alone Is Not Enough

A schematic captures electrical connectivity and component values. It says nothing about copper weight, layer stackup, annular ring size, or solder-mask relief. Gerber files (RS-274X or Gerber X2) encode every physical detail the photo-plotter and CNC drill need. The gap between these two representations is where most first-time designers lose time.
If you already have a physical board but no schematic, the first step is recovering a schematic from the existing PCB. Only once you hold a verified schematic — with correct net names and component values — can you reliably produce new Gerber output.
Seven Stages From Schematic to Gerber
| Stage | Input | Output | Key Check |
|---|---|---|---|
| 1. Schematic Capture | Circuit concept / recovered netlist | .sch or equivalent | ERC clean, no floating pins |
| 2. Netlist Generation | Schematic | Netlist file (.net, .xml) | All components have footprints assigned |
| 3. Board Setup | Netlist + design rules | Board outline, stackup, rules | Layer count, impedance targets, min trace/space |
| 4. Component Placement | Board outline + netlist | Placed .pcb / .kicad_pcb | Courtyard clearance ≥ 0.15 mm, thermal pad access |
| 5. Routing | Placed board | Routed board | 100 % connectivity, no DRC errors |
| 6. DRC + Electrical Check | Routed board | Clean report | Annular ring ≥ 0.125 mm (IPC Class 2), clearance ≥ 4 mil |
| 7. Gerber / Drill Export | Clean board file | RS-274X + Excellon | Fab-house CAM review pass |
Stage 1 — Schematic Capture
Whether you draw the circuit from scratch or import a recovered netlist, every symbol must carry a footprint reference that maps to a real land pattern. Run an Electrical Rules Check (ERC) before proceeding. Common ERC traps include unconnected power flags, bidirectional pin conflicts, and missing no-connect markers. Clearing ERC at this stage prevents ghost nets from propagating into layout.
Stage 2 — Netlist Generation
The netlist is the bridge file. It lists every component instance, its footprint, and every net connection. Modern EDA tools (KiCad 7+, Altium Designer, EasyEDA) can push the netlist directly to the PCB editor without an intermediate file, but the underlying data is the same. Verify the footprint-to-symbol mapping — a wrong 0402 vs. 0603 assignment here means a board that can’t be assembled.
For tool-specific guidance, see the EasyEDA schematic-to-PCB conversion walkthrough or the Proteus netlist-to-ARES workflow.
Stage 3 — Board Setup
Define the board outline (DXF import or manual draw), layer stackup, and design rules before placing a single part. Critical parameters:
- Layer count: 2-layer for simple analog/digital; 4-layer minimum for designs with a solid ground plane; 6–16 layers for HDI or high-speed.
- Trace/space: Standard fab capability is 5/5 mil (0.127/0.127 mm); advanced processes reach 3/3 mil but cost 30–60 % more.
- Via size: 0.3 mm drill / 0.6 mm pad is a safe default. Microvias (≤ 0.15 mm drill) require laser drilling.
- Copper weight: 1 oz (35 µm) is standard; 2 oz for power boards; 0.5 oz inner layers on HDI.
- Impedance control: If your schematic includes USB, DDR, or RF nets, set impedance targets now (e.g., 90 Ω differential for USB 2.0, 100 Ω for DDR3/4). The stackup calculator in your EDA tool — or one from the fab — determines trace width for the target impedance.
Stage 4 — Component Placement
Placement drives routing success. Group by function: power supply section near the input connector, decoupling caps within 2 mm of IC power pins, analog and digital grounds separated until a single-point star tie. Keep BGA escape channels clear — a 0.8 mm pitch BGA on a 4-layer board needs via-in-pad with cap plating, which must be specified in the Gerber notes.
Stage 5 — Routing
Route critical nets first: clocks, differential pairs, power rails. Use length matching for DDR data groups (tolerance ± 5 mil within a byte lane is typical). Fill remaining copper with ground pours, stitched with vias every 3–5 mm to suppress cavity resonance above 1 GHz. Autorouters can handle 60–80 % of simple fan-out but almost always need manual cleanup on impedance-controlled or high-density sections.
Stage 6 — DRC and Electrical Checks
Run DRC against the fab house’s actual capability file, not generic defaults. Common last-minute failures:
- Acid traps (acute-angle trace junctions) that cause etching defects.
- Solder-mask slivers < 3 mil between pads — most fabs reject these.
- Drill-to-copper clearance violations on inner layers (IPC Class 2 minimum: 0.2 mm).
- Missing thermal reliefs on through-hole pads connected to planes — causes solder wicking issues during wave soldering.
Also run a netlist-vs-layout comparison (back-annotation check) to confirm the routed board still matches the schematic. If the schematic was recovered from a physical board, this step is doubly important — refer to our notes on schematic recovery vs. netlist-only extraction to understand what can go wrong.
Stage 7 — Gerber and Drill Export
Export one Gerber file per layer plus Excellon drill files (plated and non-plated separately). A standard 4-layer board produces roughly 12–14 files:
| File | Extension (typical) | Content |
|---|---|---|
| Top Copper | .GTL | Component-side traces and pads |
| Bottom Copper | .GBL | Solder-side traces and pads |
| Inner Layer 1 | .G2L / .GP1 | Ground or signal plane |
| Inner Layer 2 | .G3L / .GP2 | Power or signal plane |
| Top Solder Mask | .GTS | Mask openings, component side |
| Bottom Solder Mask | .GBS | Mask openings, solder side |
| Top Silkscreen | .GTO | Reference designators, polarity marks |
| Bottom Silkscreen | .GBO | Solder-side markings |
| Top Paste | .GTP | Stencil apertures for SMT |
| Bottom Paste | .GBP | Stencil apertures, solder side |
| Board Outline | .GKO / .GM1 | Mechanical boundary |
| NC Drill (PTH) | .DRL / .XLN | Plated through-hole drill data |
| NC Drill (NPTH) | .DRL / .XLN | Non-plated holes (mounting, slots) |
Always open the exported Gerbers in a standalone viewer (GerberView, gerbv, or the fab’s online viewer) before submitting. Verify layer alignment, drill registration, and that the board outline is closed. A 0.1 mm gap in the outline contour will cause the router to skip the cut — a surprisingly common export glitch.
What Can Go Wrong in a Schematic to Gerber Conversion?
Even experienced engineers hit these pitfalls:
- Footprint mismatch: The schematic symbol’s pin map doesn’t match the footprint’s pad numbering. This is the number-one cause of first-article assembly failure.
- Missing paste layer: If you skip the paste Gerber, the assembly house has no stencil data and must create one manually — adding cost and 2–3 days.
- Incorrect drill units: Excellon files can be in inches or millimeters. A mismatch scales every hole by 25.4×. Always specify the unit in the file header or the fab notes.
- Outdated Gerber format: Some legacy tools still export RS-274D (no embedded aperture list). Most fabs accept only RS-274X or Gerber X2. Check before exporting.
- Panelization conflicts: If you add V-score or tab-route lines in your Gerber but the fab does their own panelization, you get duplicated or misaligned features.
When You Don’t Have the Original Schematic

Reverse-engineering projects often start with a bare board and no documentation. The path is: physical board → recovered schematic → verified netlist → new layout → Gerber export. Our engineers handle the first three stages, delivering a schematic in your preferred EDA format plus a validated BOM. From there, you can complete the schematic to Gerber conversion in-house or have us produce the full manufacturing package.
If you need to understand the recovered circuit before layout, our guide on interpreting a schematic derived from a physical PCB covers net naming conventions, hierarchical sheet organization, and common ambiguities.
For cost and timeline expectations on the reverse-engineering side, see our breakdown of Gerber reverse-engineering pricing and lead times.
Typical Turnaround and Deliverables
- Simple 2-layer board (≤ 50 components): Schematic to Gerber in 3–5 working days.
- 4-layer mixed-signal (50–200 components): 5–10 working days, including impedance-controlled stackup.
- 6+ layer HDI or BGA-heavy design: 10–20 working days depending on net count and density.
Deliverables include: RS-274X Gerber set, Excellon drill files, IPC-D-356 netlist (for bare-board electrical test), pick-and-place centroid file (.csv), BOM with manufacturer part numbers, and a fabrication drawing (PDF) specifying stackup, finish, and tolerances.
Check feasibility for your project
Send the chip marking or board details and tell us what you need to recover. Add clear photos if available.
Request a feasibility reviewFrequently Asked Questions
Can I go directly from schematic to Gerber without a PCB layout step?
No. The schematic defines connectivity; the Gerber defines physical geometry. You must pass through a layout phase — placement and routing — to translate logical nets into copper features. Every EDA tool enforces this sequence: schematic → netlist → board layout → Gerber export. There is no shortcut that skips placement and routing.
Which Gerber format should I use — RS-274X or Gerber X2?
Use Gerber X2 if your EDA tool supports it. X2 embeds layer-function metadata (e.g., “this file is the top solder mask”) so the fab’s CAM software auto-assigns layers correctly. RS-274X is universally accepted but requires a separate README or fabrication note to identify each file. Avoid RS-274D entirely — it is obsolete and most fabs will ask you to re-export.
How do I verify my Gerber files before sending them to the fab?
Open every file in a standalone Gerber viewer (gerbv, KiCad’s GerberView, or your fab’s online DFM tool). Check layer-to-layer alignment by toggling layers, confirm drill hits land on pad centers, verify the board outline is a closed contour, and inspect solder-mask clearances around fine-pitch pads. Many fabs also offer a free automated DFM check within 24 hours of upload.
What if my schematic was recovered from a reverse-engineered board — is the Gerber workflow different?
The EDA workflow is identical, but you need an extra verification step: compare the recovered netlist against a continuity test of the original board to catch any missed connections (especially on inner layers). Recovered schematics may also lack component value accuracy on unmarked parts, so measure and confirm critical resistor/capacitor values before committing to layout. Our board-to-schematic recovery service includes this validation.
Do I need separate Gerber files for each PCB layer?
Yes. Each copper layer, each solder-mask layer, each silkscreen layer, the paste layers, and the board outline each get their own Gerber file. Drill data is exported separately in Excellon format. A typical 4-layer board generates 12–14 individual files. Package them in a single ZIP with a clear naming convention or a README mapping filenames to layers.
What do you need to recover?
Send the full marking or board photos, sample condition and required outcome. Ask for an NDA before sharing confidential files. Scope and sample handling are confirmed individually.
The article title is carried into the contact form. Add your own details and review the enquiry before sending.