Heat treatment and machined parts: distortion, allowances and the order of operations
October 26, 2026

Heat treatment moves metal. Parts that were machined to final size and then hardened rarely come out at the same size and shape. Plan for it: machine rough, treat, finish. This guide covers what moves, how much stock to leave and what to write on the drawing.
Why parts move
Three things change a part in the furnace:
- Release of machining stress. Cutting leaves stress in the surface. Heating lets it relax and the part shifts. Heavy roughing and thin sections show it most.
- Phase change on quenching. When steel is quenched, its structure changes and the volume changes with it. The change is uneven across a section, so the part grows in some directions and bends in others.
- Uneven cooling. Thick and thin sections cool at different rates. Corners cool faster than the core. A part with one thick and one thin end bows as it cools.
The result is a change in size, usually small, and a change in shape, often larger. Long thin shafts bow. Rings go out of round. Thin plates warp. Holes can close up or open.
The usual order of operations
For a part that needs both accuracy and hardness, the route is:
- Rough machine to near size, leaving stock on the surfaces that will be finished.
- Stress relieve if the part is large or heavily roughed, so it settles before the final cut.
- Heat treat to the required condition.
- Finish machine or grind the critical surfaces to final size.
- Inspect.
The stress relief step is cheap and improves stability. It is common on long shafts, thin plates and large frames. A part that skips it can move during finishing as well as in the furnace.
Stock to leave
How much stock depends on the process and the part. Typical values for steel, to confirm with the shop that does the treatment:
| Surface to finish | Typical allowance per side | Notes |
|---|---|---|
| Diameter to be ground after hardening | 0.2 to 0.5 mm | More on long or thin parts |
| Faces to be ground | 0.2 to 0.4 mm | Needs flat reference |
| Bores to be honed or ground | 0.1 to 0.3 mm | Depends on the length |
| Surfaces finished by hard turning | 0.1 to 0.3 mm | Hardness limits the method |
| Nitrided parts | Often 0.02 to 0.05 mm or none | Little movement, thin case |
If you leave too little, the grinder cannot clean up and the part is scrap. If you leave too much, the grinder removes more hard material, which adds time and cost.
Distortion by process
The diagram ranks common processes. In more detail:
| Process | Typical purpose | Distortion risk |
|---|---|---|
| Stress relieving | Stabilise before finishing | Low |
| Annealing or normalising | Soften, refine structure | Low to medium |
| Quench and temper | Strength and hardness through the section | Medium to high |
| Case hardening, carburising | Hard surface, tough core | High, needs grinding after |
| Nitriding | Hard thin surface, wear and fatigue | Low, no quench |
| Precipitation hardening, such as 17-4 PH | Strength in stainless | Low, a small and predictable change |
| Solution treatment and ageing of aluminium | Strength in 6061 and 7075 | Medium on thin parts, quench driven |
Two practical conclusions:
- If the part is slender and tolerances are tight, choose a process with low distortion where the function allows. Nitriding and precipitation hardening are common answers.
- If the part must be fully hard and accurate, plan on grinding or EDM after treatment. The grinding guide and the guide to EDM explain when each method fits.
Design habits that reduce movement
Part shape matters as much as the process. A few habits help:
- Keep sections even. A part with a thick boss next to a thin web moves. Where possible, add relief cuts or keep wall thickness similar.
- Add radii at corners. Sharp internal corners concentrate stress and can crack in quenching.
- Balance holes and slots. A pattern of holes on one side only tends to pull the part toward that side.
- Allow a stress relief step on parts that are long, thin or heavily roughed.
- Do not machine threads and tight bores to size before hardening. Leave them for after, or mask them if the process allows.
Have a part like this? Send a drawing
What to write on the drawing
State the result you need, not only the process. A typical note names:
- Material and condition, for example 4140 pre-hardened or 4140 quenched and tempered.
- Hardness range with a tolerance, for example 28 to 32 HRC. A single value cannot be met.
- Where hardness is measured. A location on the part or a test coupon from the same lot.
- Case depth and its definition, for surface hardening. Say how the depth is measured, for example to a stated hardness level, and give a range.
- Which surfaces are finished after treatment, and the allowance.
- The certificate you need, such as a hardness report or a treatment record.
Avoid writing only “harden”. It does not say how hard, how deep or by which method. The shop picks something, and it may not be what you wanted.
Materials and what they allow
Not every material hardens the same way. In short:
- Low carbon steel such as 1018 does not through-harden. It can be case hardened.
- Medium carbon and alloy steels such as 1045, 4140 and 4340 respond to quench and temper. The steel guide lists typical conditions.
- Tool steels such as D2 and H13 are treated to high hardness and move in specific ways. A specialist heat treater usually handles them.
- Stainless 304 and 316 do not harden by heat treatment. They harden by cold work.
- 17-4 PH hardens by ageing at a modest temperature with little movement. The stainless guide describes it.
- Aluminium 6061 and 7075 are treated by solution and ageing, with distortion risk on thin parts from the quench.
If the grade you name does not harden in the way you expect, say what the part has to do and let the shop suggest a grade.
Cost and lead time
Heat treatment adds a step, a transport leg if the heat treater is separate and a wait in the heat treater’s queue. Expect added days. The price depends on the process, the weight and the lot. A single hard part costs more per piece than the same part in a full furnace load.
Ask the shop to state the treatment, the hardness check and the certificate on its quote, and to include the treatment in the schedule. See what drives the price of a machined part for how these steps appear in the total.
Checking the result
Heat treatment is checked by measurement, not by trust. Two checks are common:
- Hardness. Rockwell C is the usual scale for hardened steel and Vickers is used for thin cases and small parts. The hardness is read on a prepared flat area, and the location is recorded. A part cannot be hardness tested on a curved or rough surface without bias.
- Case depth and structure. For case hardened parts, a cut section of a test piece shows the depth. This is destructive, so it is done on a coupon treated with the lot.
Ask for the hardness record with the parts, and for the coupon result if case depth is specified. Then measure the part again after treatment, since the size has changed.
Next step
Before you release a drawing that needs heat treatment:
- Have you named the material and the condition you want?
- Is the hardness a range, with a place to measure it?
- Have you marked the surfaces to be finished after treatment and the allowance?
- Is the shape even enough to avoid heavy distortion, or have you accepted a stress relief step?
- Have you stated the certificate you need?
Then send the drawing. We will review it and put you in touch with a shop that fits, and the shop confirms the route, the treatment and the allowances on its quote.
Questions we get on this
Should I machine before or after heat treatment?
Usually both. Rough machine first, leaving stock. Heat treat. Then finish machine or grind the surfaces that carry tight tolerances. Machining to final size and then hardening almost always moves the part out of tolerance.
How much will a part grow or shrink in hardening?
It depends on the steel, the section and the quench. Size change of a few hundredths of a percent is common, and shape change such as bow or out-of-round is larger and less predictable. The shop that does the treatment can advise for your part.
Who does the heat treatment?
Often a specialist heat treater, separate from the machine shop. The machine shop usually arranges it, and its quote should state the treatment, the hardness check and the certificate.
Have a part like this?
Send the drawing. We review it and put you in touch with a shop in our network that runs the process and material, and answer within 24 business hours.
Send a drawing