Rack and Pinion Calculator
Free rack and pinion calculator. Compute pinion pitch diameter, linear travel per revolution, linear velocity and rack thrust from module, pinion teeth, speed and torque. SI and imperial (module/DP), with diagram.
Rack and Pinion Calculator
Rack and Pinion Inputs
Tooth size
≥17 at 20° PA
Optional
Optional
Linear Travel / Rev
125.66mm
Pinion pitch diameter d = 40 mm.
Valid geometry; add speed and torque for linear velocity and rack force.40mm
6.283mm
44mm
2.094m/s
500N
40mm
m·z
6.283mm
π·m
44mm
d + 2m
2.094m/s
π·d·n/60
500N
2T/d
Result Summary
| Module | 2 mm |
| Pinion Teeth | 20 |
| Pitch Diameter | 40 mm |
| Outside Diameter | 44 mm |
| Circular Pitch | 6.283 mm |
| Travel / Rev | 125.66 mm |
| Linear Velocity | 2.094 m/s |
| Rack Force | 500 N |
Interactive Diagram
The rack advances by the pinion circumference per revolution; tooth spacing equals π·m.
Visualizations
Pinion Dimensions
Formula
A rack and pinion is a rotary-to-linear transformer. The pinion pitch diameter is d = m·z exactly like a spur gear. One full revolution advances the rack by the pinion pitch circumference π·d, so travel per turn is fixed by pinion size. Linear velocity follows from input rpm, and the rack thrust follows from input torque by F = 2T/d.
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| m | Module | mm | Tooth size (pinion = rack) |
| z | Pinion teeth | — | Number of pinion teeth |
| d | Pitch diameter | mm | m·z |
| p | Circular pitch | mm | π·m (rack spacing) |
| n | Speed | rpm | Pinion speed |
| T | Torque | N·m | Pinion input torque |
| v | Velocity | m/s | Linear speed |
| F | Rack force | N | 2T/d thrust |
Explanation
Because the rack is just a gear of infinite radius, each pinion turn pulls the rack forward by exactly the pitch circumference π·d. Doubling z (and d) doubles travel per turn but halves the force for the same torque — a direct speed/force trade. Unlike a worm, the motion is reversible and efficient (~95–98%), but it has backlash and is not self-locking.
Derivation
d = m·z. Per revolution the contact point travels one circumference, so linear advance s = π·d. With rotational speed n (rpm), angular speed ω = 2πn/60 rad/s and v = ω·(d/2)/1000 = π·d·n/(60·1000) m/s (d in mm). Tangential force at the pitch circle: T = F·(d/2) → F = 2T/d (d in m). Circular pitch p = π·m and rack addendum = m, dedendum = 1.25m.
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Pinion pitch diameter.
Linear travel per revolution.
Circular pitch.
Linear velocity from input speed.
Rack thrust from input torque.
Worked Examples
See how the calculator works with different scenarios.
Scenario
m = 2 mm, z = 20, n = 1000 rpm, T = 10 N·m.
Inputs
Calculation
d = 40 mm; travel/rev = π·40 = 125.7 mm; v = π·40·1000/60000 = 2.09 m/s; F = 2·10/0.04 = 500 N
Result
125.7 mm/rev, 500 N
Interpretation
A standard 40 mm pinion converts 10 N·m into 500 N of linear thrust and 2.09 m/s.
Understanding Your Result
Your Result: 125.66 mm
Typical range: Travel/rev 125.7 mm; velocity 2.094 m/s; force 500 N. Keep pinion teeth ≥ 17 (20° PA) to avoid undercut.
What This Means
This pinion (d = 40 mm, 20 teeth) advances the rack 125.66 mm per turn, moving at 2.094 m/s and pushing 500 N.
Why It Matters
Rack and pinion turns motor rotation into precise linear travel. Knowing travel per turn, velocity and force lets you size the motor, choose pinion teeth for the needed resolution, and confirm stiffness against the required thrust.
Professional Interpretation
Rate tooth bending/pitting per AGMA 2001 / ISO 6336 using m and z. Account for backlash (anti-backlash pinion) and support stiffness. Force ≈ 500 N at the pinion; velocity ≈ 2.094 m/s.
Travel per rev
125.66 mm
Circular pitch
6.283 mm
Outside diameter
44 mm
Recommendations
- •Keep pinion teeth ≥ 17 (20° PA) to avoid undercut.
- •Use an anti-backlash pinion for precision positioning.
- •It is not self-locking — add a brake to hold position.
- •Rate tooth strength per AGMA/ISO separately.
- •Match rack support stiffness to the required force.
Educational Content
Introduction
A rack and pinion is the simplest way to turn rotation into straight-line motion. This calculator gives the pinion diameter, the exact linear travel per revolution, the velocity from your input speed, and the rack thrust from your input torque — with a module/DP unit toggle.
Concept Explanation
The pinion is a spur gear: d = m·z. Meshed with the rack, one revolution moves the rack by its pitch circumference π·d. Linear velocity v = π·d·n/60 (mm/s), and the rack thrust from torque is F = 2T/d. The rack tooth pitch equals the pinion circular pitch p = π·m; addendum is m, dedendum 1.25m.
Applications
Benefits
- •Exact rotary-to-linear conversion
- •High stiffness and speed
- •Reversible (unlike a worm)
- •Simple, low-cost, easy to align
- •Module/DP consistent
Limitations
- •Backlash → lost motion
- •Not self-locking
- •Need support for long racks
- •No strength rating here
- •Stiffness depends on mounting
Best Practices
- •Use an anti-backlash pinion for accuracy
- •Keep teeth ≥ 17 at 20° PA
- •Add a brake if position must hold
- •Rate teeth per AGMA/ISO
- •Support the rack to limit deflection
Common Misconceptions
Practical Tips
- •Travel/rev 125.7 mm.
- •Rack force 500 N.
- •Keep pinion teeth ≥ 17 to avoid undercut.
- •Not self-locking — add a brake to hold.
- •Use anti-backlash pinion for precision.
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What is a rack and pinion?
How far does the rack move per pinion turn?
How is pinion diameter calculated?
What is the rack tooth pitch?
What is the linear velocity?
How is rack force calculated?
What is the pinion outside diameter?
What is the mechanical advantage?
Why use rack and pinion?
What are the disadvantages?
What is backlash?
What materials are used?
What is the difference from a leadscrew?
What is a rack module?
How do I choose pinion teeth?
What is the minimum pinion teeth?
What is the efficiency?
Can it be back-driven?
What is the AGMA standard?
What lubrication is needed?
What is the stroke length?
How accurate is it?
What are typical applications?
What is the force if I know the motor torque?
What speed if I know rpm?
Can the ratio be changed?
What is a helical rack?
What is the cost?
What failures occur?
How do I reduce backlash?
Does the calculator include force and speed?
Related Calculators
Explore more calculators related to this topic.
Next Logical Steps
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- Travel / Rev
- Linear advance per pinion turn = π·d.
- Circular Pitch (p)
- π·m; rack tooth spacing.
- Pitch Diameter (d)
- m·z of the pinion.
- Outside Diameter
- d + 2m (addendum = m).
- Rack Force (F)
- 2T/d; thrust on the rack.
- Backlash
- Flank clearance; lost motion.
- Anti-backlash
- Spring-loaded dual pinion.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
August 2026
2.1.0
Free to use for educational and professional purposes.