Design guides · 4 calculators
Selection guides
Practical selection guides for the parts every machine needs, each with a working calculator. Units are mm, N, MPa and rpm unless stated. For 18 more calculators, open MechMate.
The theory behind these guides (failure theories, fatigue, shafts, gears, joints, brakes, clutches and springs) is on the Machine Design page.
Guide 1
How to select a ball screw
A ball screw turns motor rotation into linear motion at about 90% efficiency. Selection is a loop: guess a lead and diameter, then check them against life, critical speed, buckling, DN limit and motor torque. Light axes are almost never limited by life; they fail on critical speed first.
Step 1. Write down the duty
- Moving mass m (table + workpiece + fixtures), orientation (horizontal or vertical).
- Maximum speed Vmax, acceleration time ta, stroke, and how many strokes per minute.
- External axial force (cutting, pressing), guide friction coefficient μ (about 0.003–0.01 for profile rail guides, 0.1–0.2 for plain slides).
- Positioning accuracy and required life in hours.
Step 2. Pick the lead
lead l ≥ V_max × 60 / N_max (l in mm, V in mm/s, N_max = motor max rpm)
A shorter lead gives more thrust and resolution per motor rev, but a higher screw speed for the same table speed. Common leads: 2, 4, 5, 10, 16, 20, 25, 32 mm.
Step 3. Axial load in each phase of the move
Horizontal: base = μ·m·g + F_ext Vertical: base = m·g + F_ext
Accelerating F1 = base + m·a
Constant F2 = base
Decelerating F3 = base − m·a (a = V_max / t_a)
Then the mean (cubic) load, weighted by the distance travelled in each phase:
F_m = ( (F1³·s1 + F2³·s2 + F3³·s3) / (s1 + s2 + s3) )^(1/3)
Step 4. Rated life
L (rev) = ( C_a / (f_w · F_m) )³ × 10⁶
L_h (hours) = L / (60 · n_m) n_m = mean screw speed, rpm
Ca is the basic dynamic load rating from the catalogue. Load factor fw: 1.0–1.2 smooth motion, 1.2–1.5 normal, 1.5–2.0 with shock and vibration. Typical targets: machine tools 20,000 h, industrial machines 10,000 h, automation and measuring equipment 15,000 h.
Step 5. Critical (whirling) speed
N_c = λ · d_r / L_b² × 10⁷ (rpm, already includes a 0.8 safety factor)
dr is the root (minor) diameter and Lb the distance between supports. Keep the operating speed below Nc. If it fails, use a fixed–supported or fixed–fixed mounting, a larger diameter, a longer lead, or a rotating nut.
Step 6. Buckling
P_buckle = η · d_r⁴ / L_a² × 10⁴ (N, includes a 0.5 safety factor)
La is the distance from the nut (at its worst position) to the bearing that takes the thrust. Only compressive loads buckle the screw, but check the peak load anyway.
| Mounting | λ (critical speed) | η (buckling) | Typical use |
| Fixed – free | 3.4 | 1.3 | Short vertical axes, cheap kits |
| Supported – supported | 9.7 | 5.0 | Rarely; low cost |
| Fixed – supported | 15.1 | 10.0 | Most CNC routers and printers (BK + BF blocks) |
| Fixed – fixed | 21.9 | 20.0 | Long, fast or stiff axes; can be pre-tensioned |
Fixed = a pair of angular contact bearings that take thrust both ways. Supported = a single deep groove bearing free to float axially.
Step 7. DN value and accuracy grade
DN = d₀ × n ≤ 70,000 (rolled screws; precision ground screws often 100,000–160,000)
Accuracy grade: rolled C7 (±0.05 mm per 300 mm) is fine for routers, printers and vending machines. Ground C5 or better for machine tools and metrology. Add preload (double nut or oversize balls) only when you need zero backlash; it adds friction torque and heat.
Step 8. Motor torque
T_load = F_max · l / (2π · η) η ≈ 0.9
T_accel = (J_screw + J_coupling + J_motor) · α α = 2π · n / (60 · t_a)
J_screw = π · ρ · L · d₀⁴ / 32 ρ = 7850 kg/m³
The table mass is already in Fmax through the m·a term, so do not add its reflected inertia twice. Size the motor so the total is below its torque at the operating speed with a margin of 1.5–2 for steppers.
Ball screw calculator
The defaults are a 16 mm, 10 mm lead rolled screw on a 30 kg table. Note that it passes on life by a huge margin but sits right at its critical speed: shorten the span, go fixed–fixed, or move to a 20 mm screw. Take Ca and the root diameter from your supplier's catalogue; they vary between makers.
Guide 2
Bolts and nuts
A bolted joint works by clamping. The bolt is a spring stretched by tightening; the preload squeezes the parts together, and the joint carries load through that clamp force and the friction it creates. Get the preload right and most of the external load never reaches the bolt.
Property classes (ISO 898-1)
| Class | UTS, MPa | Yield, MPa | Proof stress, MPa | Matching nut | Use |
| 4.6 | 400 | 240 | 225 | Class 4 / 5 | Non-structural, mild steel |
| 8.8 | 800 | 640 | 580 | Class 8 | General machine building (default) |
| 10.9 | 1000 | 940 | 830 | Class 10 | High clamp force, compact joints |
| 12.9 | 1200 | 1100 | 970 | Class 12 | Socket head cap screws, high-strength |
| A2-70 / A4-70 | 700 | 450 | — | A2 / A4 | Stainless: food contact, wet areas (A4 for chlorides) |
Values are for d ≤ 16 mm; 8.8 is slightly higher above M16. The class reads as UTS/100 and yield/UTS: 8.8 means 800 MPa UTS and yield at 0.8 × 800.
Metric coarse thread data
| Size | Pitch | Stress area As, mm² | Tap drill | Clearance (fine / medium) |
| M3 | 0.5 | 5.03 | 2.5 | 3.2 / 3.4 |
| M4 | 0.7 | 8.78 | 3.3 | 4.3 / 4.5 |
| M5 | 0.8 | 14.2 | 4.2 | 5.3 / 5.5 |
| M6 | 1.0 | 20.1 | 5.0 | 6.4 / 6.6 |
| M8 | 1.25 | 36.6 | 6.8 | 8.4 / 9.0 |
| M10 | 1.5 | 58.0 | 8.5 | 10.5 / 11 |
| M12 | 1.75 | 84.3 | 10.2 | 13 / 13.5 |
| M16 | 2.0 | 157 | 14.0 | 17 / 17.5 |
| M20 | 2.5 | 245 | 17.5 | 21 / 22 |
| M24 | 3.0 | 353 | 21.0 | 25 / 26 |
Preload and tightening torque
Proof load F_p = A_s × proof stress
Preload F_i = 0.75 F_p (reusable joints) 0.90 F_p (permanent)
Torque T = K · F_i · d
The nut factor K carries all the friction uncertainty: about 0.20 for plain dry steel, 0.15–0.18 for zinc plated or lightly oiled, 0.12 with moly grease. A torque wrench gives ±25% preload scatter at best, which is why the design checks below keep margin.
Tension joints: separation and bolt load
Joint constant C = k_b / (k_b + k_m) ≈ 0.2–0.3 for steel parts with a steel bolt
Bolt load F_b = F_i + C · P
Separation happens when P ≥ F_i / (1 − C)
Only the fraction C of the external load P adds to the bolt; the rest unloads the clamped parts. This is why a well-preloaded bolt survives fatigue: it sees a small stress swing.
Shear joints: let friction carry it
Slip resistance per bolt = μ_s · F_i · (number of friction faces) μ_s ≈ 0.2 clean machined steel
Design machine joints so friction carries the shear. If the joint slips, the bolt bends and loosens. Where position matters, add dowel pins (H7/m6) and let the bolts only clamp.
Thread engagement, locking, and practice
- Engagement length: steel nut 0.8d; tapped steel 1.0–1.5d; cast iron 1.5d; aluminium 2d (or use a helicoil insert).
- Locking: correct preload is the main defence. Then wedge-locking washers or a medium threadlocker (e.g. Loctite 243) for vibration. Split spring washers do not stop vibration loosening.
- Use a hardened washer under the head on aluminium or plastic so the surface does not embed and lose preload.
- Long, thin bolts hold preload better than short fat ones: more stretch for the same embedding loss.
- In vending and food machines use A2 or A4 stainless, and avoid mixing stainless bolts in aluminium where wet (galvanic corrosion), or isolate them.
Guide 3
Bearing selection
Choose the type from the loads and space you have, then size it for life, then choose the fits, clearance, seals and lubrication.
Step 1. Choose the type
| Type | Radial | Axial | Speed | Notes |
| Deep groove ball (60xx, 62xx) | Good | Moderate, both ways | High | The default. Cheap, sealed versions (2RS, ZZ) |
| Angular contact ball (70xx, 72xx) | Good | High, one way | High | Use in pairs (back-to-back for stiffness); ball screw fixed end |
| Cylindrical roller (NU, N, NJ) | Very high | None / little | High | Floating end of a shaft |
| Tapered roller (302xx, 322xx) | Very high | High, one way | Medium | Pairs, adjustable preload; wheel hubs, gearboxes |
| Spherical roller (222xx) | Very high | Moderate | Medium | Tolerates 1–2° misalignment; heavy machinery |
| Self-aligning ball (12xx) | Moderate | Light | High | Long shafts that deflect |
| Needle roller | High | None | Medium | Very small radial section |
| Thrust ball (511xx) | None | High, one way | Low | Pure axial, turntables |
Step 2. Equivalent dynamic load
P = X · F_r + Y · F_a
Deep groove ball: if F_a / F_r ≤ e → P = F_r
else → P = 0.56 F_r + Y · F_a
e and Y depend on f₀·Fa/C₀ (f₀ is the calculation factor in the catalogue, about 12–16):
| f₀·Fa/C₀ | 0.172 | 0.345 | 0.689 | 1.03 | 1.38 | 2.07 | 3.45 | 5.17 | 6.89 |
| e | 0.19 | 0.22 | 0.26 | 0.28 | 0.30 | 0.34 | 0.38 | 0.42 | 0.44 |
| Y | 2.30 | 1.99 | 1.71 | 1.55 | 1.45 | 1.31 | 1.15 | 1.04 | 1.00 |
Normal internal clearance. Other bearing types have their own X, Y in the catalogue.
Step 3. Basic rating life
L₁₀ = (C / P)^p million revolutions, p = 3 ball, 10/3 roller
L₁₀h = 10⁶ / (60 · n) × L₁₀ hours
L_nm = a₁ · L₁₀ a₁ = 1 (90% reliability), 0.64 (95%), 0.25 (99%)
| Machine | L₁₀h target, h |
| Household appliances, occasional use | 300 – 3,000 |
| Short or intermittent use (hand tools, lifts) | 3,000 – 8,000 |
| 8 hours a day, not always fully used (gearboxes, vending machines) | 10,000 – 25,000 |
| 8 hours a day, fully used (machine tools, conveyors) | 20,000 – 30,000 |
| Continuous 24 h (fans, pumps, compressors) | 40,000 – 60,000 |
Step 4. Static check
Deep groove ball: P₀ = 0.6 F_r + 0.5 F_a (but not less than F_r)
s₀ = C₀ / P₀ ≥ 1 normal, ≥ 2 shock or quiet running, ≥ 0.5 slow smooth rotation
Step 5. Fits, arrangement, lubrication
- The ring that rotates relative to the load gets the interference fit. Rotating shaft: shaft k5/k6 (light loads j6, heavy m6), housing H7. Rotating housing (wheel hubs): housing N7/P7, shaft g6/h6.
- Locate one bearing axially on both rings (fixed end) and let the other float, so thermal growth does not load the bearings.
- Shaft shoulder radius must be smaller than the bearing chamfer; check the catalogue abutment diameters.
- Sealed and greased-for-life (2RS) suits most garage projects. Use ZZ shields where speed is high and dirt is low. Food machines need food-grade (NSF H1) grease and stainless bearings where washed down.
- Speed: keep below the catalogue limiting speed; for sealed bearings the seal speed limit is usually lower.
Bearing life calculator
Defaults: a 6205 deep groove bearing (C 14.8 kN, C₀ 7.8 kN, f₀ 14). Check the ratings for the exact bearing in your supplier's catalogue.
Guide 4
Tolerances and GD&T
A tolerance is a promise about what the part must do. Tighten only the features that locate, seal, slide or carry load; give everything else a general tolerance. Each step tighter roughly doubles machining cost.
General tolerances
Put one note in the title block, such as ISO 2768-mK: medium linear tolerances (e.g. ±0.1 for 6–30 mm, ±0.2 for 30–120 mm, ±0.3 for 120–400 mm) and class K geometric tolerances. Then only dimension the critical features explicitly.
Fits (ISO 286, hole basis)
Hole basis means the hole is H (lower deviation zero) and you change the shaft letter. Reamers and boring tools come in H7, which keeps tooling simple.
| Fit | Type | Use |
| H7/f7 | Running clearance | Plain bearings, shafts turning in bushes |
| H7/g6 | Close sliding | Sliding gears, pistons, guide pins |
| H7/h6 | Locating clearance | Spigots, parts assembled by hand that must line up |
| H7/k6 | Transition | Bearing inner rings (light load), gears and pulleys with a key |
| H7/n6 | Transition / light interference | Firm location, assembly with a mallet or press |
| H7/p6 | Light press | Bushes, dowels into steel, parts that must not move |
| H7/s6 | Medium drive | Permanent assemblies, shrink fits, torque without keys |
Fit calculator
The GD&T symbols
| Group | Characteristic | Datum needed? | What it controls |
| Form | ⏤ Straightness | No | A line or axis stays inside a zone |
| ⏥ Flatness | No | A surface lies between two parallel planes |
| ○ Circularity | No | Each cross-section is round |
| ⌭ Cylindricity | No | The whole surface lies between two coaxial cylinders |
| Profile | ⌒ Profile of a line | Optional | A 2D curve against its true shape |
| ⌓ Profile of a surface | Optional | Any 3D surface; the most versatile control |
| Orientation | ⟂ Perpendicularity | Yes | 90° to a datum |
| ∥ Parallelism | Yes | Parallel to a datum |
| ∠ Angularity | Yes | Any other angle to a datum |
| Location | ⌖ Position | Yes | Where holes, pins and slots are, relative to datums |
| Runout | ↗ Circular runout | Yes | Wobble of each cross-section when rotated on the datum axis |
| ⌰ Total runout | Yes | Wobble of the whole surface; shafts with bearings and seals |
Concentricity and symmetry were removed from ASME Y14.5-2018. Use position or runout instead.
Datums: tell the inspector how the part sits
Datums A, B, C follow the 3-2-1 rule: the primary datum touches at three points (stops tilting), the secondary at two (stops rotating), the tertiary at one (stops sliding). Choose datums that are the surfaces the part actually mounts on in the assembly, not the ones easiest to measure.
Position and the bonus tolerance
±x / ±y tolerance gives a square zone; position gives a round one.
Equivalent position zone Ø = 2 · √(Δx² + Δy²) e.g. ±0.1 square → Ø0.28
The round zone has 57% more area than the square that fits inside it, so good parts are no longer rejected for being off on a diagonal. With the MMC modifier Ⓜ, the zone grows as the hole moves away from its smallest size: a Ø6.6 +0.1/0 hole with position Ø0.2 Ⓜ may be off by Ø0.3 when it measures Ø6.7.
Floating fasteners (clearance holes in both parts): T = H − F
Fixed fastener (tapped in one part): T = (H − F) / 2 for each part
H = hole size at MMC (smallest), F = fastener max diameter, T = position tolerance Ø
Example: M6 bolt through Ø6.6 holes in two plates, floating: T = 6.6 − 6.0 = Ø0.6 for each plate. If one plate is tapped instead, each part gets Ø0.3.
Tolerance stack-up
Walk the loop of dimensions from one side of the gap to the other. Dimensions that increase the gap are +, those that reduce it are −. Worst case adds every tolerance and guarantees assembly; RSS (root sum square) assumes random variation and is realistic once there are four or more parts in production.
Gap nominal = Σ (± dimensions)
Worst case = ± Σ tᵢ RSS = ± √(Σ tᵢ²)
Stack-up calculator
Default: a 50 mm housing with two 20 mm spacers and a 9.5 mm part inside. The gap must stay positive.
Formulas follow common catalogue practice (THK, NSK, SKF) and ISO 898-1, ISO 281, ISO 286. Ratings vary by maker: use your supplier's catalogue for final numbers, and have anything safety-critical checked by a qualified engineer.