Mechanical Garage
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

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 – free3.41.3Short vertical axes, cheap kits
Supported – supported9.75.0Rarely; low cost
Fixed – supported15.110.0Most CNC routers and printers (BK + BF blocks)
Fixed – fixed21.920.0Long, 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)

ClassUTS, MPaYield, MPaProof stress, MPaMatching nutUse
4.6400240225Class 4 / 5Non-structural, mild steel
8.8800640580Class 8General machine building (default)
10.91000940830Class 10High clamp force, compact joints
12.912001100970Class 12Socket head cap screws, high-strength
A2-70 / A4-70700450—A2 / A4Stainless: 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

SizePitchStress area As, mm²Tap drillClearance (fine / medium)
M30.55.032.53.2 / 3.4
M40.78.783.34.3 / 4.5
M50.814.24.25.3 / 5.5
M61.020.15.06.4 / 6.6
M81.2536.66.88.4 / 9.0
M101.558.08.510.5 / 11
M121.7584.310.213 / 13.5
M162.015714.017 / 17.5
M202.524517.521 / 22
M243.035321.025 / 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

Bolt calculator

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

TypeRadialAxialSpeedNotes
Deep groove ball (60xx, 62xx)GoodModerate, both waysHighThe default. Cheap, sealed versions (2RS, ZZ)
Angular contact ball (70xx, 72xx)GoodHigh, one wayHighUse in pairs (back-to-back for stiffness); ball screw fixed end
Cylindrical roller (NU, N, NJ)Very highNone / littleHighFloating end of a shaft
Tapered roller (302xx, 322xx)Very highHigh, one wayMediumPairs, adjustable preload; wheel hubs, gearboxes
Spherical roller (222xx)Very highModerateMediumTolerates 1–2° misalignment; heavy machinery
Self-aligning ball (12xx)ModerateLightHighLong shafts that deflect
Needle rollerHighNoneMediumVery small radial section
Thrust ball (511xx)NoneHigh, one wayLowPure 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.1720.3450.6891.031.382.073.455.176.89
e0.190.220.260.280.300.340.380.420.44
Y2.301.991.711.551.451.311.151.041.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%)
MachineL₁₀h target, h
Household appliances, occasional use300 – 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

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.

FitTypeUse
H7/f7Running clearancePlain bearings, shafts turning in bushes
H7/g6Close slidingSliding gears, pistons, guide pins
H7/h6Locating clearanceSpigots, parts assembled by hand that must line up
H7/k6TransitionBearing inner rings (light load), gears and pulleys with a key
H7/n6Transition / light interferenceFirm location, assembly with a mallet or press
H7/p6Light pressBushes, dowels into steel, parts that must not move
H7/s6Medium drivePermanent assemblies, shrink fits, torque without keys

Fit calculator

The GD&T symbols

GroupCharacteristicDatum needed?What it controls
Form⏤ StraightnessNoA line or axis stays inside a zone
⏥ FlatnessNoA surface lies between two parallel planes
○ CircularityNoEach cross-section is round
⌭ CylindricityNoThe whole surface lies between two coaxial cylinders
Profile⌒ Profile of a lineOptionalA 2D curve against its true shape
⌓ Profile of a surfaceOptionalAny 3D surface; the most versatile control
Orientation⟂ PerpendicularityYes90° to a datum
∥ ParallelismYesParallel to a datum
∠ AngularityYesAny other angle to a datum
Location⌖ PositionYesWhere holes, pins and slots are, relative to datums
Runout↗ Circular runoutYesWobble of each cross-section when rotated on the datum axis
⌰ Total runoutYesWobble 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.