Effect of temperature on machining precision of machine tools
Thermal growth moves the tool, the spindle and the workpiece at the same time, so a warm machine cuts a different part than a cold one. This page explains where the heat comes from, how much error it creates, and which controls hold tolerances on real CNC work.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Where the heat comes from and what it moves
Every machine tool holds its geometry at one temperature. When the temperature changes, castings, ballscrews, spindles and workpieces all change length, and they do it at different rates. Steel grows about 11.5 μm per meter per °C, aluminum about 23 μm, cast iron around 10.5 μm. A 1,000 mm aluminum part that warms 5 °C from cutting heat grows roughly 115 μm. That is 23 times the ±0.005 mm tolerance we hold on tight features.
The heat has four main sources. Ambient air in the shop, spindle and axis motor losses, friction in guides and bearings, and the cutting zone itself. None of them arrive at the same time. The spindle warms within minutes. The bed takes hours. So the machine is never in one thermal state, it is always drifting toward the next one.
This is why a first-article part and a part cut four hours later can differ even when the program never changed. The error is not random. It is repeatable if you record the thermal history, and it is the reason warm-up routines and in-process probing exist.
- 1Ambient airShop temperature swings move the whole machine frame, slowly.
- 2Spindle and motorsFast local growth at the front bearing and axis drives.
- 3FrictionBallscrew, guideway and bearing losses add heat along the axis.
- 4Cutting zoneChip and tool heat enter the part at the contact point.
Machine tool thermal growth and geometric error
A spindle grows along its axis as it warms. On a 5-axis machine that shift moves the tool tip in Z, so a face that should be flat comes out with a small step between passes. Ballscrews grow in length, which shows up as pitch error that grows toward the ends of travel. The screw is anchored at one end and free at the other on many machines, so the error is not symmetric across the table.
Geometry suffers too. If one side of a column is warmer than the other, the column tilts. Squareness between X and Y then drifts by a few micrometers over 300 mm. A machine that was square when it was leveled cold is not square at 30 °C spindle temperature.
Measurement happens on a cold coordinate measuring machine. A part cut on a warm machine and measured on a cold CMM can read out of tolerance even though the machine was correct at the moment of cutting. Both sides of that comparison need to be at 20 °C, the reference temperature used in most drawings and ISO standards.
- 1Spindle growthAxial shift of the tool tip, typically tens of micrometers.
- 2Ballscrew growthPosition error that increases along the axis travel.
- 3Column and frame tiltSquareness and straightness drift over the working volume.
- 4Cold measurementCMM and part must share the same reference temperature.
Workpiece heat, thin walls and surface finish
Machining heat does not only come from the spindle. Cutting energy goes into the chip, the tool and the part. In dry cutting of steel, most of it leaves with the chip, but in aluminum the part can take a meaningful share. A thin wall has little mass to absorb it, so it bows away from the cutter and springs back after the pass. The wall measures thick in the middle and thin at the ends.
Coolant helps, but it also creates its own gradient. Flooding one face of a plate while the other face stays dry bends the plate. The bow can reach 50 to 100 μm on a 300 mm aluminum plate with a 10 °C difference across the thickness. Rough and finish in the same setup, then let the part stabilize before the finishing pass.
Surface finish follows the same logic. A tool that grows in length changes its effective radius, so the feed marks change depth along one pass. Thermal drift of a few micrometers will not show on a Ra 1.6–3.2 μm as-machined face, but it can push a Ra 0.2–0.8 μm finished face out of spec.
- 1Thin wallsLow mass, high deflection, springback after the cut.
- 2One-sided coolantGradient across the thickness bends plates and shafts.
- 3Rough then finishLet the part settle between passes on tight work.
- 4Finish sensitivityFine finishes show drift that rougher faces hide.
Controls that actually reduce thermal error
The cheapest control is time. Run the spindle at production speed for 30 to 60 minutes before cutting tight features, so the machine reaches a stable state instead of drifting through the first parts. Log spindle temperature and let it flatten before the first measurement. On a 5-axis center, warm the rotary axes with a short exercise cycle, not just the spindle.
The second control is symmetry. Apply coolant to both sides of a plate, or cut dry with air blast. Keep the part in the same thermal environment from roughing to finishing. Where the geometry allows, leave 0.3 to 0.5 mm for the finishing pass and take it after the part has cooled.
For work we cannot hold by time alone, we machine close to the reference temperature and probe the part on the machine. Probing gives the actual position of a datum, and the control offsets the remaining error. On a 4,000 mm part, that matters more than any compensation table, because the error changes along the length of the travel.
- 1Warm-up30–60 minutes at cutting speed before tight features.
- 2SymmetryCool both faces, or cut dry with air blast.
- 3Rough and restLeave 0.3–0.5 mm, finish after the part stabilizes.
- 4Probe on the machineMeasure the datum, then offset the remaining error.
When thermal control is not the answer
Not every tight-looking tolerance is a thermal problem. If a bore is out of round by 40 μm on a machine that has been warm for hours, look at the spindle, the toolholder or the fixture first. Thermal error tends to be directional and repeatable, not roundness-shaped. A warm machine shifts a position, it rarely makes a hole lobed.
If the same program gives good parts in the morning and bad parts in the afternoon, and the shop has no air conditioning, temperature is the first suspect. If the error appears on one feature and not on the one next to it, it is usually clamping or tool deflection.
There is also a cost line. A temperature-controlled room and a 60-minute warm-up only pay off when the tolerance is below about ±0.01 mm on long features. For a ±0.05 mm bracket, the same money is better spent on fixtures and probing. Choose the control that matches the tolerance, not the one that sounds most advanced.
- 1Directional driftPoints to temperature or screw growth, not to roundness.
- 2Local errorPoints to clamping, tool runout or fixture stiffness.
- 3Time-of-day patternPoints to ambient swings in the shop.
- 4Cost lineThermal control pays below roughly ±0.01 mm on long parts.
Step by step: holding tolerance on a warm machine
- 1Check the room firstRecord ambient temperature and let it settle within ±1 °C of the 20 °C reference before starting tight work.
- 2Warm the machineRun spindle and axes 30–60 minutes at production speed. Watch spindle temperature until it stops rising.
- 3Rough with marginLeave 0.3–0.5 mm on critical faces. Keep coolant on both sides of thin plates.
- 4Let the part restPause 10–30 minutes for thin walls and long parts so heat spreads and the bow relaxes.
- 5Probe and offsetMeasure the datum on the machine, then apply the offset in the control before the finishing pass.
- 6Finish lightTake the finishing cut with small radial engagement to limit heat into the wall.
- 7Gauge at 20 °CMeasure on a CMM that shares the reference temperature, and record it with the part.
Rough thermal error budget for common features
Estimates only, based on 20 °C reference and the materials we machine. Use them to decide whether thermal control is needed.
| Feature | Dominant source | Typical drift | Control that works |
|---|---|---|---|
| 1,000 mm aluminum plate, ±0.05 mm | Ambient + cutting heat | 80–150 μm | Temperature-controlled room, symmetric coolant |
| 600 mm steel shaft, ±0.01 mm | Spindle and screw growth | 20–40 μm | Warm-up cycle, in-process probing |
| Thin wall 2 mm, ±0.02 mm | Bending from cutting heat | 30–80 μm | Rough/finish split, light finishing pass |
| 5-axis contoured pocket, ±0.01 mm | Rotary axis and spindle growth | 15–35 μm | Probe on the part, thermal compensation |
| Bore Ø50 H7, ±0.012 mm | Spindle and part growth | 10–25 μm | Cool part before final bore, gauge at 20 °C |
| Ground face, Ra 0.4 μm | Tool and part heat | Finish drift only | Finishing pass after thermal soak |
The short verdict
If your tolerance is tighter than ±0.01 mm on parts longer than 300 mm, control temperature: stable room, warm-up, probe, gauge at 20 °C. If it is ±0.05 mm or looser, spend the same effort on fixtures and tool life instead.
Thermal questions engineers ask
How long should a CNC machine warm up before tight tolerance work?
For most vertical and 5-axis machines, 30 to 60 minutes at production spindle speed brings the spindle and axes to a stable state. Watch the spindle temperature reading and start cutting when it stops climbing. A short exercise cycle that moves the rotary axes matters too, because those bearings warm slower than the spindle.
Does coolant make thermal error better or worse?
It usually helps, because it removes cutting heat from the tool and the part. It hurts when it is applied to one side only. A plate flooded on top and dry underneath bends, and the bow can reach 50 to 100 μm on a 300 mm aluminum plate. Apply coolant symmetrically or cut dry with air blast.
Why does a part measure out of tolerance on a cold CMM?
The part was cut warm and measured cold. Aluminum shrinks about 23 μm per meter per °C, so a 500 mm part that cools 8 °C loses around 92 μm. Let the part stabilize, and measure in a room held near the 20 °C reference used on the drawing.
Can thermal compensation in the control fix everything?
No. Compensation models handle repeatable effects such as spindle and ballscrew growth. They do not know how much heat your specific part absorbed, or how it bowed. On long parts, probing the actual datum on the machine is more reliable than any preloaded model.
Which materials are most sensitive to shop temperature swings?
Aluminum and magnesium move about twice as much as steel for the same temperature change. Long aluminum plates and thin magnesium housings show ambient swings first. Titanium and stainless steel move less, but they hold cutting heat longer, so the part itself stays warm after the pass.
Do we need a temperature-controlled room for ±0.05 mm work?
Usually not. At ±0.05 mm on parts under 300 mm, a stable shop, a warm-up cycle and good fixtures are enough. Save the controlled room for tolerances below about ±0.01 mm, or for long parts where a few degrees across 1,000 mm is already a large share of the tolerance.
Send us the drawing and the tolerance
Our engineers review your part, the material and the tight features, then tell you which thermal controls the job needs. Quotation and free DFM analysis within 12 hours.
12-hour quote100% inspection±0.005 mmNo MOQ