Skip to main content
What is a Gerber File?
  1. Glossary/

What is a Gerber File?

6 mins·
Ben Schmidt
Author
I am going to help you build the impossible.

Building a hardware startup forces you to learn a glossary of terms that software founders never touch. One of the most critical is the Gerber file.

You might have the perfect schematic. You might have routed the board beautifully in your CAD software. None of that matters if you cannot communicate that design to the machine that builds it.

The Gerber file is the standard file format used by printed circuit board (PCB) fabrication houses. It contains the information necessary to create the board’s conductive layers. It is the bridge between your digital vision and a physical object.

If you are building a product that requires electronics, you will eventually have to export your designs. Understanding what happens during that export process allows you to spot errors before they become expensive scrap metal.

Understanding the Standard

#

The Gerber format is an open ASCII vector format for 2D binary images. That sounds technical because it is.

Think of it as a universal language. It does not matter what software you use to design your board. You could use Altium, Eagle, KiCad, or EasyEDA. The manufacturing equipment at the factory does not run those programs.

The machines need a set of coordinates and instructions. They need to know where to move, when to draw a line, and how thick that line should be. The Gerber file provides these vector-based instructions. It tells a photoplotter how to create the image of your circuit on a film or directly on the board material.

This format was developed in the 1960s by Gerber Systems Corp. It has evolved since then.

The current standard is RS-274X. You might also see Gerber X2, which includes more metadata. The file itself is human-readable text, though you would rarely read it that way. It consists of commands and coordinates.

A key distinction is that a “Gerber file” usually refers to a collection of files. A single PCB is made of multiple layers. You generate a separate file for every physical layer of the board. You zip these together and send them to the manufacturer.

Gerber Files vs. Native CAD Files

#

A common question arises for first-time hardware founders. Why can you not just send the factory the design file from your software?

You can, in some cases. Some modern fabrication houses accept native files. However, relying on this introduces risk.

Think of the relationship between a Word document and a PDF. You design and edit in Word. You send a PDF to the printer to ensure the formatting looks exactly the same on their screen as it does on yours.

The Gerber file is the PDF of the electronics world.

When you send a native CAD file, you are relying on the manufacturer to export the data correctly. They might have a different version of the software. They might have different library settings. This can lead to silent errors where a trace moves slightly or a hole size changes.

By generating the Gerbers yourself, you lock in the geometry. You take responsibility for the translation. This allows you to verify exactly what will be manufactured before the data ever leaves your computer.

This also protects your intellectual property. A native file contains your schematics, component logic, and design rules. A Gerber file is just a dumb image of shapes. It is much harder to reverse-engineer a full product schematic from Gerbers than from a native project file.

The Anatomy of the Stack

#
Gerber files protect your intellectual property.
Gerber files protect your intellectual property.

Since a PCB is a sandwich of materials, the Gerber export produces a file for each slice of that sandwich. You need to know what you are looking at when you open that zip folder.

Here are the standard files you will see:

  • Copper Layers: These define the electrical connections. You will have a Top Copper and a Bottom Copper. If you are building a multi-layer board, you will have internal copper layers as well.
  • Solder Mask: This is the protective coating, usually green, that covers the copper. The file actually tells the manufacturer where not to put the mask, leaving pads exposed for soldering.
  • Silkscreen: This is the text and outline layer. It includes component labels and logos. It is printed in ink on top of the solder mask.
  • Solder Paste: This layer is used to create a stencil. The stencil helps apply solder paste to the pads before components are placed.
  • Drill File: While often grouped with Gerbers, this is technically a separate standard usually defined by the Excellon format. It tells the CNC machine exactly where to drill holes and what diameter bit to use.

Each of these files usually has a specific extension. For example, .GTL might stand for Gerber Top Layer. However, naming conventions vary between design software.

Risks and Unknowns in Fabrication

#

The existence of a standard does not eliminate the possibility of error. There are gaps in the process that a founder needs to manage.

The biggest risk is the disconnect between intent and interpretation. The Gerber file is purely geometric. It does not know that two lines are a differential pair carrying a high-speed signal. It just sees two lines.

If a manufacturer makes a slight adjustment to improve yield, they might inadvertently ruin the signal integrity of your board. The Gerber format does not carry that design intent.

There is also the question of resolution. How precise are the coordinates? Older versions of the format had limitations here. Modern RS-274X is very precise, but you must ensure your export settings match the capabilities of the factory.

We also have to ask about the future of this format. Gerber is old technology. There are newer formats like ODB++ and IPC-2581. These formats are intelligent. They contain the netlist, the stackup data, and the bill of materials in a single file.

Why have they not taken over completely? Inertia.

The entire global supply chain is built around Gerbers. Switching costs are high. Small fabrication houses in Shenzhen or Guadalajara might not support the newer formats yet. As a founder, you have to decide if you want to push for the modern standard or stick with what is universally compatible.

Practical Steps for Founders

#

Knowledge is only useful if applied. Here is how you treat Gerber files in your operations.

Never send files blindly. Download a Gerber viewer. There are many free options available. Open your exported files and look at them layer by layer.

Check the alignment. Does the drill hole line up with the center of the pad? Does the silkscreen run over a solder pad? If ink gets on a pad, you cannot solder to it.

Do a DFM (Design for Manufacturing) check. Many fabrication houses offer an automated viewer on their website. Upload your files there before you pay. See if their software flags any issues with trace width or spacing.

Treat your Gerber files as part of your version control. Do not just save them in a temp folder. Tag them with the release version of your hardware.

When you scale, you will likely hire a manufacturing engineer. Until then, you are the final quality check. The machine will do exactly what the file says, even if the file is wrong.