How-To: Make Your Own Gears

Gareth Branwyn

Gareth Branwyn is a freelance writer and the former Editorial Director of Maker Media. He is the author or editor of over a dozen books on technology, DIY, and geek culture. He is currently a contributor to Boing Boing, Wink Books, and Wink Fun. And he has a new best-of writing collection and "lazy person's memoir," called Borg Like Me.

3921 Articles

By Gareth Branwyn

Gareth Branwyn is a freelance writer and the former Editorial Director of Maker Media. He is the author or editor of over a dozen books on technology, DIY, and geek culture. He is currently a contributor to Boing Boing, Wink Books, and Wink Fun. And he has a new best-of writing collection and "lazy person's memoir," called Borg Like Me.

3921 Articles



In 2010, we asked Dustyn Roberts, then teaching a course at NYU’s Interactive Telecommunications Program (ITP) called Mechanisms and Things That Move, to contribute something on fabricating your own gears for our Physical Science and Mechanics theme. Dustyn had just written a book, called Making Things Move, and we wanted to feature some of the kinds of content that could be found in it. — Gareth

Gears are easy to understand, make, and use, if you know the vocabulary and can space the gears at the correct distance apart. One nice thing about gears is that if you know any two things about them – let’s say outer diameter and number of teeth — you can use some simple equations to find everything else you need to know, including the correct center distance between them. First, look over the anatomy of the spur gear pair in figure 1 and the vocab below.

  • Number of Teeth (N)
  • Pitch Diameter (D): The circle on which two gears effectively mesh, about halfway through the tooth. The pitch diameters of two gears will be tangent when the centers are spaced correctly.
  • Diametral Pitch (P): The number of teeth per inch of the circumference of the pitch diameter. Think of it as the density of teeth — the higher the number, the smaller and more closely spaced the teeth on a gear. Common diametral pitches for hobby-size projects are 24, 32, and 48. The diametral pitch of all meshing gears must be the same.
  • Circular Pitch (p) = pi / P: The length of the arc between the center of one tooth and the center of a tooth next to it. This is just pi (Ï€ = 3.14) divided by the diametral pitch (P). Although rarely used to identify off the shelf gears, you may need this parameter when modeling gears in 2D and 3D software like we’re doing here. As with diametral pitch, the circular pitch of all meshing gears must be the same.
  • Outside Diameter (Do): The biggest circle that touches the edges of the gear teeth. You can measure this using a caliper like’s # TOL-00067.
    Note: Gears with an even number of teeth are easiest to measure, since each tooth has another tooth directly across the gear. On a gear with an odd number of teeth, if you draw a line from the center of one tooth straight through the center across the gear, the line will fall between two teeth. So, just be careful using outside diameter in your calculations if you estimated it from a gear with an odd number of teeth.
  • Center Distance (C): Half the pitch diameter of the first gear plus half the pitch diameter of the second gear will equal the correct center distance. This spacing is critical for creating smooth running gears.
  • Pressure Angle: The angle between the line of action (how the contact point between gear teeth travels as they rotate) and the line tangent to the pitch circle. Standard pressure angles are, for some reason, 14.5° and 20°. A pressure angle of 20° is better for small gears, but it doesn’t make much difference. It’s not important to understand this parameter, just to know that the pressure angle of all meshing gears must be the same.

Figure 1

All of these gear parameters relate to each other with simple equations. The equations in the table below come from the excellent (and free) design guide published by Boston Gear [PDF].


Making your own

This project is adapted from a blog post a student did in my first Mechanisms and Things That Move class at NYU’s ITP. We’ll design and fabricate spur gears using free software (Inkscape) and an online store ( that does custom laser cutting at affordable prices out of a variety of materials. If you have access to a laser cutter at a local school or hackerspace, even better! You can also print out the template and fix it to cardboard or wood to cut the gears by hand.

    1. Download and install Inkscape from Inkscape. It’s a free, open-source vector based drawing program similar to Adobe Illustrator. It plays well with most modern Windows, Mac, and Linux operating systems (check FAQ for details).
    2. Go to Ponoko and download their Inkscape starter kit. This will give you a making guide (a PDF file) and three templates that relate to the sizes of materials Ponoko stocks. Unzip the file and save to somewhere you’ll remember.
    3. Open a new file in Inkscape. Under the file menu, go to Document Properties to get the window shown in Figure 2. Change the default units in the upper right hand corner to inches. Back in the main window, change the rulers from pixels to inches in the toolbar. Your screen should look like Figure 2. Once set, exit that window.

Figure 2

  1. Now let’s make some gears! Go to the toolbar and choose Extensions –> Render –> Gear. A small Gear window will pop up that gives you three options: Number of Teeth, Circular pitch, px, and Pressure angle. Leave Pressure angle alone — the 20° default is standard for off the shelf gears so is a good place to start. In Figure 3, you can see that I chose 28 teeth with a circular pitch of 24. Click Apply, then Close.Note on circular pitch: In Inkscape, the circular pitch is given in pixels, not inches, as we’re used to using in the equations in the above table. You can get different gear ratios by just choosing a circular pitch that looks good and varying the teeth number, but if you want to make gears that interface with off the shelf gears, you need to pay a little bit more attention. By default in Inkscape there are 90 pixels in 1 inch. So if you set circular pitch to 24px in the gear tool as done above, that rounds to 0.267 inches (24/90 = 0.2666…). Since diametral pitch (P) = Ï€ / circular pitch (p), the diametral pitch (P) in inches is = Ï€ / 0.267 = 11.781. You will not find any off the shelf gears with a diametral pitch of 11.781. As mentioned earlier, common diametral pitches are 24, 32, and 48. So if you plan to make gears to play nice with off the shelf gears, start with the diametral pitch of your off the shelf gear and use the equations in the table to work backwards to what your circular pitch should be in pixels in Inkscape.

Figure 3

  1. Now, since gears are no fun by themselves, follow steps 4 and 5 again to make at least one more gear. The second gear shown in figure 30 has 14 teeth. Remember: The pressure angle and circular pitch must be the same for the gears to mesh – only change the number of teeth!
  2. Use the circle tool and hold down the CTRL button (on a PC) to draw a circle inside the big gear. The default circle shows up filled in with black. Zoom in if you need to. Make sure the arrow selector is active and click on the circle. Make sure inches is selected in the toolbar and the lock button looks locked. Type 0.250 in the W box in the toolbar, press enter, and watch the H box change automatically. Your circle will resize to 0.250 inches in diameter and your screen should look like Figure 4.

Figure 4

  1. Click and drag a box around the big gear, small gear, and circle shape to select them all. From the menu bar, choose Object –> Fill and Stroke. A window that looks like Figure 5 should pop up.
    • In the Fill tab, click the X button for no paint.
    • In the Stroke paint tab, click the button next to the X for flat color. Leave the color default (black) for now.
    • In the Stroke style tab, change the width to 0.030 mm and hit enter. This is what Ponoko wants the line thickness to be for laser cuts. Adjust if necessary if you’re using a different laser cutter. Close the window.

Figure 5

  1. Now we need to get this circle in the exact center of the gear. Make sure the arrow selector is active. Click and drag a box around the big gear and the circle to select them both. On the menu bar, go to Object –> Align and Distribute. Click on the “center object horizontally” button highlighted in figure 6, then the one right below it – “center objects vertically.” Now you have a gear with a hole perfectly centered! Copy and paste this circle and repeat this step to center a circle in the other gear.

Figure 6

    1. Now that we have our gears, let’s create a base with holes spaced the correct distance apart so we can mount the gears with 1/4″ wooden dowels and make them spin.
      1. First, we need to calculate what the center distance (CD) of our gears is using the equations from the table. Both of our gears have a circular pitch of 24 px, a pressure angle of 20°. The big gear has 28 teeth and the small one has 14. In the note on step 4, we converted the circular pitch in pixels to a diametral pitch in inches of 11.781. If we look at the table, all we need is that number and the numbers of teeth on the two meshing gears to find the center distance (CD). Use the equation CD = (N1 + N2)/2P and you’ll find that CD = 1.783.
      2. Now, copy one of the circles inside the gears, and paste two of them about two inches apart on the lower part of the template. Select the one farthest to the left, and change the X coordinate in the toolbar to 3 inches, then hit enter. Your screen should look like Figure 7.

      Figure 7

      1. Use the same procedure to place the second circle to the right of the first with an X coordinate of 4.783. This is the center distance we calculated above (1.783) added to the X coordinate of the first circle (3.000).
      2. Now draw a rectangle around the two circles to complete the base. Align the rectangle with the two circles as shown in Figure 8.

Figure 8

    1. Now we need to prepare the file to be uploaded and ordered on
        1. Ponoko uses colors to indicate how they should treat the files — for example, a blue 0.030 mm line means cut it all the way through. So select everything you’ve drawn so far, go to the color swatches at the bottom of the screen, and hold down the shift button while you click on blue.
        2. Open the P1.svg template you downloaded earlier. Select everything you have drawn so far, and copy and paste it into this template as shown in Figure 9. Don’t worry about the orange border and words — Ponoko knows only to cut the blue outlines.

      Figure 9

      1. Save the file and go to to set up a free account, upload it, pick a material, and get it shipped! I chose blonde bamboo as shown in Figure 10 and the total cost was just $4.13 (plus shipping).Note: Once you open your free account, go to My Accounts –> Preferences to set your shipping hub to Ponoko – United States (or the closest location to you). Mine was accidentally set to New Zealand so my shipping charges were curiously high until I figured this out.

Figure 10

    1. Your Ponoko order should arrive in a couple weeks, unless you specify a rush. While you’re waiting, get a 1/4″ wooden dowel from your local hardware or craft store (or McMaster, of course). Cut off two 2″ sections with a hobby knife and file down any splintery ends.
    2. The gears will come in the square template with a sticky paper protector on each side. Peel off the paper, pop out the gears, and position the two gears over the holes in the base. Insert your wooden dowels, and voila!

Figure 11

BIO: Dustyn Roberts is a traditionally-trained engineer with non-traditional ideas about how engineering can be taught. She started her career at Honeybee Robotics, as an engineer on the Sample Manipulation System project for NASA’s Mars Science Laboratory mission, scheduled for launch in 2011. After consulting with two artists during their residency at Eyebeam Art + Technology Center in NYC in 2006, she founded Dustyn Robots ( and continues to engage in consulting work ranging from gait analysis to designing guided parachute systems. In 2007, she developed a course for NYU’s Interactive Telecommunications Program (ITP) called Mechanisms and Things That Move that led to writing a book called Making Things Move: DIY Mechanisms for Inventors, Hobbyists, and Artists, due out in fall 2010. Dustyn holds a BS in Mechanical and Biomedical Engineering from Carnegie Mellon University, an MS in Biomechanics & Movement Science from the University of Delaware, and will begin a PhD program in Mechanical Engineering at NYU-Poly in August this year. Media coverage of her work has appeared in Time Out New York, IEEE Spectrum, and other local organizations. She lives in New York City with her partner, Lorena, and cat, Simba.


Explore More From Make: