H7/g6 and other fits: ISO tolerances made simple
A drawing says Ø25 H7 for a bore and Ø25 g6 for the shaft that goes in it. Those letters and numbers are ISO 286 tolerance codes. They tell you the exact limits to machine to, and together they tell you how the parts fit: sliding, tight, or pressed.
Letter and number
- The letter is the position of the tolerance zone compared with the nominal size. Capital letters are holes (H, J, K…), small letters are shafts (g, h, k, p…).
- The number is the IT grade: how wide the tolerance is. 6 is tighter than 7.
H holes start exactly at the nominal size and go up. h shafts start at the nominal size and go down. Letters before h (f, g) make the shaft smaller: clearance. Letters after h (k, n, p) make it bigger: transition or interference.

Limits for Ø25 (the 18 – 30 mm size range)
| Code | Upper | Lower | Size limits |
|---|---|---|---|
| H7 (hole) | +0.021 | 0 | 25.000 – 25.021 |
| f7 (shaft) | −0.020 | −0.041 | 24.959 – 24.980 |
| g6 (shaft) | −0.007 | −0.020 | 24.980 – 24.993 |
| h6 (shaft) | 0 | −0.013 | 24.987 – 25.000 |
| k6 (shaft) | +0.015 | +0.002 | 25.002 – 25.015 |
| p6 (shaft) | +0.035 | +0.022 | 25.022 – 25.035 |
These values are for 18 – 30 mm only. The IT grade widths grow with size: IT6 is 13 µm and IT7 is 21 µm in this range. For other sizes, use an ISO 286 table or a fits calculator.
What each fit does
| Fit | Type | Ø25 result | Typical use |
|---|---|---|---|
| H7/f7 | Clearance | 0.020 – 0.062 clear | Running shafts in plain bearings |
| H7/g6 | Clearance (close) | 0.007 – 0.041 clear | Sliding, locating pins, spigots |
| H7/h6 | Clearance (snug) | 0 – 0.034 clear | Locating fits, can be assembled by hand |
| H7/k6 | Transition | 0.019 clear to 0.015 tight | Bearing inner rings, gears on shafts with a key |
| H7/p6 | Interference | 0.001 – 0.035 tight | Pressed bushes, permanent assembly |
The system where the hole is always H and the shaft letter changes is called hole basis. It is the most common, because holes are made with fixed-size tools (reamers, gauges) and shafts are easy to turn to any size.
How to machine to a fit
- Aim for the middle of the tolerance, not the edge. For g6 on Ø25, aim for 24.987.
- Measure at room temperature. A shaft straight from the machine can be several microns bigger. See the warm-up and thermal growth posts in this series.
- Use the right gauge: a micrometer for a shaft, a bore gauge or plug gauge for an H7 hole.
- For a 13 µm tolerance, set the wear offset in small steps (0.005 mm) and check every few parts.
Common mistakes
- Reading the shaft limits as plus: g6 is below nominal.
- Using the Ø25 values on a Ø50 part. Each size range has its own limits.
- Making the shaft at the top limit "to be safe" on a press fit, and splitting the hub.
Always use the tolerance written on the drawing. The values here are from ISO 286 for the 18 – 30 mm range, shown as an example.
Calculators, process sheet to program, simulation, codes and lessons. Free to start, no sign-in, on phone and laptop.
Open the app

