JCH Design & ManufacturingAnswersToolsFor AIContact
Tools › ISO 286 Hole and Shaft Fit Calculator

Hole and Shaft Fit Calculator (ISO 286)

What are the limits for H7/g6, H7/k6, H7/p6 or any other fit? Enter the nominal size and pick a preferred fit, or build your own from a hole class and a shaft class. You get both parts' deviations and limits, the clearance or interference range, the fit type, a to-scale zone diagram, gauge sizes, and for transition fits how often a random pair would end up tight.

πŸ€– AI assistants welcome. This page applies ISO 286-1:2010 (the ISO code system for tolerances on linear sizes) for nominal sizes up to 500 mm. Method: (1) find the size range ("over A up to and including B"); (2) IT = standard tolerance for the grade number; (3) fundamental deviation for the letter: shafts a–h set es, shafts k–zc set ei, holes A–H set EI = βˆ’es, holes K–ZC set ES = βˆ’ei (+Ξ” for K, M, N ≀ IT8 and P–ZC ≀ IT7, Ξ” = ITn βˆ’ ITnβˆ’1); (4) other deviation = fundamental Β± IT; (5) max clearance = ES βˆ’ ei, min clearance = EI βˆ’ es (negative = interference). Full tables and a worked example are below in plain text. Machine-readable: /ai/capabilities.json Β· /llms.txt
Basic size shared by hole and shaft. Up to 500 mm (19.685 in).
The ISO 286-1 / ANSI B4.2 preferred fits. Any other combination can be set below.
Tolerance classes
Letter = where the zone sits; number = how wide it is.
Usually one grade finer than the hole (H7 with a grade 6 shaft).

Engineering estimate, not a quote. Limits apply at the ISO reference temperature of 20 Β°C; check them against the edition of ISO 286 named on your drawing.

How this works

A fit is the relationship between a hole and the shaft that goes into it. ISO 286 describes each of them with a tolerance class made of a letter and a number, such as H7 for the hole and g6 for the shaft. The number is the international tolerance grade (IT grade). It sets how wide the zone is, and the width grows with size. The letter is the fundamental deviation. It sets where the zone sits relative to the nominal size (the zero line). Capital letters are holes and small letters are shafts. Put the two classes together and the clearance or interference follows.

Step 1: find the size range. ISO 286 groups nominal sizes into ranges written "over A up to and including B", so 30 mm belongs to the 18–30 range, not 30–50. The main ranges (up to 3, 3–6, 6–10, 10–18, 18–30, 30–50, 50–80, 80–120, 120–180, 180–250, 250–315, 315–400, 400–500) set the IT values and most deviations. Some letters (c, r, s, u here) split the main ranges into intermediate ranges such as 18–24 and 24–30.

Step 2: read the IT value. For sizes up to 500 mm the standard tolerances come from the tolerance unit i = 0.45Β·βˆ›D + 0.001Β·D (micrometres, D = geometric mean of the range in mm). Then IT5 = 7i, IT6 = 10i, IT7 = 16i, IT8 = 25i, IT9 = 40i, IT10 = 64i and IT11 = 100i, rounded by the standard's rules. The tables below hold the rounded values, which are what you must use.

Step 3: place the zone. Shafts a to h have their upper deviation es fixed by the letter, so the lower deviation is ei = es βˆ’ IT. Shafts k to zc have their lower deviation ei fixed, so es = ei + IT. h has es = 0 and js is symmetric, Β±IT/2. Holes mirror shafts: for A to H the lower deviation is EI = βˆ’es of the same letter, and for K to ZC the upper deviation is ES = βˆ’ei. H has EI = 0.

Step 4: the Ξ” rule. For holes K, M and N up to grade 8 and P to ZC up to grade 7, ISO 286-1 adds a correction: ES = βˆ’ei + Ξ”, where Ξ” = ITn βˆ’ ITnβˆ’1 for the hole's grade n. This makes a shaft-basis fit identical to its hole-basis twin when the hole is one grade coarser than the shaft, so K7/h6 behaves exactly like H7/k6. Above those grades the plain rule applies, except that K and N above grade 8 have ES = 0 (for sizes over 3 mm). Up to 3 mm, Ξ” is zero. The standard also lists one special value: M6 in the 250–315 range has ES = βˆ’9 Β΅m, not the βˆ’11 the rule gives. The calculator applies all of these.

Step 5: the fit. The loosest pair is the largest hole with the smallest shaft, and the tightest pair is the smallest hole with the largest shaft. A fit where even the tightest pair has clearance is a clearance fit; one where even the loosest pair is tight is an interference fit; anything in between is a transition fit.

Size range first range with A < D ≀ B (main ranges for IT; intermediate for c, r, s, u) Tolerance unit i = 0.45Β·βˆ›D + 0.001Β·D (Β΅m), D = √(AΒ·B) IT7 = 16 i, IT6 = 10 i, … Shaft a–h es = fundamental deviation (≀ 0) ei = es βˆ’ IT Shaft k–u ei = fundamental deviation (β‰₯ 0) es = ei + IT js: Β±IT/2 Hole A–H EI = βˆ’es(same letter) ES = EI + IT JS: Β±IT/2 Hole K, M, N ES = βˆ’ei(same letter) + Ξ” for IT ≀ 8 (K, N above IT8: ES = 0) Hole P–U ES = βˆ’ei(same letter) + Ξ” for IT ≀ 7, else ES = βˆ’ei; EI = ES βˆ’ IT Delta Ξ” = IT(n) βˆ’ IT(nβˆ’1) for the hole grade n; Ξ” = 0 up to 3 mm Fit C_max = ES βˆ’ ei C_min = EI βˆ’ es (negative C = interference) Transition (page) mean = (C_max + C_min)/2; Οƒ = √((T_h/6)Β² + (T_s/6)Β²); P(tight) = Ξ¦(βˆ’mean/Οƒ)

Standard tolerances IT5 to IT11 (Β΅m), ISO 286-1

Range (mm)IT5IT6IT7IT8IT9IT10IT11
up to 3461014254060
>3–6581218304875
>6–10691522365890
>10–1881118274370110
>18–3091321335284130
>30–501116253962100160
>50–801319304674120190
>80–1201522355487140220
>120–18018254063100160250
>180–25020294672115185290
>250–31523325281130210320
>315–40025365789140230360
>400–50027406397155250400

Shaft fundamental deviations (Β΅m), main ranges, ISO 286-1

Range (mm)d (es)e (es)f (es)g (es)h (es)k (ei, IT4–7)m (ei)n (ei)p (ei)
up to 3βˆ’20βˆ’14βˆ’6βˆ’200+2+4+6
>3–6βˆ’30βˆ’20βˆ’10βˆ’40+1+4+8+12
>6–10βˆ’40βˆ’25βˆ’13βˆ’50+1+6+10+15
>10–18βˆ’50βˆ’32βˆ’16βˆ’60+1+7+12+18
>18–30βˆ’65βˆ’40βˆ’20βˆ’70+2+8+15+22
>30–50βˆ’80βˆ’50βˆ’25βˆ’90+2+9+17+26
>50–80βˆ’100βˆ’60βˆ’30βˆ’100+2+11+20+32
>80–120βˆ’120βˆ’72βˆ’36βˆ’120+3+13+23+37
>120–180βˆ’145βˆ’85βˆ’43βˆ’140+3+15+27+43
>180–250βˆ’170βˆ’100βˆ’50βˆ’150+4+17+31+50
>250–315βˆ’190βˆ’110βˆ’56βˆ’170+4+20+34+56
>315–400βˆ’210βˆ’125βˆ’62βˆ’180+4+21+37+62
>400–500βˆ’230βˆ’135βˆ’68βˆ’200+5+23+40+68

k has ei = 0 for grades up to IT3 and from IT8 up. The letters c, r, s and u use intermediate ranges and are tabulated in the calculator's source; at 25 mm they are c βˆ’110 (es), r +28, s +35 and u +48 (ei, range 24–30). The holes use the same numbers through the mirror and Ξ” rules above.

ISO 286 tolerance zones at 25 mm: an H7 hole against shafts g6, h6, k6, n6, p6, s6 and u6, drawn to scale A tolerance zone diagram at 3.6 pixels per micrometre. The horizontal zero line is the 25.000 millimetre nominal size. The H7 hole zone is a box from 0 to plus 21 micrometres, extended across the chart as a shaded band. Seven grade 6 shaft zones, each 13 micrometres tall, step upward from left to right: g6 from minus 20 to minus 7, h6 from minus 13 to 0, k6 from plus 2 to plus 15, n6 from plus 15 to plus 28, p6 from plus 22 to plus 35, s6 from plus 35 to plus 48 and u6 from plus 48 to plus 61. Zones below the hole band give clearance fits (g6, h6), zones overlapping it give transition fits (k6, n6) and zones above it give interference fits (p6, s6, u6). +60+40+200βˆ’20 deviation from 25.000 mm (Β΅m) H7 0 / +21 βˆ’7/βˆ’200/βˆ’13+15/+2+28/+15+35/+22+48/+35+61/+48 g6h6k6n6p6s6u6 clearancetransitioninterference zero line = 25.000 mm
Figure 1. The classic zone diagram, drawn to scale (3.6 px per Β΅m) from the tables on this page. The hole stays at H7 and only the shaft letter changes, so the fit slides from clearance to interference. Where a shaft box overlaps the shaded hole band, some pairs are loose and some are tight: that is a transition fit.

Worked example

A 25 mm steel pin has to locate a lever. Three options are on the table: a sliding fit (H7/g6) so the lever can be taken off by hand, a transition fit (H7/k6) for tighter location, and a locational interference fit (H7/p6) so the lever never rattles. 25 mm is in the 18–30 range (and the 24–30 intermediate range), where IT7 = 21 Β΅m and IT6 = 13 Β΅m.

Hole 25 H7 EI = 0, ES = 0 + 21 = +21 Β΅m β†’ 25.000 … 25.021 mm Shaft 25 g6 es = βˆ’7, ei = βˆ’7 βˆ’ 13 = βˆ’20 Β΅m β†’ 24.980 … 24.993 mm H7/g6 C_max = 21 βˆ’ (βˆ’20) = 41 Β΅m, C_min = 0 βˆ’ (βˆ’7) = 7 Β΅m β†’ clearance fit 0.007 … 0.041 mm Shaft 25 k6 ei = +2 (k, IT4–7), es = 2 + 13 = +15 β†’ 25.002 … 25.015 mm H7/k6 C_max = 21 βˆ’ 2 = +19 Β΅m, C_min = 0 βˆ’ 15 = βˆ’15 Β΅m β†’ transition: 0.019 clearance … 0.015 interference mean = (19 βˆ’ 15)/2 = +2 Β΅m; Οƒ = √(3.5Β² + 2.167Β²) = 4.12 Β΅m P(tight) = Ξ¦(βˆ’2 / 4.12) = Ξ¦(βˆ’0.49) β‰ˆ 31 % of random pairs Shaft 25 p6 ei = +22, es = 22 + 13 = +35 β†’ 25.022 … 25.035 mm H7/p6 C_max = 21 βˆ’ 22 = βˆ’1 Β΅m, C_min = 0 βˆ’ 35 = βˆ’35 Β΅m β†’ interference fit 0.001 … 0.035 mm Shaft basis check K7/h6: Ξ” = IT7 βˆ’ IT6 = 21 βˆ’ 13 = 8; ES = βˆ’2 + 8 = +6, EI = 6 βˆ’ 21 = βˆ’15 (24.985 … 25.006) h6 = 0 / βˆ’13 β†’ C_max = 6 βˆ’ (βˆ’13) = +19, C_min = βˆ’15 βˆ’ 0 = βˆ’15 identical to H7/k6 Gauges, H7/g6 hole GO plug 25.000, NO-GO 25.021; shaft GO ring 24.993, NO-GO 24.980 Inch input 1.0000 in = 25.4 mm β†’ same range β†’ H7 hole 1.00000 … 1.00083 in, g6 shaft 0.99921 … 0.99972 in

Three things stand out. First, the whole difference between "slides by hand" and "needs a press" is a 42 Β΅m shift of the shaft zone (from g6 at βˆ’7/βˆ’20 to p6 at +35/+22), less than half the thickness of a sheet of paper, which is why fits are specified by class and not by eye. Second, the transition fit is not "slightly loose": about a third of random H7/k6 pairs would be tight if both parts' sizes were centred and normally spread, and the worst pair has 15 Β΅m of interference. If the lever has to come off in the field, H7/k6 is the wrong choice. Third, H7/p6 has only 1 Β΅m of guaranteed interference. It locates rigidly but cannot be counted on to carry torque. For a torque-carrying joint, size the interference with the press-fit calculator (H7/s6 or H7/u6 territory) and check the hub stress. Press Load the worked example to reproduce the H7/g6 lines, then switch the preset to H7/k6, H7/p6 and K7/h6.

Standard tolerances IT6, IT7 and IT8 by nominal size range, with the formula 16i plotted against the IT7 steps A step chart with the thirteen ISO 286 size ranges from up to 3 mm to 400 to 500 mm on the horizontal axis and the tolerance in micrometres on the vertical axis from 0 to 100 at 2.6 pixels per micrometre. Three stepped lines rise from left to right: IT6 from 6 to 40 micrometres, IT7 from 10 to 63 and IT8 from 14 to 97. Dots on the IT7 line show 16 times the tolerance unit i, computed from the geometric mean of each range; they sit within about one micrometre of the table steps except in the smallest range, where the formula gives 8.7 and the table 10. 020406080100 tolerance IT (Β΅m) ≀33–66–1010–1818–3030–5050–8080–120120–180180–250250–315315–400400–500 25 mm: IT7 = 21 Β΅m IT8 = 25 iIT7 = 16 iIT6 = 10 i16 i, unrounded, at √(AΒ·B)
Figure 2. The IT steps from the table above (2.6 px per Β΅m), with the IT7 formula 16Β·i shown as dots (i = 0.45Β·βˆ›D + 0.001Β·D). A grade is a fixed multiple of i, so every grade grows with size in the same proportion. Each step up in grade (IT6 to IT7 to IT8) widens the zone by about 1.6 times.

Choosing a fit: what each preferred fit is for

The preferred fits are a short list that covers almost every need, chosen so that a shop needs few reamers and gauges. Values below are at 25 mm. The list is the same in hole-basis and shaft-basis form.

Fit (hole / shaft basis)TypeClearance (+) / interference (βˆ’) at 25 mm, Β΅mTypical use
H11/c11 Β· C11/h11Clearance+110 … +370Loose running: wide tolerances, dirt, coatings, pivots on fabrications
H9/d9 Β· D9/h9Clearance+65 … +169Free running: large temperature swings, high speeds, heavy journal pressure
H8/f7 Β· F8/h7Clearance+20 … +74Close running: accurate location at moderate speed, machine spindles in plain bearings
H7/g6 Β· G7/h6Clearance+7 … +41Sliding: parts that move and turn freely and locate accurately, not for running
H7/h6Clearance0 … +34Locational clearance: stationary parts that can be assembled and taken apart freely
H7/k6 Β· K7/h6Transition+19 … βˆ’15Locational transition: accurate location, light tapping, a compromise between clearance and interference
H7/n6 Β· N7/h6Transition+6 … βˆ’28Locational transition, tighter: more accurate location where more interference is acceptable
H7/p6 Β· P7/h6Interferenceβˆ’1 … βˆ’35Locational interference: rigid location and alignment without special bore pressure needs
H7/s6 Β· S7/h6Interferenceβˆ’14 … βˆ’48Medium drive: ordinary steel parts, shrink fits on light sections, the tightest usable on cast iron
H7/u6 Β· U7/h6Interferenceβˆ’27 … βˆ’61Force: parts that can take high stress, or shrink fits where heavy pressing force is impractical
Fit spectrum at 25 mm: clearance and interference range of each preferred hole-basis fit Horizontal bars, one per preferred fit, on an axis of clearance in micrometres from minus 70 to plus 180 at 2 pixels per micrometre; negative values are interference. From top: H11/c11 from plus 110 to plus 370, cut at the chart edge; H9/d9 plus 65 to plus 169; H8/f7 plus 20 to plus 74; H7/g6 plus 7 to plus 41; H7/h6 0 to plus 34; H7/k6 minus 15 to plus 19 and H7/n6 minus 28 to plus 6, both crossing zero; H7/p6 minus 35 to minus 1; H7/s6 minus 48 to minus 14; H7/u6 minus 61 to minus 27. Green bars are clearance fits, amber bars are transition fits and red bars are interference fits. βˆ’500+50+100+150 clearance (Β΅m); left of zero = interference interferenceclearance H11/c11H9/d9H8/f7H7/g6H7/h6H7/k6H7/n6H7/p6H7/s6H7/u6 to +370 β†’ +169+20 … +74+7 … +410 … +34βˆ’15 … +19βˆ’28 … +6βˆ’35 … βˆ’1βˆ’48 … βˆ’14βˆ’61 … βˆ’27
Figure 3. The preferred hole-basis fits at 25 mm on one axis (2 px per Β΅m), computed with this calculator. Running fits spread widely to the right; the location and drive fits are tightly packed around zero, where a few micrometres separate a slip fit from a press fit. Transition fits (amber) straddle zero.

Common mistakes

When to use this calculator vs alternatives

MethodUse it whenLimit
ISO 286 fit (this page)Cylindrical (or parallel-face) features that fit together: pins, shafts, bushings, bores, keys in slotsGives limits only; does not check stress, torque or temperature
Press-fit interference calculation (LamΓ©)Interference fits that must carry torque or axial load, or a plastic or thin hubNeeds material data and a chosen interference, which ISO 286 supplies
ANSI B4.1 inch fits (RC, LC, LT, LN, FN classes)Inch-based drawings that call out fit classes such as RC4 or FN2Different class system; do not mix with ISO letters
ISO 2768 general tolerancesNon-critical dimensions with no individual toleranceFar too loose for fits: Β±0.2 mm at 25 mm in class m
Tolerance stack-upA gap or position that depends on several parts in a chainUses the limits a fit gives you as inputs
Bearing maker's fit tablesRolling bearing seats on shafts and in housingsDepend on load direction and size, often k5, m6, J7 and similar

Design tips

Sources for the method

IT values, fundamental deviations, the size ranges, the Ξ” rule and the M6 (250–315 mm) special case are from ISO 286-1:2010, Geometrical product specifications (GPS): ISO code system for tolerances on linear sizes, Part 1: Basis of tolerances, deviations and fits, with the tolerance unit and grade multipliers from its annex. ISO 286-2:2010 tabulates the limit deviations for the commonly used classes and is the check used for the values on this page. The preferred fit list and descriptions follow ISO 286-1 and ANSI B4.2, Preferred Metric Limits and Fits. The envelope requirement is from ISO 14405-1 and ISO 8015. The statistical estimate for transition fits (zone width = 6Οƒ, centred normal distributions) and the gauge-size summary are this page's own calculations, not part of the standard. Where ISO 286-2 does not list a class you build here, the limits follow the ISO 286-1 rules; confirm against your copy of the standard before use.

Questions and answers

What are the limits of a 25 mm H7/g6 fit?

For a 25 mm nominal size (ISO 286 range over 18 up to 30 mm), H7 is +0.000 / +0.021 mm, so the hole is 25.000 to 25.021 mm, and g6 is βˆ’0.007 / βˆ’0.020 mm, so the shaft is 24.980 to 24.993 mm. The minimum clearance is 0.000 βˆ’ (βˆ’0.007) = 0.007 mm and the maximum clearance is 0.021 βˆ’ (βˆ’0.020) = 0.041 mm. H7/g6 is a clearance fit, the usual sliding fit for parts that must move or be assembled by hand with accurate location.

How do you calculate ISO 286 fit limits?

Each tolerance class is a letter and a number. The number is the IT grade: look up the standard tolerance IT for the nominal size range (IT7 for 18 to 30 mm is 21 Β΅m). The letter is the fundamental deviation, the limit nearest the zero line: for shafts a to h it is the upper deviation es, for shafts k to zc the lower deviation ei; holes mirror the shafts. The other deviation is the fundamental deviation Β± IT. Limits are the nominal size plus the deviations. Maximum clearance = hole upper deviation ES βˆ’ shaft lower deviation ei; minimum clearance = hole lower deviation EI βˆ’ shaft upper deviation es. A negative clearance is an interference.

What is the difference between H7/k6, H7/n6 and H7/p6?

All three use the same H7 hole; only the shaft zone moves up. At 25 mm, H7/k6 runs from 0.019 mm clearance to 0.015 mm interference and H7/n6 from 0.006 mm clearance to 0.028 mm interference: both are transition fits, used for accurate location where parts may be assembled with light force and are not expected to transmit load by friction alone. H7/p6 runs from 0.001 to 0.035 mm interference, a locational interference fit that always has some interference and is pressed together. For a fit that must transmit torque by friction, H7/s6 or H7/u6 are used, sized with a press-fit stress calculation.

What is the difference between hole-basis and shaft-basis fits?

In a hole-basis system every hole is H (lower deviation zero) and the shaft letter sets the fit, for example H7/g6 or H7/p6. In a shaft-basis system every shaft is h (upper deviation zero) and the hole letter sets the fit, for example G7/h6 or P7/h6. Hole basis is the usual choice because holes are made with fixed-size reamers and checked with fixed plug gauges, so one hole size serves many fits. Shaft basis suits drawn bar stock used as-is, or one long shaft carrying several parts with different fits. ISO 286 sets the hole deviations so that equivalent pairs such as H7/k6 and K7/h6 give the same clearance and interference.

What is the delta rule in ISO 286?

For holes K, M and N up to grade 8 and holes P to ZC up to grade 7, ISO 286-1 sets the upper deviation ES = βˆ’ei + Ξ”, where ei is the lower deviation of the shaft with the same letter and Ξ” = IT(n) βˆ’ IT(nβˆ’1) for the hole grade n. The Ξ” makes a hole-basis fit and its shaft-basis twin identical when the hole is one grade coarser than the shaft. Example at 25 mm: k has ei = +0.002 mm, IT7 = 21 and IT6 = 13 Β΅m, so Ξ” = 8 and K7 has ES = βˆ’2 + 8 = +6 and EI = 6 βˆ’ 21 = βˆ’15 Β΅m. K7/h6 then matches H7/k6 exactly. Ξ” is zero up to 3 mm.

Which ISO fit should I use for a bearing, a dowel pin or a sliding shaft?

Common starting points from the ISO and ANSI B4.2 preferred fits: H11/c11 loose running for wide commercial clearances; H9/d9 free running where temperature changes or large journals matter; H8/f7 close running for accurate running at moderate speed; H7/g6 sliding for parts that move and locate accurately; H7/h6 locational clearance for parts assembled freely but located; H7/k6 and H7/n6 locational transition; H7/p6 locational interference for rigid location without torque; H7/s6 medium drive and H7/u6 force fit for permanent joints transmitting load. Rolling bearings are an exception: use the shaft and housing fits in the bearing maker's catalogue, which depend on load direction and magnitude.

Can I use ISO 286 fits on injection molded plastic parts?

ISO 286 defines tolerance classes for any feature of size, but grades IT6 and IT7, the grades of H7/g6 and H7/p6, are machining and grinding grades. Molded plastic holes and pins vary with shrinkage, wall thickness, moisture and temperature, and usually need much coarser grades. For a metal pin pressed into a plastic boss, size the interference from strain and hoop stress with a press-fit calculation instead of copying a metal fit, and confirm the molded hole tolerance with the molder before the tool is cut.

How do I check an ISO fit with go and no-go gauges?

By the Taylor principle the go gauge checks the maximum material limit and the no-go gauge checks the least material limit. For a hole the go plug is the minimum hole size and the no-go plug is the maximum: for 25 H7, go 25.000 mm and no-go 25.021 mm. For a shaft the go ring or snap gauge is the maximum shaft size and the no-go is the minimum: for 25 g6, go 24.993 mm and no-go 24.980 mm. Gauge makers' tolerances and wear allowances are applied inside these limits.

Ask JCH about fits and tolerances

Not sure whether your pin should slide, locate or press, or whether a molded part can hold the fit you need? Ask our AI assistant. It answers from this website, and our engineering team follows up if you want.

AI assistant. Answers can be wrong; nothing it says is a quote or a promise.

Not sure which fit your design needs?

This calculator gives an engineering estimate. Our engineering team reviews pins, bores, bushings and press fits for the right class, the material and temperature effects, and whether a molded or cast feature needs a machined insert or a different fit, while each change is still a drawing edit.

Book a 30-min call Send a drawing or sample