Pitch Diameter Calculator
Find a metric thread basic, maximum and minimum pitch diameter.
External, internal or both; grades 3 to 9 and positions e, f, g, h, G and H.
Updated November 18, 2026
What pitch diameter is
A screw thread has three diameters, and only one of them decides whether two parts will screw together. The major diameter is the outside size you buy — the 10 in M10. The minor diameter is the core the thread is cut down to. The pitch diameter is the one you cannot reach with calipers: it is the diameter at which the width of the thread and the width of the groove beside it are equal.
That last number is where two threads actually bear on each other. A bolt and a nut can share the same major diameter and the same pitch and still refuse to mate, because one of them has its flanks in the wrong place. This is why a thread callout never stops at the size and the pitch: M25 × 1.5 - 6g carries a tolerance class as well, and the two characters of that class are what this page turns into millimetres.
The page reports the basic pitch diameter — the zero-allowance reference the thread is defined from — and the maximum and minimum pitch diameter that a thread of the chosen class is allowed to have. Both limits are shown, because a thread can fail on either side: too large and it will not start, too small and it will be loose in a nut that passes its own inspection. Choose the external thread for a bolt, screw or stud, the internal thread for a nut or a tapped hole, or the third option to size both halves of the same joint.
The diameter boxes work in both directions. Type the callout and they report the band; type a pitch diameter you have measured and the page solves the thread size from it, then rebuilds the whole band around that. The two tolerance-class controls and the pitch always stay choices, because a solved pitch of 1.5011 mm or a solved grade of 6.4 would describe a thread that does not exist.
Underneath the three diameters the page also shows the small quantities the band is built from — the height of the fundamental triangle, the fundamental deviation that the class letter sets, and the pitch diameter tolerance the grade sets. Those are in a collapsed group at the bottom of the form, and they are worth opening at least once: they turn a pair of unexplained limits into arithmetic you can check against a table in a handbook.
What you need before you start
A callout, or the three facts a callout contains: the nominal major diameter, the pitch, and the tolerance class. If the drawing only says M10, the pitch is the coarse pitch of that size (1.5 mm) and the class should be on the drawing somewhere as 6g, 6H or similar. Without the class the page still gives you the basic pitch diameter, which is the same for every class, but it cannot give you a band to inspect against.
Sizing a thread from its callout
Everything the page asks for comes off one line of a drawing. Take M25 × 1.5 - 6g: 25 mm of major diameter, a 1.5 mm pitch, grade 6 and position g. Six steps turn that into a band — or, if you already have a measurement, into a thread size.
Say which side you are sizing
External thread for a bolt, screw or stud; internal thread for a nut, a threaded insert or a tapped hole; both sides when you need the pin and the hole it goes into. The choice controls which results exist, so nothing from the other side of the joint can influence the numbers you are reading.
Pick the pitch
The second number in the callout, in millimetres. Twenty-four standard sizes are offered, from 0.2 mm on micro screws to 6 mm on the largest metric sizes. A callout that names a pitch states it explicitly, whether it is the coarse pitch or a fine one, and the number must be entered as written; a bare M10 means the coarse pitch of that size, 1.5 mm.
Enter the basic major diameter
The number before the × — the nominal size, not something you measured. Entering 10.02 instead of 10 describes a different thread, so use the nominal figure and keep the measurement for the inspection step. The unit menu offers micrometres, millimetres, centimetres and inches; the inch is exactly 25.4 mm, so nothing is lost switching between them.
Set the tolerance class
Two controls, because a class has two halves. The grade menu picks the width of the tolerance zone (3 to 9 on a bolt thread, 4 to 8 on a nut thread); the position radio picks where that zone sits relative to the basic pitch diameter (e, f, g or h on a bolt, G or H on a nut). In the both-sides mode each side keeps its own pair, which is what you want when you are checking a specific bolt against a specific nut.
Read the two limits
The maximum and minimum pitch diameter are the band. Anything inside it is acceptable for that class; anything outside is not, however well the part happens to fit the nut in your hand. The basic pitch diameter above them is a reference, not a target — most threads are deliberately cut a little below it.
Or start from a pitch diameter you have measured
Four boxes on the page accept a measurement instead of reporting one: the basic pitch diameter on each side, the maximum pitch diameter of a bolt thread and the minimum pitch diameter of a nut thread. Type a reading into one of them and the page solves the major diameter, then redraws every other diameter from it. Those are the boxes whose value is a fixed distance from the major diameter; the opposite limit on each side carries the pitch diameter tolerance, which itself depends on the size, so it stays a result.
The honest use is a limit check. A 6g bolt on an M25 × 1.5 must not exceed a 23.9942 mm pitch diameter, so entering 23.9942 in the maximum box solves the size back to 24.99998 mm — an M25 thread — and shows the band that goes with it. Entering a reading from the middle of a band asks a different question: "what size would put this measurement at the maximum?", and the answer will sit up to one band-width away from the part in your hand. For identification, round the solved size to the nearest standard size.
M25 × 1.5 - 6g worked through
The pitch gives the height of the fundamental triangle, which gives the basic pitch diameter:
Then the class: position g sets the deviation, grade 6 sets the tolerance.
And the two limits follow from those:
The 6g band for this thread is therefore 23.8482 mm to 23.9942 mm. Notice how narrow it is: 146 μm, about a seventh of a millimetre. On a part this size the difference between a thread that gauges and one that does not is smaller than the line on a steel rule, which is why the limits are worth computing rather than estimating.
The same callout on the nut side
Switch to the internal thread and the callout becomes M25 × 1.5 - 6H: the basic pitch diameter is identical at 24.0257 mm, but the band now runs upward from it. Position H adds no allowance, so the minimum pitch diameter is the basic one, and grade 6 on an internal thread is wider than grade 6 on an external one — TD2 comes out at 192.773 μm, so the nut band is 24.0257 mm to 24.2185 mm. A nut and a bolt of the same pitch therefore have overlapping but different bands, which is exactly what lets them assemble.
How the band is built
Five relationships cover the whole page. Four of them run outward from the pitch and the major diameter to the diameters and the band; the diameter relations also run inward, which is what lets a measured pitch diameter come back in as an input and be turned into a thread size.
The 60° profile fixes the basic pitch diameter
The metric thread is an equilateral triangle of side P, and the basic profile is that triangle truncated by an eighth of its height at the crest and a quarter at the root. What is left puts the basic pitch diameter three quarters of H below the major diameter. Because a basic internal and a basic external thread are two halves of one profile, the same relation gives the nut's basic pitch diameter from the same two numbers.
The class letter sets a deviation, the grade sets a tolerance
Both expressions are in millimetres, and and are the small integers the position letter stands for. The external deviation is negative — it is an allowance below the basic pitch diameter — and the internal one is positive, because a nut's tolerance zone starts above it.
| Position | Offset | Deviation at M25 × 1.5 |
|---|---|---|
| e (external) | 50 | −66.5 μm |
| f (external) | 30 | −46.5 μm |
| g (external) | 15 | −31.5 μm |
| h (external) | 0 | 0 μm |
| G (internal) | 1 | +31.5 μm |
| H (internal) | 0 | 0 μm |
The grade multiplies the pitch diameter tolerance, which grows slowly with both the pitch and the diameter:
| Grade | k, external thread | k, internal thread |
|---|---|---|
| 3 | 0.5 | not tabulated |
| 4 | 0.63 | 0.85 |
| 5 | 0.8 | 1.06 |
| 6 | 1 | 1.32 |
| 7 | 1.25 | 1.7 |
| 8 | 1.6 | 2.12 |
| 9 | 2 | not tabulated |
The two graded scales are why a 6H nut is not simply the mirror image of a 6g bolt. Grade 6 on the external side multiplies by 1 and on the internal side by 1.32, and the difference is practical: a tap cuts slightly oversize, so the nut tolerance is wider to match what tapping can actually hold. The page uses the same exponents as the tabulated law — 0.4 on the pitch, 0.1 on the diameter — rather than a rounded-up rule of thumb, so a large thread and a small one are both handled by the same expression.
The two limits bracket the band
Lengths are normalised before anything is computed
The formulas are written in millimetres, and any other unit you choose is converted on the way in and on the way out:
with , , and . The inch factor is exact by definition, so a thread entered in inches and the same thread entered in millimetres produce the same band to the last digit, and switching a result to micrometres only rewrites the number.
Why the basic pitch diameter never moves
It is the zero-allowance reference of the profile, so it depends on the pitch and the major diameter and on nothing else. Grade 3 and grade 9 share the same basic pitch diameter; what changes between them is how much room is left around it. If you are comparing two classes, compare their limits — comparing their basic pitch diameters will always show zero difference.
Three threads worked through
The same arithmetic covers a bolt, a nut and a part in your hand. Each case below can be reproduced by entering the same pitch, diameter and class.
The same bolt in 6g and in 6h
M10 × 1.5 has a basic pitch diameter of 9.0257 mm. Position g takes 31.5 μm of allowance off the top of it; position h takes nothing, so the maximum pitch diameter is the basic one.
| Class | Maximum pitch diameter | Minimum pitch diameter |
|---|---|---|
| 6e | 8.9592 mm | 8.8260 mm |
| 6g | 8.9942 mm | 8.8610 mm |
| 6h | 9.0257 mm | 8.8925 mm |
All three are grade 6 and all three are the same thread; the letter alone slides the whole band. e sits furthest below nominal and is the loosest of the four positions, which is why it turns up where a generous clearance is wanted. h leaves the thread at nominal, so it is chosen when the thread has to be at full size — and it is the position that leaves no room for a coating, because plating adds metal where the allowance would have been.
The same nut in 6H and in 6G
M12 × 1.75 has a basic pitch diameter of 10.8633 mm and an internal tolerance of 190.524 μm at grade 6. Position H adds no allowance; position G shifts the zone outward by 34.25 μm.
| Class | Minimum pitch diameter | Maximum pitch diameter |
|---|---|---|
| 6H | 10.8633 mm | 11.0539 mm |
| 6G | 10.8976 mm | 11.0881 mm |
Read the two bands together and the pattern of the whole system becomes visible: a nut's band starts at or above the basic pitch diameter, a bolt's band ends at or below it, and the gap between them is the clearance the joint will have. That is also the reason the calculator offers the both-sides option — with it, the bolt band and the nut band appear together under one set of inputs, and you can see the clearance rather than infer it.
A measured bolt checked against its band
Take an M10 × 1.5 - 6g bolt whose pitch diameter measures 8.98 mm on a thread micrometer. The band from the first example is 8.8610 mm to 8.9942 mm, so the bolt is inside it, with 14 μm to spare at the top. A second bolt from the same box measures 9.01 mm: it is 16 μm above the maximum, and it is out of tolerance even though it may well still start in a nut, because the nut has its own band and its own clearance.
One measured number, one class
Write the class next to the reading when you record it. "8.98 mm" on its own says nothing about whether the part is good; 8.98 mm against a 6g band does. And measure the pitch diameter, not the outside diameter: the major diameter of a bolt is usually a little below its nominal size and is not the dimension the band describes.
Using the limits on a real thread
The two limits are not two guesses; they are the two ways a thread can be wrong. Which one you are most likely to hit depends on which side of the joint you are making.
- On a bolt thread, the maximum is the limit you hit when the thread is cut too full: the flanks are too thick and the part will not start in a nut that is itself in tolerance. The minimum is the opposite failure — flanks too thin, a thread that screws in easily and then rocks.
- On a nut thread, the minimum is the limit you hit when the hole is tapped too small, and the maximum when it is tapped too large. The direction reverses, which is why the page labels the two limits per side instead of showing a single pair.
- Gauges check one limit each. A GO gauge is made to the maximum material condition — the largest permitted size on a bolt, the smallest on a nut — and must enter; the NO-GO gauge is made to the opposite limit and must not. That is why a part has to be inside both numbers, and why passing a single gauge proves nothing on its own.
- Measure the same thing the page computes. A pitch micrometer or a three-wire set gives a pitch diameter directly; calipers over the crests give a major diameter, which the band says nothing about.
- Compare in one unit. The limits are shown in millimetres by default and the deviations in micrometres, because that is how the tables are printed. Convert both the reading and the band to the same unit before deciding, and keep five decimals for a thread this small — 146 μm is the whole band on an M25.
Two practical habits
Clean the thread before measuring and take readings at two or three places along it, because a thread can be in tolerance at the start and out of it near the end. And measure at the same temperature as the gauge or the mating part where the tolerance is this tight.
If the bolt has to pass through a plate before it reaches the thread, the hole in that plate is a separate question from the thread itself: the clearance hole calculator sizes it from the shank diameter and the head width. Once the thread is accepted and the joint is being tightened, the bolt torque calculator turns the clamping force you need into a wrench setting.
What the page does not check
The band is a proper limit for the pitch diameter of a 60° ISO metric thread in the condition the profile describes. It is not a full inspection, and several real-world effects sit outside it.
- Metric threads only. The unison, unified and Whitworth families have their own truncations, allowances and pitch series, and an inch-series thread will not match these numbers even when its nominal size and pitch look identical.
- Simple pitch diameter, not virtual. The limits come from the basic profile. Flank-angle error and lead error also consume tolerance on a real part, which is why a functional gauge may reject a thread whose measured pitch diameter is inside the band — and, occasionally, accept one that is slightly outside it.
- No gauge dimensions. The page gives the limits a thread must sit between; it does not give the setting dimensions, tolerances or wear allowances of the gauges used to check them.
- Pitch diameter only. The major and minor diameters, the thread length, the runout and the crest flat have their own limits, and none of them are computed here.
- One part at a time. The both-sides mode puts a bolt band and a nut band side by side; it does not decide whether a particular bolt class and nut class are a declared fit, and it does not model coatings that change the finished size of either part.
- Half the boxes are results. A measured pitch diameter can be typed into the basic or the maximum-material box and solved for the thread size, but it cannot be solved for a class. The pitch, the grade and the position letter are choices from tabulated series, so the page will not invent a pitch of 1.5011 mm from a measurement, and the two limits that carry the pitch diameter tolerance have no inverse at all.
Measurement is the part most often underestimated. A thread micrometer reading on a 1.5 mm pitch thread carries the instrument's own uncertainty, the difference between the wires you use and the ones the calculation assumes, the effect of temperature, and the fact that a thread can be in tolerance at one point and out at another. The band is narrow; treat a reading that sits within a few micrometres of a limit as a case for a second measurement or a gauge, not as a verdict.
Finally, the page is a calculation, not an inspection authority. Where a thread is part of a pressure boundary, a lifting arrangement, a structural connection or anything else governed by a specification, the acceptance criteria and the inspection method come from that specification and from whoever is qualified to apply it. Use these numbers to understand and to plan, and the drawing to accept or reject.
Questions that come up
Why does the tolerance class not change the basic pitch diameter?
Because the basic pitch diameter is the reference the class is measured from, not a result of it. It comes from the pitch and the major diameter through the 60° profile alone, which is why an M25 × 1.5 thread reports 24.0257 mm as its basic pitch diameter whether you select 6g, 6h or 8e.
What the class changes is the band around that reference: the position letter shifts it and the grade widens it. So when you compare two classes, compare the maximum and minimum pitch diameters — those are the numbers that differ.
My bolt measures below the minimum pitch diameter but still screws into a nut. Is the number wrong?
The number is right; the fit is a different question. A nut that is on the generous side of its own band can accept a bolt that is outside its band, and the pair will assemble happily while one of the two parts is scrap by specification.
The reverse also happens: a thread can sit inside its pitch diameter band and still be rejected by a functional gauge, because flank-angle and lead errors are not part of the simple pitch diameter the page computes. Sizing the nut and the bolt separately is how the two commands stay independent.
Can I use this for UNC, UNF or BSW threads?
No. The page implements the 60° ISO metric profile and the metric pitch series from 0.2 mm to 6 mm, with the metric allowance and tolerance system and its grade multipliers. Unified and Whitworth threads use different truncations and their own allowance systems, so a 1/2-13 UNC thread cannot be checked against a metric band even though its nominal size is close to 12.7 mm.
Related Calculators
Board Foot Calculator
Calculate board feet from lumber dimensions. Convert timber volume measurements across different unit systems.
Bolt Circle Calculator
Lay out a circular bolt pattern: turn the hole count, radius, first-hole angle and centre offset into an x and y coordinate for every hole.
Bowl Segment Calculator
Turn a segmented bowl's segment count, outer radius, wall thickness and allowances into cut-ready segment lengths, blank thickness and cutting angle.
Material Removal Rate Calculator
Work out how much material a machining pass removes per minute for turning, milling, grooving, drilling or grinding. Enter the cut geometry and the cutting speed, read the removal rate in ten flow units, or leave one box empty to solve back for it.
Beam Deflection Calculator
Find how far a simply supported or cantilever beam bends under a point load, a uniform load, a linearly varying load, a triangular load or an end moment. Enter the span, the load and the flexural rigidity, or the modulus of elasticity and area moment of inertia separately, and read the maximum deflection and where it occurs.
Square Yards Calculator
Multiply a length and a width into square yards and price the material. Seven length units, nine area units from square centimeters to acres, and twenty currencies converted at live exchange rates.