Research Careers Contact

GlossaryGerber files

Gerber files

Gerber files are the image files that describe each layer of a circuit board, copper, solder mask, silkscreen, paste and outline, as a set of vector plots. They are the most widely used format for sending a board design to a fabricator, usually together with an Excellon drill file.

How it works

A layout tool exports one Gerber file per layer. Each file describes the shapes on that layer: pads, traces, filled areas and outlines, defined with apertures and coordinates. The fabricator loads the set into its CAM software, assigns each file to a layer, runs its own checks, and produces the tooling that images, etches and drills the panel.

The format has evolved. Extended Gerber, known as RS-274X, describes images only. Gerber X2 adds attributes that state each file's function, such as which copper layer it is or which side the mask belongs to, and that can carry net information. Gerber X3 adds component data for assembly. The format owner publishes the specification and maintains the format.

A plain Gerber set leaves several things out. It does not state the stackup, the materials, the finish or the tolerances, and it usually does not carry drill data. Those come from the drill file and the fabrication drawing. Structured formats such as ODB++ and IPC-2581 carry more of that information in one package.

Gerber files vs ODB++ and IPC-2581

Gerber files are a set of layer images plus separate drill data and notes. ODB++ and IPC-2581 are structured packages that carry layers, drills, stackup, netlist and component data together. Gerber is the most widely accepted. The structured formats reduce the chance of a mismatched or misassigned file. Many teams send a structured package and a Gerber set from the same revision.

Why it matters

The shop builds what the files show. A missing layer, a mirrored plot, a file from an old revision or a layer assigned to the wrong position produces a board that does not match the design. Those errors are expensive to find after etch, and very expensive after assembly.

Most Gerber problems come from the export, not the design: a layer not selected, the wrong units or format, drill data exported from a different origin, or an outline drawn on the wrong layer. A careful export and a viewer check catch nearly all of them.

How to get it right

  • Export every layer the shop needs. That means the copper for each layer, mask and silkscreen for each side, paste layers for assembly, and the board outline, plus the drill file.
  • Use Gerber X2 where the shop accepts it. File function attributes reduce the chance of a misassigned layer.
  • Name files clearly and include a readme. State the layer order, the units and the revision.
  • Check the set in a viewer. Overlay the layers and the drill file, and confirm alignment, polarity and completeness before you release it.
  • Send the drawing and the netlist. Images alone do not state thickness, finish or which nets must be tested.

Gerber files in robotics and drone hardware

Robotics and drone teams often order small batches from more than one shop over a product's life, and Gerber is the format every shop reads. A clean, complete Gerber set, with the drill file and the fabrication drawing, lets a board move from one shop to another without a round of questions.

The same teams revise boards often, which raises the risk of sending an old layer with a new revision. Exporting every output in one step from a tagged revision, and naming the revision in each file, keeps a four-layer motor controller from shipping with last month's inner layer.

Learn more