Rack and pinion design
Pre-size a rack-and-pinion drive for a linear axis: module, pinion tooth count, helix angle and travel speed, together with the feed force (direct or derived from mass, friction, acceleration and process force), yield the pinion torque, power, the gear mesh force breakdown (normal, radial and axial force) and a module pre-sizing estimate with traffic-light rating.
Calculation
The estimate does not replace a load capacity verification per ISO 6336 (see spur gear calculator). Lubrication, wear and guide stiffness are manufacturer-specific and not included here.
Kinematics
- Pitch diameter d
- 40 mm
- Feed per revolution u
- 125.66 mm/U
- Pinion speed n
- 238.7 1/min
Forces and power
- Feed force F
- 596 N
- Pinion torque M
- 11.92 Nm
- Power P
- 0.298 kW
- Normal force Fn
- 634 N
- Radial (separating) force Fr
- 217 N
- Axial force Fa
- 0 N
Module pre-sizing
- Selected module m
- 2 mm
- Required module m_erf
- 0.467 mm
- Allowable tooth root stress sigma_Fzul
- 310 N/mm²
Sketch: pinion on the rack with feed force F and separating force Fr (schematic)
Your inputs stay in your browser - all calculations run locally, nothing is sent to a server.
Formulas and fundamentals
Kinematics: Pitch Diameter and Feed
The pinion rolls on the rack, so the pitch diameter follows from the module and tooth count - for helical gearing enlarged by the helix angle beta:
One full pinion revolution moves the carriage by the pitch circle circumference (feed per revolution u = pi·d). From the required travel speed v, the pinion speed follows:
Feed Force from the Application
The feed force F can be entered directly or derived from the application data: moving mass, guide friction coefficient, acceleration and an additional process force (e.g. a machining force). In a horizontal installation, the friction force from the dead weight adds to the acceleration and process force:
In a vertical installation the drive force must additionally lift the dead weight; guide friction is neglected here as a simplification:
Pinion Torque and Power
From the feed force and the pitch radius the required pinion torque follows, and from force and speed the drive power:
Force Breakdown at the Gear Mesh
The feed force F is at the same time the tangential (circumferential) force Ft at the mesh. At the normal pressure angle alpha_n = 20°, this splits into the normal force actually acting on the tooth and the radial force that pushes pinion and rack apart (important for sizing the linear guide):
Only with helical gearing (beta > 0) does an additional axial force occur along the rack axis, which likewise must be carried by the guide or a fixed bearing:
Helical gearing is mainly used at high travel speeds: the slanted tooth engagement increases the effective contact ratio, so several teeth carry the load at once, making the drive noticeably quieter and reducing shock excitation - the price is the additional axial force.
Module Pre-Sizing (Estimate)
The required module is estimated using the common Roloff/Matek approximation for tooth root load capacity: with the application factor KA (shock and running-irregularity allowance, guideline 1.25), the face width ratio psi_m = b/m (guideline 10), a lumped form factor Y_F ≈ 2.2, and the allowable tooth root stress sigma_Fzul of the chosen material:
The material guideline values (C45 quenched and tempered 160 N/mm², 16MnCr5 case-hardened 310 N/mm², cast-iron (GJL) rack 40 N/mm²) are conservative, fatigue-strength tooth root values for the estimate - not a substitute for a load capacity verification. For a standard-compliant design with material, manufacturing and life factors, see the spur gear calculator per ISO 6336.
Worked example
Reference example: A horizontally installed rack-and-pinion drive with module m = 2 mm, pinion tooth count z = 20 (spur, beta = 0°) and a travel speed v = 30 m/min moves a carriage with mLast = 200 kg, friction coefficient mu = 0.1 and acceleration a = 2 m/s² (no additional process force). The pitch diameter is d = 2·20/cos(0°) = 40 mm, the feed per revolution u = pi·40 = 125.66 mm/rev, and the pinion speed n = 1000·30/125.66 = 238.7 rpm.
The feed force in the horizontal case is F = 200·2 + 0.1·200·9.81 + 0 = 400 + 196.2 = 596.2 N. From this follow pinion torque M = 596.2·40/2000 = 11.92 Nm and power P = 596.2·30/60000 = 0.298 kW. At the mesh, besides the tangential force Ft = 596.2 N, the normal force is Fn = 596.2/cos(20°) = 634.5 N and the radial (separating) force Fr = 596.2·tan(20°) = 217.0 N; no axial force arises with spur gearing (Fa = 0).
For the material 16MnCr5 case-hardened (sigma_Fzul = 310 N/mm²) with application factor KA = 1.25 and face width ratio psi_m = 10, the module estimate gives m_erf = sqrt(2·1.25·596.2/(10·310·2.2)) = 0.47 mm. The chosen module m = 2 mm is well above the requirement - green rating, with a clear margin for shock loads and wear.
Frequently asked questions
Rack and pinion or ball screw - which drive for which case?
A rack-and-pinion drive is practically unlimited in travel length (racks are joined end to end) and is particularly suited to long axes and high speeds, since the moving mass does not increase with travel length. A ball screw achieves higher positioning accuracy and stiffness over short to medium axis lengths, but is limited in length and speed by the screw's critical speed. Rule of thumb: short, precise axes -> ball screw; long axes and gantries -> rack and pinion.
Why is helical gearing used at high travel speeds?
With spur gearing, a tooth enters and leaves mesh abruptly - this excites vibration and noise, especially at high speed. The slanted tooth flank of helical gearing makes each tooth's engagement start and end gradually, while the next tooth is already engaging (higher contact ratio). The load transfer becomes smoother and the drive runs noticeably quieter - the downside is the additional axial force Fa, which must be supported.
What is the separating force (radial force) and why does it matter?
The radial force Fr arises from the pressure angle of the gearing and acts perpendicular to the rack - it pushes pinion and rack apart. This force must be fully absorbed by the linear guide (carriage/rail), since it does not contribute to the feed motion. In guide sizing it is often more decisive than the feed force F itself, since it acts continuously and usually one-sidedly on the guide carriages.
Should the pinion be chosen as small or as large as possible?
A small pinion (few teeth) produces a smaller torque for a given feed force and requires a higher speed - favorable for compact drives, but the smaller pitch circle increases the edge pressure at the tooth mesh and the mesh forces act on a shorter lever arm. A large pinion runs more smoothly and loads the gearing more favorably, but needs more installation space and, for a given speed, a lower and often less efficient rotational speed. In practice, 15 to 25 teeth is a common compromise.
How accurate is the module estimate - does it replace a load capacity verification?
No. The estimate used here (a Roloff/Matek approximation with a lumped form factor Y_F and conservative tooth root values) gives a quick figure for pre-sizing, but does not replace a load capacity verification per ISO 6336 with material-, geometry- and operation-specific factors (load distribution, support factor, fatigue strength values for the actual heat treatment state). For releasing a production drive, use the spur gear calculator per ISO 6336 or a manufacturer's sizing.
How is the backlash between pinion and rack adjusted?
Since the rack and pinion are manufactured and assembled with clearance, reversal backlash occurs without preloading, causing positioning errors when the load direction changes. A common solution is an adjustable pinion bearing (eccentric bushing or slotted hole) that finely adjusts the center distance to minimize backlash - dual-pinion drives instead often use a second pinion preloaded against the first (backlash-free drive).
Related tools
Drive Sizing Calculator
Pro exportSize the complete drivetrain: motor, gearbox, inertias and torques in a single calculator.
Gear calculation ISO 6336
Pro exportCalculate the load capacity of spur gears per ISO 6336.
Ball Screw
Pro exportSize a ball screw: drive torque, speed from feed rate, critical speed with bearing factor, DN value, Euler buckling load and L10 life with traffic-light rating.