Rack Milling: The Method and the Checks That Hold the Pitch
Rack milling cuts a straight tooth profile, so every pitch error walks down the whole travel. This page is for engineers who have to quote, program, or inspect a rack. It covers setup, cutting parameters, and the points where a rack part fails.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Key takeaways
What makes a rack different from a gear
A rack is a gear with an infinite radius. The tooth profile becomes a straight line, and the normal at every point on that line points the same way. Because of this, the rack translates instead of rotating, and the velocity vector at each tooth point has the same magnitude and direction. That is the whole reason rack milling is a straight-line problem, not a rotary one.
The practical consequence is that pitch error does not average out. On a gear, a small index error at one tooth is partly cancelled by errors at other teeth when the gear rotates. On a rack, an error at tooth 3 is still there at tooth 300. The rack accumulates. If each tooth is off by 0.01 mm, a 500 mm rack with 50 teeth is off by 0.5 mm at the end.
The rack also has to mate with a pinion. The pinion is usually the harder part to replace, so the rack carries the adjustment. When we set up a rack milling job, we treat the mounting face, the pitch line, and the tooth flank as three separate datums, and we check them independently.
Straight flanks change the tooling choice. A standard involute cutter leaves a curve that looks close but does not seat properly against a pinion flank. For any rack that transmits load, use a straight-flank cutter matched to the pressure angle, or a form tool ground to the profile. A cheap cutter here costs more than the milling time saved.
- 1Straight flank, parallel normalsThe defining geometry of a rack tooth.
- 2Cumulative pitch errorErrors add along the bar instead of averaging out.
- 3Pitch line is a datumSet it from the mounting face, not from the top of the blank.
Rack milling setup: datum, clamping, and stock
Start with the blank. Rack stock is usually 1045, 4140, 4340, or a case-hardening steel, and it arrives either as flat bar or as a milled plate. Check straightness before you clamp it. A bar with 0.3 mm of bow will spring back when you release the vise, and the tooth profile will follow the bow.
Face the mounting surface and the top of the blank in the same setup if the part allows it. Those two faces set the pitch line height. If you face them in separate setups, you have introduced a parallel error that shows up as a varying tooth depth along the rack. On a 1,000 mm rack, 0.05 mm of face error is 0.05 mm of depth error at both ends.
Clamping matters more on a rack than on a small gear. Use a low-profile vise or a fixture plate with clamps every 150–200 mm. On a 2,000 mm bar, three clamps in the middle are not optional; the unsupported span will lift under a 12 mm cutter at 0.15 mm per tooth. Support the underside as well, so the cut pushes the bar into the support instead of away from it.
Leave stock for the finish pass. A common mistake is to rough to 0.2 mm and finish to size. Rack teeth often need 0.3–0.5 mm per flank left after roughing, because the finishing cutter has to clean up the roughing marks and any distortion from the first pass. Cut the tooth space slightly narrow in roughing, then open it to the pitch in finishing.
- 1Check bow before clampingStraighten or stress-relieve the bar if it is out by more than 0.1 mm over 500 mm.
- 2Face the datum in one setupMounting face and tooth top define the pitch line height.
- 3Clamp every 150–200 mmPrevents the middle of a long rack from lifting.
- 4Leave 0.3–0.5 mm per flankEnough for the finishing cutter to clean up the roughing pass.
Cutter choice and cutting conditions for rack milling
A rack tooth has a straight flank, so the cutter has to match the pressure angle, not just the tooth depth. A standard involute gear cutter will cut a usable-looking tooth, but the flank will not seat against a pinion flank across the full contact. For low-load positioning racks, that may be acceptable. For any rack that carries torque, use a straight-flank cutter or a form tool ground to the drawing.
Cutter diameter sets the tooth depth limit. A 12 mm cutter with a 20° pressure angle can cut roughly 6–8 mm of tooth depth before the shank rubs the flank. If the drawing calls for a deeper tooth, step up to a 16 mm or 20 mm cutter, or use a stub-length tool. Do not try to reach a deep root with a long, thin cutter; it will deflect and the pitch will drift.
Coolant choice is simple. Flood coolant on steel and stainless, air blast or minimum quantity on aluminium and brass. On 304 stainless, keep the cutter moving and never let it dwell in the cut. Work hardening at the flank is the fastest way to scrap a rack.
On a 5-axis machine, you can tilt the cutter slightly to reach the root of a deep tooth without shank interference. A 3–5° tilt is usually enough. Keep the tilt fixed along the rack; changing it mid-cut changes the effective flank angle and shows up as a wavy flank.
- 1Match the pressure angleA standard involute cutter is not a straight-flank cutter.
- 2Watch shank clearanceA 12 mm cutter reaches about 6–8 mm of tooth depth at 20°.
- 3Do not dwell in stainlessWork hardening at the flank scraps the part.
Common rack milling errors and how they show up
The first error is pitch drift. The rack measures correct at both ends but the total pitch is long or short. The usual causes are thermal growth during a long cut, a cutter that has worn during the run, or a leadscrew that has not been checked. Measure the pitch with the part at room temperature, and if the shop is warm, let the part cool before the final check.
The second error is a bowed rack. It measures straight on the machine and bows after unclamping. This is residual stress, and it is almost always a setup problem rather than a cutting problem. Face both sides, rough, release, re-clamp, and finish. On 4140 and 4340, a stress-relief step between roughing and finishing is standard practice.
The third error is a flank that looks right but does not seat. The tooth depth is correct, the pitch is correct, but the contact pattern against a pinion is high or low on the flank. This usually means the pitch line height was set from the wrong datum, or the cutter was not ground to the correct pressure angle. Check the contact pattern before you cut the full batch.
The fourth error is chatter on the flank. It shows as a regular pattern along the tooth. Causes are insufficient clamping, too much cutter overhang, or a feed that is too low. Increase feed per tooth, shorten the tool, and add a clamp at the chatter location. Do not reduce feed to fix chatter; that usually makes it worse.
- 1Pitch driftCheck temperature, cutter wear, and the machine leadscrew.
- 2Bowed after unclampingResidual stress; add a relief step between rough and finish.
- 3Poor pinion contactPitch line datum or pressure angle is wrong.
- 4Flank chatterAdd clamping and increase feed per tooth.
Step by step: rack milling from blank to finished tooth
Sequence assumes a straight-flank rack with a known pressure angle and module or diametral pitch.
- 11. Verify the blank and the drawingCheck overall length, width, thickness, and straightness. Confirm module or DP, pressure angle (usually 20°), number of teeth, and face width. If the drawing gives only the pinion, derive the rack from the pitch line, not from the tooth top.
- 22. Face the mounting surface and the topMill both faces in one setup to within 0.02 mm parallel. This sets the pitch line height. Mark the mounting face with a light cut or a laser mark so it cannot be flipped later.
- 33. Set the pitch line from the datumMeasure from the mounting face to the pitch line and set your zero there. Do not zero on the top of the blank; the top will be cut away as the tooth space is milled.
- 44. Rough the tooth spacesUse a slightly narrow cutter or a smaller stepover to remove most of the material. Leave 0.3–0.5 mm per flank. Take axial depths of 2–6 mm depending on material and cutter rigidity. Keep the cutter engaged; dwell marks become flank defects.
- 55. Stress-relieve if the rack is long or the stock is hardFor racks over 1,000 mm or in 4140/4340, release the clamps, let the part rest, and re-clamp. This lets residual stress move before the finishing pass. Skipping this is the most common cause of a rack that measures straight on the machine and bows on the bench.
- 66. Finish the flanks and the rootUse a sharp straight-flank cutter. Take one light pass per flank at 0.1–0.2 mm radial engagement. Target Ra 0.8–1.6 μm on the flank. If the cutter rubs instead of cutting, increase feed per tooth rather than reducing it; rubbing work-hardens stainless and burns steel.
- 77. Deburr and check tooth-to-tooth pitchDeburr the tooth edges with a hand stone or a light chamfer tool. Check tooth-to-tooth pitch with a gauge or a CMM over the first, middle, and last ten teeth. On a long rack, the middle is where pitch error accumulates.
- 88. Final inspection and markingCheck total pitch over the full length, tooth depth, flank finish, and straightness. Mark the part with a laser if required; minimum character height is 1.5 mm. Ship with inspection reports on request.
Rack milling parameters by material
Ranges for a 12 mm carbide straight-flank cutter, 4-flute, flood coolant. Adjust for rigidity and tooth depth.
| Material | Surface speed (m/min) | Feed per tooth (mm) | Axial depth (mm) | Notes |
|---|---|---|---|---|
| 1045 steel (normalized) | 120–160 | 0.05–0.08 | 3–6 | Rough, stress-relieve, finish |
| 4140 steel (pre-hard) | 100–140 | 0.04–0.07 | 2–5 | Watch flank burn on the finish pass |
| 4340 steel | 90–120 | 0.04–0.06 | 2–4 | Rigid setup required; no long overhangs |
| 6061 aluminium | 300–500 | 0.10–0.15 | 4–8 | Fast, but tooth edges need deburring |
| 7075 aluminium | 250–400 | 0.08–0.12 | 3–6 | More tool pressure than 6061 |
| 304 stainless | 60–90 | 0.03–0.05 | 1.5–3 | Work-hardens; keep the cutter moving |
| 17-4PH (SUS630) | 70–110 | 0.03–0.05 | 1–3 | Condition first, then finish mill |
| C36000 brass | 200–350 | 0.08–0.12 | 3–6 | Excellent finish, light clamping is fine |
Rack milling inspection: what to measure and when
| Check | When | Method | Accept / reject |
|---|---|---|---|
| Blank straightness | Before setup | Dial indicator on a surface plate | Reject if > 0.1 mm over 500 mm |
| Face parallelism | After facing | Micrometer at both ends | Reject if > 0.02 mm |
| Pitch line height | After setup | Height gauge from the mounting face | Reject if off the drawing by > 0.02 mm |
| Tooth-to-tooth pitch | After finishing | Gauge or CMM, first/middle/last ten teeth | Reject if accumulated error exceeds drawing |
| Flank finish | After finishing | Comparator or profilometer | Target Ra 0.8–1.6 μm |
| Straightness after unclamping | Before shipping | Dial indicator on a surface plate | Reject if bowed beyond drawing limit |
When rack milling is the right call
If the rack is under 4,000 mm, needs a straight flank, and has to mate with a pinion you already have, mill it. If the tooth is very deep, the material is already hardened, or the volume is high enough for a form tool, check the process before you commit to a milling quote.
Rack milling questions engineers ask
Can a rack be milled on a 3-axis machine, or do we need 5-axis?
A straight rack with a constant pressure angle can be milled on a 3-axis machine if the tooth depth is within the cutter shank clearance. On a 12 mm cutter at 20°, that is roughly 6–8 mm of tooth depth.
Use a 5-axis machine when the tooth is deep, when the flank needs a slight tilt to clear the shank, or when the rack has a profile that changes along its length. GreatLight runs 16 simultaneous 5-axis centers and 27 three-axis machines, so the choice is made per part, not per shop.
How do you hold a 2,000 mm rack without it moving?
Clamp every 150–200 mm along the length, support the underside, and use a fixture plate rather than a single long vise. On a 2,000 mm bar that means 10–13 clamp points.
If the bar has any bow, straighten or stress-relieve it before clamping. A bar that is clamped straight but relaxed bowed will spring back after the finishing pass.
What tolerance can rack milling hold?
GreatLight holds ±0.005 mm on critical features, and rack pitch and tooth depth are usually held tighter than overall length. The practical limit depends on rack length, material, and how many teeth are in the cut.
On a long rack, accumulated pitch error is the controlling number, not a single tooth. We measure tooth-to-tooth and total pitch separately and report both.
Should the rack be heat treated before or after milling?
For 4140 and 4340, mill in the pre-hard or normalized condition, then heat treat if the drawing requires it. If the rack is case hardened, cut the teeth first and leave grinding stock on the flanks if the case depth matters.
Milling a hardened rack is possible with carbide, but the cutter wears faster and the pitch drifts over a long run. Check the cutter after every 20–30 teeth.
What surface finish can rack milling produce?
A finishing pass with a sharp cutter reaches Ra 0.8–1.6 μm on the flank. A roughing-only rack sits around Ra 1.6–3.2 μm, and fine finishing can reach Ra 0.2–0.8 μm on aluminium and brass.
Flank finish matters for wear and noise. A flank that is too rough wears the pinion faster, and a flank that is polished too smooth can lose oil retention.
Do you mill racks from one piece or in sections?
Both. A single rack up to 4,000 mm can be milled in one piece on our large-travel machines. Longer racks are milled in sections and joined, with the joint positioned away from the highest load region.
For sectioned racks, the pitch is set across the joint, not per section. The joint is checked with the same tooth-to-tooth gauge used on the rest of the rack.
Send your rack drawing and get a DFM check
Upload the rack drawing with module or DP, pressure angle, and tooth depth. We return a quotation and a free DFM analysis within 12 hours, and production can start within 24 hours.
12-hour quote±0.005 mm tolerance100% inspectionNo minimum order