Z Axis CNC Vertical: How Depth Control Shapes Every Cut
The Z axis CNC vertical spindle motion sets depth of cut, floor flatness, and chip evacuation. This explainer covers the mechanism, the tolerance it can and cannot hold, and the part features where the vertical axis runs out of reach. Written for design engineers and manufacturing engineers who need to judge a quote, not just read a spec sheet.

What the Z Axis Actually Controls
X and Y position the tool in the work plane. The Z axis CNC vertical motion decides how far the tool goes into the material. Every pocket floor, every step height, every drilled depth is a Z move. When an engineer says a part is out of tolerance, the problem is often vertical, not in-plane.
Think of a 25 mm deep pocket in a 6061-T6 block. X and Y define its outline. Z defines the floor. If the Z ball screw has 0.010 mm of backlash, the floor moves by that much between climb and conventional passes. You see it as a step, or a floor that measures 24.990 mm instead of 25.000 mm.
Z also carries the spindle. On a vertical machining center the head weighs 300 kg or more, and the servo holds it against gravity on every retract. That is why Z tuning is harder than X or Y. Mass, gravity, and thermal growth all push the same axis.
The practical result: Z is the axis that decides whether a flat floor is flat, whether a drill breaks through at the right depth, and whether a 0.5 mm fin is cut cleanly or smeared.
- 1Depth of cutAxial engagement per pass, usually 0.2–0.5 × tool diameter in aluminum.
- 2Floor and step heightControlled by the final Z pass, not by X or Y.
- 3Tool load directionZ plunges load the tip; side milling loads the flutes.
Three Ways to Drive the Vertical Axis
Not every machine moves Z the same way. The drive type sets the accuracy ceiling and the maintenance schedule. A quoting engineer should know which one is behind the number.
Ball screw and servo is the common choice on 3-axis and 4-axis vertical mills. It is fast, predictable, and holds ±0.005 mm when the screw is preloaded and the thrust bearing is healthy. The weak points are backlash after wear and screw whip on long travels.
Box way or linear guide with a hydraulic counterbalance is used on heavier heads. The counterbalance cylinder offsets most of the head weight, so the servo only handles the difference. Floors come out flatter on deep cavities. Setup takes longer.
On simultaneous 5-axis machines, Z is one of five coordinated axes. The rotary table at Ø400 mm can tilt the part, so a feature that would need a long Z reach can be rotated into a better approach angle. That is the single biggest reason to move a part off a 3-axis machine.
- 1Ball screw + servoStandard on 3-axis and 4-axis. Watch backlash at the thrust end.
- 2Box way + counterbalanceHeavy heads, deep cavities, better floor flatness.
- 3Coordinated 5-axisZ works with two rotary axes; reach problems shrink.
Where the Z Axis Holds Tolerance and Where It Slips
A well-kept vertical machine holds ±0.005 mm on depth over short Z travel. That number comes from the machine, the tool, and the setup together, not from the axis alone.
Thermal growth is the quiet error. A spindle running at 12,000 rpm warms the head, and the head grows downward. Over a two-hour run the Z zero can drift 0.010–0.020 mm on an older machine. Warm-up cycles and in-process probing exist for this reason.
Tool deflection adds on top. A 6 mm end mill hanging 40 mm out of the holder bends under axial load. On a 0.5 mm depth pass the tip drops a few microns. On a 3 mm pass it can drop 0.03 mm and leave a dished floor.
The fix is not always a better machine. Shorten the gauge length, reduce axial depth, or rough and finish in separate passes. A 0.2 mm finish pass with a sharp tool often beats a heavy single pass on floor flatness.
- 1Short Z travel±0.005 mm is realistic with a warm, preloaded machine.
- 2Long Z travelExpect more drift; ask for probing or a warm-up cycle.
- 3Deep cavitiesUse a stub tool or a reduced axial depth per pass.
Which Features the Vertical Axis Cannot Reach
The Z axis moves in one line. If a feature faces away from that line, the tool cannot see it. This is the boundary engineers hit most often.
Undercuts, side holes, and internal grooves are the classic cases. A hole on the side of a block needs either a right-angle head, a second setup with the part rotated, or a 5-axis machine. Each choice adds cost and, usually, a tolerance stack.
Deep pockets have a length-to-diameter problem. A 10 mm deep pocket with a 3 mm tool is a 3:1 reach. Past about 4:1, chatter starts and floor finish drops from Ra 0.8–1.6 μm toward Ra 3.2 μm. The Z axis is fine; the tool is the limit.
Thin floors are the reverse risk. When the remaining floor is under 0.5 mm, axial cutting force pushes it down and the thickness varies. Support the back with a fixture or leave more material and finish in a light pass.
- 1Side holesNeed a right-angle head, a second setup, or 5-axis.
- 2Deep narrow pocketsKeep reach under 4:1 where finish matters.
- 3Thin floorsSupport the back or take a light finishing pass.
Setup Choices That Change Z Accuracy
Two shops can run the same program on the same machine and get different floors. The difference is usually setup, not the axis.
Work offset matters. If the Z zero is set on a rough top face, every depth inherits the roughness. Touch off on a machined face or use a probe. A 0.02 mm error in the offset shows up in every pocket on the part.
Fixture stiffness matters as much. A vise holding 3 mm of stock on a 100 mm tall part lets the part lift under axial load. The Z axis reaches its commanded position and the part does not. Floors come out shallow.
In-process probing closes the loop. On a deep pocket, the machine can measure the floor after roughing and adjust the finishing pass. That costs cycle time, and it is worth it when depth tolerance is tighter than ±0.02 mm.
- 1Touch off on a machined faceRough stock transfers its error into every depth.
- 2Support tall partsLow vise grip lets the part lift during Z plunges.
- 3Probe after roughingUseful below ±0.02 mm depth tolerance.
Z Axis Travel Options at a Glance
Match the feature to the machine before you request a quote.
| Machine type | Typical Z travel | Best for | Watch out for |
|---|---|---|---|
| 3-axis vertical mill | 500–600 mm | Flat plates, open pockets, drilled holes | No undercuts; one face per setup |
| 4-axis mill | 500–600 mm | Parts rotated about one horizontal axis | Side features still need a second setup |
| 5-axis simultaneous | 600–750 mm | Side holes, undercuts, complex contours | Higher hourly rate; needs good CAM |
| Large gantry mill | 150 mm, 4,000 mm in X | Long rail parts, weldments, fixtures | Shallow Z depth; plan the setup |
| Mill-turn center | 450–550 mm | Shafts with radial and axial features | Bar size limits; check chuck capacity |
When to Stay Vertical and When to Rotate
If every feature faces the spindle, a 3-axis vertical machine is the fastest and cheapest route. If any feature faces sideways or hides under an overhang, move to 4-axis or 5-axis, or accept a second setup and its tolerance stack.
Z Axis Questions Engineers Ask
How accurate is Z depth on a typical CNC mill?
On a warm, well-maintained machine with a short tool, ±0.005 mm is achievable. The axis itself is rarely the limit.
Tool deflection, thermal growth, and work offset errors usually dominate. Shorten the gauge length and touch off on a machined face before blaming the machine.
Why does my pocket floor show a step?
Backlash in the Z ball screw, a loose thrust bearing, or a tool that pulled down during a heavy pass are the usual causes.
Measure the step height. Under 0.01 mm is inline with machine condition. Over 0.03 mm points to a mechanical issue or an aggressive axial depth.
Can a 3-axis machine cut a side hole?
Not in one setup. You need a right-angle head, or you rotate the part and re-zero.
Each extra setup adds a tolerance stack. If the hole has a tight position tolerance, a 5-axis machine is often cheaper overall.
What depth-to-diameter ratio is safe for a pocket?
Up to about 3:1 with a carbide end mill, and 4:1 with a stub or reduced-shank tool. Past that, chatter rises and floor finish degrades.
If the design needs 6:1, plan for a smaller stepover, a slower feed, or an EDM step for the bottom.
Does the Z axis affect surface finish on the floor?
Yes. The final Z pass sets floor finish. A 0.2 mm finishing pass with a sharp tool reaches Ra 0.8–1.6 μm on aluminum.
Heavier passes leave a dished or smeared floor, and no amount of polishing fixes a floor that is out of flatness.
When should a part move to 5-axis?
When side holes, undercuts, or contoured faces cannot be reached from one vertical direction, or when two setups would stack too much tolerance.
A 5-axis machine tilts the part so the tool approaches at a better angle. Fewer setups usually means better position accuracy.
Send the Drawing, Get a Z-Reach Check
We review your part for vertical reach and setup count, then quote from one prototype to 10,000+ parts. Quotation and free DFM analysis within 12 hours.
12-hour quote100% inspectionNo minimum orderNDA on request