Power transmission calculator

Rack and Pinion Calculator

Calculate rack and pinion travel per revolution, linear speed, force from torque, and pinion center distance from module or diametral pitch.

Design a laser-cut gear rack

Set the pitch, rack length, and pinion, then place the mounting holes and choose a bore and plate.

Units
Presets
mm
Pitch line to back edge
mm
Tooth thinning
mm
Optional
N·m

A row of holes evenly spaced along the back of the rack.

mm
mm

Pinion bore, holes, and plate

mm
Min. feature 0.050 in · 1.27 mm

Rack dimensions

Linear pitch
6.283 mm
Rack length Ends stop mid-gap so racks butt together on pitch
125.664 mm
Overall rack height Back edge to tooth tips
17 mm
Travel per pinion turn
125.664 mm
Pinion pitch diameter
40 mm
Pinion outside diameter
44 mm
Pinion center to rack pitch line
20 mm
Pinion center to rack back
35 mm
Contact ratio
1.769

Mesh preview

The rack has straight flanks at the pressure angle and rounded roots. The pinion's involute teeth are generated by rolling that same rack profile through each tooth space. The dashed circle is the pinion's pitch circle, which rolls along the rack's pitch line.

True generated tooth form

Download the manufacturing files

100% in-browser

STEP solids are built and checked in your browser. DXF and SVG drawings use lines and true arcs at full scale. Nothing is uploaded until you order.

  • 125.7 mm × 17.0 mm

  • ⌀ 43.6 mm

Laser cut it at Fabworks

We generate the STEP files, add them to a new quote, and open it in a new tab where you can review material, finish, and quantity.

Quick answer

How this rack and pinion calculator works

A rack and pinion converts rotation to travel of π·m·z per revolution and force F = 2T ÷ d, where d = m·z is the pinion pitch diameter. A module 2, 20-tooth pinion moves the rack 125.66 mm per turn, and 5 N·m of torque pushes it with about 250 N. The calculator also gives pinion center position and generates both parts.

How to use the calculator

  1. 1Enter module or diametral pitch and pressure angle.
  2. 2Enter the pinion tooth count and, optionally, pinion torque.
  3. 3Read travel per revolution, linear pitch, pinion center distance, and linear force.
  4. 4Set the rack length in teeth and generate the rack and pinion for download or ordering.

Key formulas

Rack and pinion formulas

Travel per revolution
s = π·m·z = π·d
Linear speed
v = π·d·n
n in revolutions per second gives v per second.
Linear force
F = 2T ÷ d
T is pinion torque; d is in the same length unit.
Linear pitch
p = π·m
Pinion center to pitch line
h = m·z/2

Worked example

Module 2 pinion with 5 N·m

Inputs
m = 2 mm, 20-tooth pinion (d = 40 mm), 5 N·m torque, 60 rpm.
Result
Travel 125.66 mm per revolution, linear speed 125.66 mm/s, force ≈ 250 N.

Travel = π × 40 mm. At 60 rpm (1 rev/s) that is 125.66 mm/s. F = 2 × 5 N·m ÷ 0.040 m = 250 N before losses.

Common questions

What to know before using the result

How do you calculate rack and pinion travel?
Multiply the pinion’s pitch diameter by π: s = π·m·z. A 20-tooth module 2 pinion travels 125.66 mm per revolution; a 15-tooth module 1 pinion travels 47.12 mm.
How do you calculate rack and pinion force?
F = 2T ÷ d. A 40 mm pinion with 5 N·m gives 250 N; a 1.000 in 20 DP pinion with 10 lbf·in gives 20 lbf.
How do you get linear speed from rpm?
Linear speed is travel per revolution times revolutions per unit time. 125.66 mm per revolution at 60 rpm is 125.66 mm/s, or about 7.5 m/min.
What pinion size should I choose?
Smaller pinions give more force and finer motion per turn; larger ones give more speed. Stay at about 17 teeth or more at 20° unless you use profile shift.
How do I set the pinion height above the rack?
Put the pinion center d/2 above the rack pitch line, where the pitch line is one module below the rack tooth tips. For a 20-tooth module 2 pinion that is 20 mm.

Reference

Rack travel per pinion revolution (mm)

Travel = π·m·z. Linear pitch p = π·m is the rack tooth spacing.

ModuleLinear pitch12-tooth pinion15-tooth20-tooth30-tooth
0.51.57118.8523.5631.4247.12
13.14237.7047.1262.8394.25
1.253.92747.1258.9078.54117.81
1.54.71256.5570.6994.25141.37
26.28375.4094.25125.66188.50
2.57.85494.25117.81157.08235.62
39.425113.10141.37188.50282.74
412.566150.80188.50251.33376.99
515.708188.50235.62314.16471.24
618.850226.19282.74376.99565.49

Formula

p = π·m · L = n·π·m · travel per turn = π·m·z

Linear pitch p is π times the module, so a rack of n teeth is n·π·m long. A pinion of z teeth moves the rack π·m·z per revolution and pushes it with F = 2T ÷ d.

Assumptions and limits

  • Rack teeth use straight flanks at the pressure angle, with addendum 1.0m and dedendum 1.25m.
  • The pinion center sits d/2 from the rack pitch line with no profile shift.
  • Linear force is ideal and excludes friction and mesh losses.
  • Backlash is applied by thinning teeth by the entered allowance.
  • Laser-cut racks suit low to moderate speed and load; critical drives need engineering review.
Educational estimate
Use this result for learning and early design exploration. Verify safety-critical or production decisions with the governing standard, material data, real tooling, and a qualified engineer.

Order Sheet Metal Parts

Upload a 2D DXF or 3D STEP file for an instant laser cutting quote. Quote in seconds, order in minutes, receive parts in days.

STEP / DXF up to 24MB

Your files are safe, secure, and retain all intellectual rights.