You are currently viewing PCB Hole Pattern Calculator with DXF Export

PCB Hole Pattern Calculator with DXF Export

Hole Pattern Calculator

Input controls
Overall width of the plate in millimeters.
Overall height of the plate in millimeters.
Total number of holes distributed across rows.
Rows used to evenly distribute the total holes.
Set independent clearances for each side. The dashed rectangle indicates the usable area for the hole grid.

📏 PCB Hole Pattern Calculator – How to Use

This tool helps you calculate and visualize hole patterns for Printed Circuit Boards (PCBs). It ensures uniform hole distribution inside a rectangular area, helping you prepare precise layouts for PCB manufacturing or mechanical designs.


🔧 How it Works

Start by filling in the input fields:

  • Width (mm): Total width of the area where holes will be placed.

  • Height (mm): Total height of the area.

  • Number of Holes: Total number of holes you need.

  • Number of Lines: Number of rows the holes will be arranged in.

    • (The tool automatically shows valid combinations based on your total hole count.)

  • Distance Center-Hole to Edge (mm): Margin from the edges of the rectangle to the center of the nearest hole.


🎯 What Happens When You Click “Calculate”

  • The tool calculates:

    • Exact horizontal spacing between columns.

    • Exact vertical spacing between lines.

  • It displays a scaled drawing of the rectangular area with red circles representing the holes.

  • Spacing values (in mm) are shown below the drawing for reference.


💾 Downloading the DXF File

Once you’ve calculated the pattern, a “Download DXF” button will appear.

Click it to export a DXF file containing:

  • A rectangle representing your PCB area.

  • Hole positions as properly spaced 1mm radius circles.

This DXF file can be opened in tools like AutoCAD, FreeCAD, SolidWorks, or eDrawings for mechanical design, documentation, or further PCB integration.


🔎 Why Use This Tool?

Precise hole positioning is essential in PCB design for:

  • Connectors and headers

  • Mounting holes

  • Vias and through-hole components

  • Mechanical enclosures

  • Alignment and fixture design

This calculator lets you verify spacing and fit quickly before integrating into your PCB layout or CAD workflow — saving time and reducing errors.

Check our mitred bend calculator here.

Leave a Reply