Essential Shop Math for Makers: Trigonometry, Bolt Circles, Feed Rates, and Unit Conversion
Most maker software does the math for you — a slicer calculates print time, CAM software calculates feed rates, LightBurn calculates cut layout. But there's a layer of shop math that comes up constantly outside of software: laying out a bolt pattern by hand, figuring out a mitered angle for an enclosure, converting a datasheet's imperial dimension into the metric units your CAD file uses, or sanity-checking a CAM-generated feed rate before you trust it on an expensive piece of stock. This is a reference for the specific calculations that come up again and again across 3D printing, CNC, laser work, and electronics — not a full trigonometry course, just the formulas worth having memorized or bookmarked.
Bolt Circle and Hole Pattern Layout
A bolt circle pattern — evenly spaced holes around a circle, common on motor mounts, flanges, and enclosure lids — is pure trigonometry once you know the circle's diameter and the number of holes. For N holes evenly spaced around a circle of radius R, the angle between each hole is 360°/N, and the X,Y position of hole number k (starting from 0) relative to the circle's center is X = R × cos(k × 360°/N) and Y = R × sin(k × 360°/N). This is exactly what a NEMA17 stepper's four mounting holes or a standard flange bolt pattern follow, and it's worth being able to compute by hand when you're reverse-engineering a mounting pattern from a part in hand rather than a datasheet — measure the bolt circle diameter with calipers, count the holes, and the formula gives you every hole position for a CAD sketch or a manually-drilled layout.
Holes (N)Angle between holesCommon use 3120°Small flange mounts, tripod plates 490°NEMA stepper mounts, standard enclosure lids 660°Larger flange patterns, pulley mounts 845°Speaker mounts, larger circular panelsFeeds, Speeds, and Chip Load — The Core Formula
CAM software calculates this for you, but understanding the underlying relationship is what lets you sanity-check a generated feed rate or adjust on the fly when you swap tooling. Feed rate (in/min or mm/min) equals chip load per tooth × number of flutes × spindle RPM. If a bit's datasheet recommends a 0.003" chip load, you're running a 2-flute bit, and your spindle is at 18,000 RPM, the feed rate works out to 0.003 × 2 × 18,000 = 108 in/min. This formula is also the fastest way to catch a CAM setting that's obviously wrong before you cut — if a generated feed rate implies a chip load 5-10x higher or lower than the bit manufacturer's recommendation for your material, something in the CAM setup (wrong flute count, wrong units, wrong RPM) needs fixing before you commit to the cut.
Angles for Miters, Chamfers, and Enclosure Panels
A mitered box corner needs each panel cut at half the total corner angle — for a standard 90° box corner, that's a 45° miter on each panel, but for a hexagonal enclosure with six 120° interior corners, each panel needs a 60° miter (half of 120°). More generally, for an N-sided regular polygon enclosure, the miter angle per panel is 90° − (180°/N) — this generalizes the "half the corner angle" rule and is the formula to reach for whenever you're laser-cutting or CNC-cutting panels for a non-rectangular enclosure. Chamfer callouts on drawings are usually given as a distance and an angle (e.g., "3mm × 45°"), and converting that to a depth-of-cut for a chamfer mill is straightforward trigonometry: cut depth = chamfer distance × tan(chamfer angle), which for a standard 45° chamfer conveniently simplifies to cut depth equaling the chamfer distance itself.
Unit Conversions That Actually Come Up
The maker world straddles imperial and metric constantly — American lumber and fasteners in inches, most electronics and 3D printer specs in millimeters, and datasheets that mix both depending on country of origin. A handful of conversions are worth having memorized rather than looked up every time: 1 inch = 25.4mm exactly (this is the one to actually memorize, since it's exact, not approximate), 1mm = 0.03937", and for thread pitch conversions, TPI (threads per inch, imperial) relates to metric pitch by pitch(mm) = 25.4/TPI — a 1/4"-20 bolt (20 TPI) has a metric-equivalent pitch of 25.4/20 = 1.27mm per thread, which is why 1/4"-20 hardware doesn't interchange with M6x1.0 hardware despite the diameters being close.
ConversionFormulaNote Inches to mmin × 25.4Exact, not approximate TPI to metric pitch25.4 / TPIThreads per inch, not threads per mm RPM to surface speed (SFM)RPM × diameter(in) × π / 12Useful for lathe/mill spindle speed selection Fahrenheit to Celsius(°F − 32) × 5/9Common when a filament or resin spec is listed in only one scaleSurface Speed for Lathe and Mill Work
For anyone stepping into a benchtop lathe or manual mill after coming from 3D printing or CNC routing, surface speed (SFM, surface feet per minute) is the concept that replaces the router-world's "just look up a feed and speed chart" approach — it's the speed the cutting edge actually travels through the material regardless of the tool's diameter, and it's what material cutting-speed tables are actually built around. The formula converting a target SFM to a spindle RPM for a given tool or workpiece diameter is RPM = (SFM × 12) / (π × diameter in inches) — a 1" diameter aluminum workpiece targeting 300 SFM on a lathe calls for roughly (300 × 12) / (π × 1) ≈ 1146 RPM. This is the calculation every lathe and mill speed chart is built from, and it's worth being able to derive rather than just look up, because it also tells you how spindle speed should change as a workpiece diameter changes during a facing or turning operation.
Safety
None of this math carries a direct safety hazard on its own, but a wrong feed-rate or spindle-speed calculation absolutely does — an RPM set too high for a given tool diameter and material on a lathe or mill can cause a workpiece to fly loose from the chuck, and a feed rate wildly mismatched to chip load on a CNC router is one of the more common causes of bit breakage that sends a broken carbide fragment flying. Treat any hand-calculated feed, speed, or spindle setting the same way you'd treat a CAM-generated one: sanity check it against the tool manufacturer's published range before committing, and run a test cut in scrap material whenever the numbers are new to you.
None of these formulas replace the software that normally does this work, but knowing them turns "the CAM software says so" into "the CAM software says so, and that matches what I'd expect" — a distinction that matters the first time a piece of software gets a unit conversion or a default wrong and you need to catch it before it costs you a workpiece or a tool.
Related Guides
- Feeds, Speeds, and Chip Load for Hobby CNC
- CNC Routing: Optimizing Chip Load for 6061 Aluminum
- CNC Router Feeds and Speeds for Wood: A Beginner's Guide
- CNC Feeds and Speeds Explained: Chip Load, RPM, and Reading the Cut
- Machining Brass and Copper on a Desktop CNC Router: Feeds, Chip Control, and Finishing
- Fastener and Thread Reference for Makers: Metric vs. Imperial, Tap and Drill Charts, and Torque Basics
- Workshop — Feeds and Speeds Quick Reference