Toolvito

Works on this device

Shaft Fit Calculator

Find the largest and smallest size of a shaft, and how it fits in a hole. Type a tolerance class such as g6, or the limit deviations from your drawing. The page gives the limits, the kind of fit, and the largest and smallest clearance or interference.

Enter your values

The limits of the hole and the shaft, the kind of fit, and the largest and smallest clearance or interference.

Your values

The size on the drawing that the deviations are counted from. A tolerance class needs a size above 3 mm up to 500 mm.

Capital letters and a grade number. In the table of this page: D, E, F, G, H, JS, K, M, N, P, R, S, T, U, grades 5 to 18.

Small letters and a grade number. In the table of this page: d, e, f, g, h, js, k, m, n, p, r, s, t, u, grades 5 to 18.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

How to use this calculator

  1. Choose Fit of a shaft in a hole, Limits of a shaft, or the Table of shaft classes at one size.
  2. Type the nominal size. This is the size on the drawing that the deviations are counted from.
  3. For each part, choose how it is given: a tolerance class such as H7 or g6, the two limit deviations, or the largest and smallest size.
  4. Choose Calculate. You can change the unit of each result, copy the result, print it, or download it as a CSV file.

What the page works out

  • Limits of size: largest size = nominal size + upper deviation, and smallest size = nominal size + lower deviation.
  • Tolerance = upper deviation − lower deviation.
  • Largest clearance = largest hole − smallest shaft. Smallest clearance = smallest hole − largest shaft. A clearance below zero is an interference.
  • Clearance fit: there is always a clearance. The smallest hole is not smaller than the largest shaft.
  • Interference fit: there is always an interference. The largest hole is not larger than the smallest shaft.
  • Transition fit: the parts can end with a small clearance or a small interference.
  • All sums are done on the exact decimals that you type, so 0.025 − 0.009 gives 0.016 and not a rounded value.

Which tolerance classes are built in

A tolerance class is a letter and a grade number. The letter sets where the tolerance lies (the fundamental deviation). The grade sets how wide it is (the standard tolerance IT). Small letters are for shafts and capital letters are for holes.

The values are tables of the standard ISO 286-1. They were typed for this page after the 2010 edition, and only the part of the tables that passed our checks is built in. For every other class the page tells you so, and you type the deviations from the standard or the drawing.

Tolerance classes in the table of this page
Item Built in Not built in: type the deviations
Nominal size Above 3 mm up to 500 mm Up to 3 mm, and above 500 mm
Grades IT5 to IT18 IT01, IT0 and IT1 to IT4
Shaft letters d, e, f, g, h, js, k, m, n, p, r, s; t above 30 mm; u above 18 mm a, b, c, cd, ef, fg, j, v, x, y, z, za, zb, zc; t up to 30 mm; u up to 18 mm
Hole letters D, E, F, G, H, JS; K in grades 6 to 8; M, N, P, R, S, T, U from grade 6 A, B, C, CD, EF, FG, J, V, X, Y, Z, ZA, ZB, ZC; K to U in grade 5; K coarser than grade 8
Inch fit classes (RC, LC, LT, LN, FN) None All: type the limits from your standard

Worked example

25 H7/g6. For sizes above 18 mm up to 30 mm, IT7 is 21 µm and IT6 is 13 µm. The hole H7 has the deviations +21 and 0 µm, so it is 25.000 to 25.021 mm. The shaft g6 has the deviations −7 and −20 µm, so it is 24.980 to 24.993 mm.

Largest clearance = 25.021 − 24.980 = 0.041 mm. Smallest clearance = 25.000 − 24.993 = 0.007 mm. The mean is 0.024 mm. Both are above zero, so this is a clearance fit.

25 H7/k6. The shaft k6 is 25.002 to 25.015 mm. The largest clearance is 0.019 mm and the largest interference is 0.015 mm, so this is a transition fit.

Where the neighbouring jobs are

Limits you should know

  • The tables on this page are not the standard. They follow ISO 286-1:2010 as far as we could check them. The drawing and the current standard decide, so check a limit against the standard before you cut metal for a part that matters.
  • The page does not replace a formula value for a class that is not in its table. It asks for the deviations.
  • Sizes on a drawing hold at 20 °C. The result does not look at form errors, surface roughness, or the uncertainty of your measurement.
  • The page does not choose a fit for a job. Which fit a bearing seat, a gear or a pin needs is a design decision for an engineer.
  • The weight, the bending or the strength of a shaft is not on this page.

Related tools