Mechanical
Rack and Pinion
Converting rotational motion into linear motion through meshing teeth
A rack and pinion is a pair of meshing gears where one is a circular pinion and the other is a flat (or curved) rack of teeth. The pinion's rotation drives the rack along its length, converting rotary motion into linear motion (or vice versa). The mechanism is direct, stiff, and capable of high force, which is why it dominates automotive steering, CNC linear axes, and rack railways. Linear travel per pinion revolution equals the pitch circumference of the pinion. The trade-off is that a rack must be as long as the desired travel and cannot store energy or move faster than the pinion's tangential speed.
- Linear per revπ × d_pitch
- Mechanical advantager_handle / r_pinion
- Common useSteering, CNC, lifts
- Efficiency90-95% with good lubrication
- Tooth profileInvolute (standard)
- Key trade-offTravel limited by rack length
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
Why rack and pinion matters
- Automotive steering. Standard on virtually all passenger cars.
- CNC machinery. Long-axis travel without ball screw whip.
- Mountain railways. Climbing grades too steep for friction.
- Lifts and elevators. Construction hoists, scissor lifts.
- Telescopes. Coarse focusing on large astronomical instruments.
- Industrial doors. Garage door openers, factory bay doors.
- Robotics. Linear axes when long travel matters more than speed.
Common misconceptions
- Force scales freely. Tooth root strength sets a hard limit; oversize loads break teeth.
- No maintenance. Lubrication is essential; dry racks wear teeth quickly.
- Backlash is negligible. CNC accuracy demands anti-backlash measures.
- Always reversible. True for low ratios; high-ratio worm-style racks can self-lock.
- Stiffer than ball screws. Comparable axially but inferior radially.
- Same as gear rack. Specialized profiles exist (helical, involute, circular pitch).
Frequently asked questions
How does it work?
A round pinion gear meshes with a flat toothed rack. As the pinion rotates, each tooth pushes against the next rack tooth, propelling the rack along its length. Linear distance traveled per pinion revolution equals the pinion's pitch circumference (π × d). Reverse the direction of rotation and the rack moves the other way. The motion is direct and backlash-controllable.
Why is it used in steering?
Direct, compact, and stiff. Turning the steering wheel rotates a pinion that drives a rack connected to tie rods, which steer the front wheels. Compared to the older recirculating ball box, rack and pinion gives better steering feel and faster response. Most passenger cars built since the 1980s use it. Power assist is added via hydraulic or electric actuation on the rack.
What's the mechanical advantage?
The ratio of input to output force depends on the radii involved. A larger steering wheel or longer hand crank multiplies operator force at the pinion. The pinion then exerts that torque divided by its pitch radius as linear force on the rack. Smaller pinion: more force, slower travel per turn. Trade-off between speed and force.
What's backlash and why does it matter?
Clearance between mating teeth. Some is required to prevent binding, but excess causes lost motion when reversing direction. In CNC machines, backlash leads to position errors and chatter. Anti-backlash designs use split pinions, preloaded racks, or helical teeth that engage smoothly. High-precision applications use ground racks with measured backlash under 0.05 mm.
Why use helical teeth?
Helical (angled) teeth engage gradually rather than all at once, reducing noise and vibration. They also distribute load across more teeth, increasing capacity. The downside is axial thrust on the pinion, requiring thrust bearings. Spur (straight) teeth are simpler and cheaper but noisier. Most modern CNC and high-end automotive racks use helical teeth.
What's a rack railway?
Mountain trains use a powered pinion that engages a toothed rack laid between the running rails. This provides traction on grades steeper than steel-on-steel friction can handle (above about 7%). Famous examples include the Pilatus Railway in Switzerland, which climbs 48% grades. The rack ensures the train cannot slip backward even if power fails.
How is it manufactured?
Racks are typically hobbed or milled from steel bar, then hardened and ground for precision. Pinions are cut by hobbing, shaping, or generating, then heat treated. Modern CNC systems use ground racks with profile-corrected teeth for accuracy under 0.01 mm. Cheaper applications (toy steering) use injection-molded plastic with tolerances measured in tenths of a millimeter.