Gear DXF Generator

Generate a spur gear DXF with true involute teeth for laser, waterjet, or CNC cutting, from module or diametral pitch and tooth count.

Design a laser-cut spur gear

Set the pitch, teeth, and pressure angle, add a mating gear, then choose a bore and plate.

Units
Presets
mm
x · module
Tooth thinning
mm

Preview the mesh, center distance, ratio, and contact ratio.

x · module

Hub, holes, and plate

mm
Min. feature 0.050 in · 1.27 mm

Gear dimensions

Pitch diameter
48 mm
Outside diameter
52 mm
Root diameter
43 mm
Base circle diameter
45.105 mm
Circular pitch
6.283 mm
Tooth thickness at pitch
3.092 mm
Diametral pitch
12.7 DP
Mating pitch diameter
96 mm
Mating outside diameter
100 mm
Center distance
72 mm
Gear ratio
2 : 1
Contact ratio
1.675

Mesh preview

Involute flanks and trochoid root fillets are generated by rolling a basic rack through each tooth space, the way a hob cuts a gear. Dashed circles are pitch circles.

True generated tooth form

Download the manufacturing files

100% in-browser

STEP solids are built and checked in your browser. DXF and SVG drawings use lines and true arcs at full scale. Nothing is uploaded until you order.

  • ⌀ 51.7 mm

  • ⌀ 99.9 mm

Laser cut it at Fabworks

We generate the STEP files, add them to a new quote, and open it in a new tab where you can review material, finish, and quantity.

How it works

The DXF is the finished gear at full scale: lines and arcs on one layer, with the bore and any holes as closed loops. Pick mm or inches before you download, because the file is written in that unit. Do not offset it for kerf; our laser guidelines say you do not need to.

How to use the calculator

  1. 1Set the unit first. The button reads DXF (mm) or DXF (in), and the file comes out in that unit, so match it to your cutting software.
  2. 2Set the bore and any holes before you download. Round, hex, keyed, and D-flat bores, bolt circles, and lightening holes are all written into the same file.
  3. 3Leave backlash at the default 0.05 mm per gear and raise it only if a test pair binds. It thins the teeth in the outline itself, so it is separate from kerf.
  4. 4Pick the material and thickness, then clear the warnings. The thin-tooth and narrow-gap checks use the minimum feature size for that stock.
  5. 5Download one DXF per gear. To have us cut it, upload the DXF to a quote, where the preflight checks units, scale, and closed profiles. The Order button sends the STEP instead.

20 DP, 40-tooth gear exported in inches

Inputs
DP = 20, z = 40, 14.5° pressure angle, hex bore, DXF (in).
Result
A closed outline 2.100 in across the tooth tips and 1.875 in at the roots, with the hex bore as a second loop, all in inches.

Pitch diameter is 40 ÷ 20 = 2.000 in, the tips are 42 ÷ 20 = 2.100 in, and the roots are (40 − 2.5) ÷ 20 = 1.875 in. After you import it, measure the tip diameter. If it is off by a factor of 25.4, the program ignored the unit in the file.

What to know before using the result

Do I need to add kerf to the gear in the DXF?
Not for us. We cut to the outline you draw, and our laser guidelines say you do not need to compensate for kerf. If you cut gears on your own machine and the mesh runs loose, measure your kerf and offset the outline by half of it. One maker with a 0.5 mm kerf added 0.25 mm and the gaps closed up.
Why does the DXF have no splines?
A smooth tooth flank sampled into points becomes thousands of tiny segments, which make a laser head stutter, and some CAM programs reject splines outright. Here every flank is fitted with lines and arcs that stay within 0.005 mm of the generated tooth form.
The gear imported at the wrong size. What happened?
The file is a plain R12 DXF with the unit set in its header, and some programs ignore that and assume mm or inches. Download the unit your software expects and check one dimension after importing. The file name ends in -mm or -in so you can tell them apart.
Should I use the DXF, STEP, or SVG?
Use the DXF to cut a flat plate gear. Use the STEP when you need a solid at the chosen thickness for a CAD assembly. The SVG is for drawings and documents.

Formula

d = m·z · dₐ = m(z + 2) · d_f = m(z − 2.5) · d_b = d·cos α

Pitch diameter d is the module m times the tooth count z, and diametral pitch converts with m = 25.4 ÷ DP. Flanks are true involutes of the base circle d·cos α, and the root is the fillet a rack cutter leaves.

Assumptions and limits

  • Default tooth proportions follow ISO 53 profile A: addendum 1.0m, dedendum 1.25m, root fillet 0.38m.
  • Backlash thins each gear’s teeth by the entered allowance at the pitch circle.
  • Center distance and contact ratio assume rigid, aligned shafts at the working center distance.
  • Exported flanks are arcs within 0.005 mm of the generated tooth form.

Order Sheet Metal Parts

Upload a 2D DXF or 3D STEP file for an instant laser cutting quote. Quote in seconds, order in minutes, receive parts in days.