Why this runs backwards
ISO 286 is written forwards. You choose a nominal size, a letter and a grade, and the standard gives you two numbers. That is what a designer needs and it is what every calculator implements. An inspector has the opposite problem: two numbers came off the parts, and the question is what they mean.
Working backwards is not just the forward calculation rearranged, because the answer is not unique. A bore measuring 15 µm above nominal at 25 mm sits inside H7, and also inside H8, H9 and H11, and inside J8 and several others. All of those are true statements. What makes the answer useful is ordering them — finest class first, since the finest class that contains a measurement is the strongest claim you can make about it — and reporting how much room is left before each one stops being true.
deviation = measured − nominal
clearance = bore − shaft
EI ≤ deviation ≤ ES (hole) ei ≤ deviation ≤ es (shaft)
A positive clearance is a clearance fit, a negative one is an interference, and the sign is the whole distinction. Note that a single pair of parts cannot be a transition fit: transition is a property of two tolerance zones that overlap, meaning some pairs assemble with clearance and others with interference. Your specific pair landed on one side or the other. The tool says which, and separately says whether the classes it matched are a transition pairing.
Why this tool is a table and not a formula
ISO 286 does publish formulae. The standard tolerance factor is i = 0.45 × ∛D + 0.001D, with D the geometric mean of the size step rather than your actual size, and the grades are multiples of it — IT7 is 16i, IT8 is 25i, and so on. It is tempting to implement that and be done.
It does not work. Computing the grades from the formula and comparing cell by cell against the published table, 47 of 156 cells disagree, worst case 16.7%. The mismatches are not spread evenly either — they cluster at the small end, where 10 of 12 grades are wrong below 3 mm and 9 of 12 between 3 and 6 mm. That is precisely where a great deal of inspection work sits. No rounding rule rescues it; the current edition of ISO 286-1 does not even print deviation formulae any more, having become a table-only standard.
So the numbers here are transcribed, not computed. The formulae appear on this page as explanation of where the table came from historically, and nowhere else. The one piece of structure worth keeping is the standard's internal rule that each grade is ten times the grade five steps finer — that holds for 77 of 78 pairs in the published table, and it is used here as a consistency check on the transcription rather than as a source of values.
The corrections that catch people out
Hole deviations are mostly the mirror of the shaft letter of the same name: EI = −es for A through H, ES = −ei for K through ZC. Mostly. For holes K, M and N up to and including IT8, and P through ZC up to and including IT7, the standard adds a correction term Δ, the difference between the grade in use and the next finer grade. Its purpose is specific: it makes a shaft-basis fit deliver exactly the same clearance as the equivalent hole-basis fit, so that H7/p6 and P7/h6 are genuinely interchangeable. Skip it and your K7 hole is wrong by several microns.
A few more that a simplified implementation misses: the correction never applies at or below 3 mm; hole N is defined as exactly zero for IT9 and coarser; hole J exists only as J6, J7 and J8 and is asymmetric, so it cannot be derived at all; shaft t is undefined below 24 mm, which this tool reports rather than quietly treating as zero; and hole M6 in the 250–315 mm step is a hardcoded exception at −9 µm where the rule would give −11.
Margin matters more than the verdict
A pass/fail answer from a single measurement is a small lie, because the measurement has an uncertainty and the class boundary does not care. A bore 1 µm inside H7 and a bore 12 µm inside H7 are both "H7", and only one of them will still be H7 when a different inspector with a different gauge measures it on a different morning. So every candidate here carries its margin to the nearer limit, and the diagram shows the pin against the band rather than printing a verdict alone.
Where these numbers came from, and how they were checked
What this tool does not do
It identifies fits. It does not compute interference pressure, assembly or shrink-fit temperatures, or transmissible torque. Those look like the natural next step and they are not: a contact pressure without a hoop-stress check is a number that can burst a hub, and an assembly-temperature instruction is an instruction to heat something. If you need them, they belong with the design engineer who owns the joint and the material data, not with an inspection aid.