<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=140460429997534&amp;ev=PageView&amp;noscript=1">

What Are Gerber Files and What Are They Used For?

Epec Engineered Technologies
Written by Epec Engineered Technologies
Posted on March 26, 2020 at 10:22 AM

After an engineer has finished their circuit design for a printed circuit board (PCB), the next step is to enter the schematic details into a computer-based schematic capture program such as Altium, Eagle, or OrCAD. The finished printed circuit board will provide the physical assembly and interconnection platform for the various electronic components required by the schematic.

The schematic capture program provides the detailed information about the completed board design in a series of data (Gerber) files for each conductive layer of the PCB.

The Gerber file is the most important item for fabricating a circuit board. These files were initially developed by a company called Gerber Scientific, founded by Joseph Gerber, and have become the traditional format for consistent production of circuit boards.

Gerber File Processes

The Gerber files are typically zipped into a single file and sent to the printed circuit board manufacturer. At times, the data package will consist of multiple layers, depending on the stackup of the PCB, drill programs, assembly, pick and place, fabrication drawings, and array layout. Each artwork layer, copper circuitry, power, or ground must have a corresponding Gerber file to create the required pattern.

The outermost layers, referenced as “top” and “bottom,” component and solder or by layer count will also have a conforming layer for solder mask and silkscreen to be applied. A paste layer or layers are typically provided for assembly purposes and matching step and repeat of the array layout.

Learn All the Benefits of Having a Full-Service PCB Manufacturer

Files for programming drilling machinery are also provided; some of the time multiple sets of drill files are needed for the manufacturing of the part. The drill program provided for each hole is a X,Y coordinate that is related to 0,0 as shown within the data and on the fabrication drawing. Many times, non-plated holes, slots, blind and buried vias, and plated through-holes are indicated in different files. There should be a detailed board outline 1:1 describing machining profile to be produced and any internal cutouts to be made. Often included is a README.txt file, which states the purpose of above-mentioned files. It also is suggested that a fabrication drawing is exported as a Gerber file.

The file names for the Gerber files are often descriptive enough for the PCB manufacturer to understand which board and board layer each file applies to. Supplying a corresponding stackup marked as the Gerber’s are labeled within the zip file is advantageous to engineering when laying out the part for production.

Example of Gerber file process

Gerber files have become the traditional format for consistent production of circuit boards.

Files are named with extensions such as .TOP and .BOT or .SMT and .SMB are often used instead of the .GB_ type extensions. The file extension for a type of file, top, bottom, silkscreen, paste, inner layer, is controlled by the PCB CAM software package or is selectable within the package.

The CAM engineering software used by the manufacturer to create the circuit boards utilize manufacturing data to create two-dimensional or three-dimensional designs of the PCB. They receive all the information needed from the Gerber files in order to etch the copper layers, create the component pads and connection traces, drill all required holes, and profile the board to the required size.

The Gerber data is imported into these CAM systems to produce the designs for production. Upon import the files are labeled accordingly, set to 0,0 archived and saved in the original format. The engineer will manipulate the files for production ready layout, singles or within an array. Clean up is critical to processing files correctly in production. Design rule checks are set to parameters for the type of PCB being checked. Manual and automated cleanup is performed on each layer during the cleanup the engineer will compare to the archived original files to be sure no electrical changes have occurred.

Engineers must refer to guidelines and references mentioned in the Gerber file while entering manipulating the data. A Gerber file is developed such that it elaborates the requirements in each stage of the product development. These files are used for both processes: PCB fabrication and PCB assembly.

Gerber File Formats


The oldest format of Gerber file designed by Gerber Scientific. The file was represented in the numerical control (NC) format, and it was compatible with different photo plotters used in the 1970s. Due to several drawbacks of this format, manual input of d-codes, user interpretation, other types of Gerber files have been developed since. This format was known as the Standard Gerber.


This Gerber file format has been used since 1998. This revised format of RS274-D utilizes an embedded format, unit and data information. The apertures defining the layers are embedded allowing for standard sizes and custom apertures. In addition, the RS274X format allows the designer to utilize film control, multiple layer structure for single layers, special polygon fill commands, polarity controls, and much more. The improved format eliminated the manual data entry and reduced the photo plotting errors to a rarity.

Example of Gerber file RS274X

Gerber file format RS247X has been used since 1998.


Developed by Valor to be an all-inclusive, self-extracting, and standardize input format, automating the process for stackup, drill placement, and labeling. Initially not user friendly by other software programs, ODB++ can now be input by most CAD programs. ODB++ removed additional room for human error, manual naming conventions the zip contains all design and fab information as well as netlist data. A good format not preferred by all, but useful in the industry.

Gerber X2

This is the newest Gerber format and is designed for most advanced CAM software applications. This allows for certain attributes to be assigned to features within the Gerber file that are interpreted and implemented by the CAM software, providing additional information for the fabricator and the CAM operator. Some example attributes that can be applied within the Gerber file are:

  1. Function of file (Top mask, top copper, etc.)
  2. Part represented by the file (single PCB, an array, coupon, etc.)
  3. Function of pad (SMD, Via pad, fiducial, etc.)

The X2 format is compatible with its original X1 format, allowing for the designer to transfer valuable design information to the Gerber.

Not Sure If Your PCB Design Is Manufacturable? Submit a FREE DFM Today!


As a design engineer at Epec who works with legacy user interface products, I often review PCB drawings that include the various Gerber file layers. The CAM engineers on our team are excellent at providing information on the files, as well as updating them when changes are needed. The Gerber files are an essential part of the printed circuit board manufacturing process. Understanding the manufacturing process, manipulation of the data, layout, and streamlining the process for continued excellence in manufacturing of PCBs is what Epec does best.

Topics: Printed Circuit Boards

Download Our Printed Circuit Boards Engineering Guide Ebook

Leave a Comment

Subscribe to our blog Subscribe to our blog

Recent Posts

Quote Your PCB's Online

InstantPCBQuote - Online Quote and Ordering Solution for Rigid PCB's

Register today and start to quote and order your circuit boards online, 24/7.

Start Quoting Now

Need Help with A Project?

Request Design Support

Our team of engineers are here to help you with all your product needs.

Request Design Support