Rack and Pinion Calculator: Travel, Speed and Force

← Back to Engineering Library

A rack and pinion does not create power: pinion pitch diameter, transmission ratio, and losses determine how motor torque and speed are exchanged for rack force and travel.

Use forward mode to estimate steady tangential rack force and speed from a known motor. Use reverse mode to estimate the shaft torque and RPM needed for a target rack force and speed. The model supports metric and imperial gear specifications and shows every substituted equation.

Rack and Pinion Calculator

Calculate pitch diameter, travel per revolution, rack speed, tangential force, and mechanical power. Ratio is defined as motor RPM divided by pinion RPM.

Calculation direction
Units
Enter a whole number. Low tooth counts may require profile correction.
Metric module equals pitch diameter in mm divided by tooth count.
Use torque available at the entered motor speed, not stall torque unless evaluating stall.
The calculator assumes this speed and the entered torque can occur together.
Example: enter 5 for a 5:1 speed reduction. Enter 1 for direct drive.
Use manufacturer data where available. 100% is an ideal loss-free upper bound.

Rack and pinion tradeoff visualizer

Change the pinion, torque, speed, ratio, and efficiency to see the same verified forward model used by the main calculator. Drag rotation to relate pinion angle to rack travel. The drawing is a normalized schematic, not a manufacturing profile or scale drawing.

Rack and pinion motion and force schematic A pinion turns against a straight rack. Labels report pitch diameter, rack travel per revolution, speed, and tangential force. NORMALIZED SCHEMATIC - NOT TO SCALE Pitch diameter 40 mm 1 rev = 125.66 mm rack travel F = 250 N Rack speed: 125,664 mm/min 20 teeth, module 2 mm, 1:1, eta 100%
20 teeth
2.0 mm
5.0 N m
1,000 rpm
1:1
100%
0 degrees
Rack speed125,664 mm/min
Steady force250 N
Travel / rev125.66 mm

At 0 degrees the schematic rack displacement is 0 mm. One full pinion revolution advances the rack 125.66 mm at the pitch line.

FIRGELLI Automations - interactive engineering calculator.

How to use the calculator

  1. Choose Motor to rack when motor torque and speed are known, or Rack to motor when the required rack force and speed are known.
  2. Select metric or imperial units. Metric geometry uses module in millimetres; imperial geometry uses diametral pitch in teeth per inch.
  3. Enter the pinion tooth count and pitch. Use the reference or pitch diameter from the supplier's drawing when checking the geometry.
  4. Enter the transmission ratio as motor RPM divided by pinion RPM. A value of 5 means a 5:1 speed reduction.
  5. Enter a combined mechanical efficiency. Use 100% only to calculate the ideal loss-free upper bound.
  6. Review the substituted equation, warnings, and limitations before using the result for preliminary sizing.

Pinion geometry and rack travel

Rack and pinion pitch diameter, rack travel, and tangential force relationship
The calculation uses the pinion reference diameter, not the outside diameter. The rack advances one reference-circle circumference per pinion revolution.

Rack and pinion equations

For a metric spur pinion, reference diameter is dp = m z. For an imperial pinion, dp = z / Pd. Travel per pinion revolution is the reference-circle circumference:

srev = pi dp

With transmission ratio i = motor RPM / pinion RPM and combined efficiency eta:

np = nm / i and Tp = Tm i eta

Rack speed and steady tangential force are then:

v = pi dp np and Ft = 2 Tp / dp

Use consistent units. In SI, torque is N m and pitch diameter is metres, which produces force in newtons. The calculator converts imperial inputs to SI internally before solving.

Symbol Meaning SI unit
z Pinion tooth count dimensionless integer
m Metric module mm
Pd Diametral pitch teeth/in
dp Pinion reference diameter m
i Motor RPM / pinion RPM dimensionless
eta Combined mechanical efficiency decimal
Tm, Tp Motor and pinion torque N m
nm, np Motor and pinion speed rpm
Ft Steady tangential rack force N

Worked examples

Direct-drive example from the original calculator

For a 20-tooth, module 2 pinion driven at 5 N m and 1,000 rpm, with a 1:1 ratio and ideal 100% efficiency:

  • Pitch diameter: 2 mm x 20 = 40 mm
  • Travel per revolution: pi x 40 mm = 125.664 mm/rev
  • Rack speed: 125.664 mm/rev x 1,000 rev/min = 125,664 mm/min
  • Steady tangential force: 2 x 5 N m / 0.040 m = 250 N

This reproduces the original page result. It is an ideal calculation because the efficiency is 100%.

Same motor with a 5:1 reduction and 90% efficiency

The pinion speed becomes 200 rpm and pinion torque becomes 22.5 N m. Rack speed falls to 25,132.7 mm/min while calculated tangential force rises to 1,125 N. The rack mechanical power is 90% of the motor mechanical power in this simplified model.

Reverse sizing example

For a target of 500 N at 100 mm/s with the same 40 mm pitch diameter, a 5:1 reduction, and 90% efficiency, the required pinion torque is 10 N m. The corresponding motor requirement is 2.222 N m at approximately 238.7 rpm, or 55.56 W of mechanical shaft power. A real motor must still be checked on its torque-speed curve and for acceleration, thermal duty, and service conditions.

Design tradeoffs the equation exposes

At fixed pinion torque, a larger pitch diameter increases rack travel and speed per revolution but reduces tangential force. A speed-reducing gearbox moves the tradeoff in the other direction: it raises pinion torque and reduces pinion speed. Efficiency reduces transmitted torque and output power; it does not change the geometric travel per pinion revolution.

That relationship is only the start of a drive selection. The force needed to move a machine can include guide friction, gravity, process force, acceleration, cable drag, seals, and external disturbances. Calculate those loads separately, then check pinion and rack capacity, gearbox permissible torque, shaft and bearing loads, stiffness, backlash, lubrication, and duty cycle against manufacturer data.

Do not use outside diameter in the force equation.

Rack motion occurs at the reference or pitch line. Using outside diameter overstates travel per revolution and understates tangential force.

Common mistakes

  • Entering motor stall torque together with normal running RPM even though those values cannot occur at the same operating point.
  • Treating a 10:1 reduction as 0.1 when this calculator defines ratio as motor RPM divided by pinion RPM.
  • Using 100% efficiency as a prediction instead of an ideal upper bound.
  • Using module and diametral pitch as if they were the same quantity. They are reciprocal pitch systems related by m = 25.4 / Pd.
  • Calling the calculated tangential force the allowable rack load without checking tooth strength, contact stress, support, and supplier ratings.
  • Ignoring acceleration and reflected inertia in a reversing or servo axis.

Assumptions and limitations

The calculation is deterministic for compatible spur-rack geometry at the reference circle. It assumes steady motion, constant ratio, rigid components, and a user-entered efficiency that represents transmission losses at the operating point.

It does not calculate tooth-root bending stress, pitting resistance, pressure-angle separating force, backlash, helical axial force, shaft or bearing capacity, guide friction, rack deflection, acceleration torque, shock, reversing duty, lubrication, wear, thermal limits, braking, holding, or compliance with a code or safety standard.

Standard 20-degree full-depth involute pinions below 18 teeth may undercut. Profile shift, pressure angle, and non-standard tooth forms can change that result, so confirm low-tooth-count geometry with the gear supplier rather than treating 18 as a universal prohibition.

Displayed results are rounded for readability. Input tolerances, motor data, efficiency uncertainty, and real load variation usually matter more than additional decimal places.

How to verify a preliminary result

  1. Confirm tooth count, module or diametral pitch, pressure angle, and reference diameter from the rack and pinion drawings.
  2. Confirm motor torque at the intended RPM from the motor torque-speed curve.
  3. Confirm transmission ratio, efficiency, and permissible output torque from the gearbox manufacturer.
  4. Calculate gravity, friction, process, and acceleration forces for the actual moving system.
  5. Check rack, pinion, shaft, bearings, guides, fasteners, and supporting structure against manufacturer ratings and the applicable design standard.
  6. Measure force, speed, backlash, temperature, and stopping behavior on the assembled machine before release.

Engineering references

  1. KHK Gears: Calculation of Gear Dimensions - module, reference diameter, and rack travel per revolution.
  2. APEX Dynamics: High Precision Rack and Pinion Catalog - rack force, pinion torque, speed, and selection relationships.
  3. OMRON: Servo Selection Technical Guide - independent rack-and-pinion load-torque equation.
  4. Oriental Motor: Gearhead Technical Reference - output torque, ratio, and transmission efficiency.
  5. NIST SP 811 Appendix B.9 - force and torque conversion factors.
  6. ISO 54:1996 and ISO 1122-1:1998 - standardized module context and gear geometry terminology.
  7. SDP/SI: Spur Gear Technical Information - undercut behavior for standard 20-degree involute gears.

References accessed July 28, 2026. Supplier data for the actual rack, pinion, gearbox, and motor takes precedence over generic preliminary calculations.

Rack and pinion calculator walkthrough

This short walkthrough shows the original direct-drive calculation. The V2 interface adds ratio, efficiency, units, and reverse sizing, but the 1:1 ideal equations shown in the video remain the same.

Rack and pinion calculator FAQ

What diameter belongs in the rack force equation?

Use the pinion reference or pitch diameter. Do not use outside diameter. For a metric spur pinion, pitch diameter in millimetres is module multiplied by tooth count.

Does a gearbox multiply rack force by its full ratio?

In the ideal case, pinion torque increases with the ratio and pinion speed decreases by the same ratio. A real gearbox also has losses, so this calculator multiplies torque by the entered efficiency.

Is the calculated force an allowable gear load?

No. It is steady tangential force implied by the entered torque, diameter, ratio, and efficiency. Allowable load requires tooth bending and contact checks plus verification of the rack, pinion, shaft, bearings, guides, mounting, lubrication, and duty cycle.

Why does the calculator warn below 18 teeth?

A standard 20-degree full-depth involute pinion below 18 teeth can be susceptible to undercut. Profile shift or different tooth geometry can change the limit, so the warning directs you to the supplier rather than rejecting every low-tooth-count design.

Can this calculator select a motor for a servo axis?

It can estimate steady shaft torque and RPM in reverse mode. Servo selection also requires acceleration, reflected inertia, peak and continuous torque, duty cycle, control margin, gearbox limits, and the motor torque-speed curve.

Revision information

Material update: July 28, 2026. Added independent calculation-engine tests, metric/imperial conversion, explicit transmission ratio and efficiency, reverse sizing, structured validation, substituted equations, and a no-loop SVG visualizer.

No statement of human engineering approval is made on this page. Users must independently verify the model and their application.

About the author

Robbie Dickson
Chief Engineer and Founder, FIRGELLI Automations

Robbie Dickson has more than two decades of experience with mechanical systems, actuator technology, and product development. Read Robbie Dickson's FIRGELLI profile.

Need to implement these calculations?

Explore the precision-engineered motion control solutions used by top engineers.

Share This Article
Tags: