True Position Calculator

A true position calculator turns the measured X and Y deviations of a feature into one number, 2 × √(Δx² + Δy²), and compares it with the position tolerance plus any bonus. For the hole in the form below the deviations are 0.07 mm and -0.09 mm, so the true position is Ø0.228 mm. The Ø0.20 mm callout at MMC grows by a 0.14 mm bonus to Ø0.34 mm, and the part passes.

Ø0.200 at MMC, holePass: true position Ø0.228 mm
True position0.228 mm
Bonus tolerance0.140 mm
Total allowed0.340 mm
Margin (allowed − actual)0.112 mm

True position 0.228 mm against 0.340 mm allowed (0.200 specified + 0.140 bonus at MMC). Margin 0.112 mm. With no bonus (RFS) this part would fail.

dashed: specified, solid: with bonus, dot: measured axis

The true position formula and why it has a 2 in it

Every true position calculation starts from two measured offsets. Δx is the measured X position minus the basic X position on the drawing, and Δy is the same in Y. Omni Calculator writes the result as PV = 2 √((TB − MB)² + (TC − MC)²), accepts the feature when PV is no larger than the total position tolerance, and defines that total as the position tolerance plus the bonus (Omni Calculator). Firgelli gives the same thing as TP = 2√(Δx² + Δy²), and CNCCookbook's true position page writes it as True Position = 2 x SQRT(XVAR^2 + YVAR^2) (CNCCookbook).

The square root is the straight-line distance between the basic position and the measured axis. That distance is a radius, because the zone is centred on the basic position and the axis may sit anywhere inside it. The callout, though, gives the zone as a diameter. Doubling the distance expresses it in the same terms, so the two numbers can be compared directly. Firgelli says the factor of 2 converts radius to diameter, and Omni says the calculator doubles the offset because the tolerance is given as a diameter.

A short check shows how it works. The calculator above takes 0.07 and -0.09 mm. The squares are 0.0049 and 0.0081, their sum is 0.0130, and the square root is 0.1140 mm. The axis is 0.1140 mm from where it should be. Twice that is 0.2280 mm, which is the true position value the drawing's callout is compared with. The signs of the deviations do not matter, because squaring removes them.

Position tolerance diameter vs radius: which one a number means

A position tolerance of Ø0.20 means the axis may be up to 0.10 from the basic position in any direction. Wikipedia's GD&T article gives the same reading for a 0.020 in. position tolerance, which lets a hole move ±0.010 in. (Wikipedia). The diameter is the full width of the zone and the radius is how far the axis can wander. In the default part the allowed radius is 0.17 mm and the measured offset is 0.114 mm.

Software reports one or the other. G-Wizard's geometry calculator returns the true position in both diametral and radial forms, and the page says that when the type is not specified, people almost always mean the diametral form (CNCCookbook). This calculator reports the diametral value only, because that is what a callout is compared against. If you ever need the radial figure, halve the value, and make sure the other number in your comparison is halved as well.

Mixing the two gives a result that is out by a factor of two. Comparing the radial offset 0.114 mm with a Ø0.20 callout would say the part passes with room to spare even without bonus, while the correct comparison, Ø0.228 against Ø0.20, says it needs bonus to pass. The same page that reports the offset must also say which form it is using.

The default result worked out by hand, step by step

The default part is a hole of Ø6.10 to Ø6.30 mm with a position callout of Ø0.20 mm at MMC. This is an illustrative drawing, not one from a catalogue. The hole was measured at Ø6.24 mm, and its axis was found 0.07 mm over in X and 0.09 mm down in Y from the basic position.

Step one is the true position: 2 × √(0.07² + 0.09²) = 0.2280 mm. Step two is the bonus. A hole is at MMC when it is smallest, so MMC is 6.10 mm and the bonus is 6.24 − 6.10 = 0.14 mm. Step three adds it to the callout: 0.20 + 0.14 = 0.34 mm. Step four compares: 0.228 is below 0.34, so the part passes with 0.112 mm to spare.

Without the modifier the answer changes. As RFS the allowance stays at Ø0.20 and the same hole fails by 0.028 mm. The bonus is the whole difference between a good part and a scrapped one here, which is why the material condition modifier is worth reading on a drawing before inspection. The smallest hole that would still pass at these offsets has a size of 6.10 + (0.228 − 0.20) = 6.128 mm.

The table below tests four measured axes on that same hole, at the same actual size of Ø6.24 mm. The allowed zone is Ø0.34 mm with the MMC bonus and Ø0.20 mm without it.

Hole Ø6.10 to 6.30 mm, actual size 6.24 mm, position Ø0.20 mm. Deviations in mm. Pass at MMC uses a 0.34 mm zone, pass at RFS uses 0.20 mm.
ΔxΔyTrue position (mm)At MMCAt RFS
+0.02+0.030.072PassPass
+0.07−0.090.228PassFail
+0.12+0.100.312PassFail
−0.15+0.150.424FailFail

GD&T Basics shows how close a rejection can be. A plate with the hole basic at (1, 1) and measured at (1.003, 1.007) gives 2 × √(0.003² + 0.007²) = 0.0152, which the page rounds to 0.015 against a 0.014 requirement, so the part is rejected (GD&T Basics). Round at the end, not in the middle, and keep the unrounded value in the report.

Bonus tolerance calculator: MMC, LMC and RFS on the same hole

Machine Design gives the hole formula as bonus tolerance = actual feature size − MMC size, with the total position tolerance equal to the specified value plus the bonus. Its worked example is a hole of .753 against an MMC of .750, which gives .003 of bonus and .013 in all, so a deviation of .012 is inside (Machine Design). The same page says that with no M or L modifier next to the geometric tolerance there is no bonus tolerance, and that the concept is not explicitly mentioned in the ASME Y14.5 standard. Treat "bonus" as the shop word for what the modifier does.

Wevolver gives the LMC version as bonus = LMC size − actual feature size, and says RFS offers no bonus tolerance (Wevolver). Its examples are a 10 mm hole at ±0.15 mm, whose MMC of 9.85 mm and actual size of 10.1 mm leave a 0.25 mm bonus, and an LMC of 10.15 mm against an actual size of 9.85 mm for a bonus of 0.3 mm. The code behind this page reproduces both, along with the Omni, Machine Design and Firgelli examples, in its test file.

The table lists the two modifiers for the default hole. At MMC the bonus is zero at the smallest hole and 0.20 mm at the largest. At LMC it runs the other way. The total zone is the callout plus the bonus, and the same hole size can earn very different allowances depending on the letter in the frame.

Hole Ø6.10 to 6.30 mm, position Ø0.20 mm. Bonus is counted from MMC (6.10 mm) or from LMC (6.30 mm). All values in mm.
Actual sizeBonus at MMCZone at MMCBonus at LMCZone at LMC
6.100.000.200.200.40
6.140.040.240.160.36
6.180.080.280.120.32
6.200.100.300.100.30
6.240.140.340.060.26
6.280.180.380.020.22
6.300.200.400.000.20

At MMC the part from the default example passes for any hole of 6.128 mm or more. At LMC it would pass only for holes of 6.272 mm or less, because a large hole gets no help. Which modifier a drawing carries follows from the job of the feature. Wikipedia's modifier table says LMC is useful to maintain minimum wall thickness and that MMC provides bonus tolerance only for a feature of size (Wikipedia). Check the size of the feature first. If the actual size is outside the limits, no position bonus rescues it, and the calculator rejects the part on size.

Pins, shafts and the other end of MMC

A pin is at MMC when it is the largest allowed size, which Machine Design states directly. The bonus for a pin is therefore the amount by which it is smaller than its maximum, the hole rule mirrored. A pin of Ø11.95 to 12.00 mm with a position callout of Ø0.05 at MMC, made to Ø11.97, earns 0.03 mm of bonus and has Ø0.08 mm to work with (arithmetic on that definition, not a quoted example). Pick "Pin or shaft" in the form and the calculator counts from the other end.

The bonus can never exceed the size tolerance of the feature, since the actual size has to stay between the limits. For this hole that is 0.20 mm, which makes the biggest possible zone Ø0.40 mm. The pin works out to 0.10 mm in the same way.

Converting a ±X/Y tolerance to a position diameter: the 1.414 and 1.57 factors

A drawing dimensioned with ± coordinates allows a square zone. A position callout allows a circle. To convert one into the other, take the diagonal of the square. A square zone of ±t has a side of 2t, and its corners are √2 times farther from the centre than its edges are. A circle through the four corners therefore has a diameter of 2t × √2 = 2t × 1.414. The conversion page at open-exam-prep.com writes it as position Ø = 2t√2 ≈ 2.83t, and the worked example there converts ±0.2 to Ø0.566 through a half-diagonal of 0.2 × 1.414 = 0.283.

The reverse takes a position diameter Ø and returns the largest square that fits inside it. Its half-side is Ø ÷ (2√2), about 0.354 × Ø. The same source converts Ø0.5 to about ±0.177. The table has four values worked out with this code.

Square zone of ±t in mm. Diameter through the corners = 2t × 1.414. The last column converts that diameter back to the ±t square that fits inside it, which returns the starting value.
Tolerance ±tSquare side 2tCorner circle ØBack to ±t
±0.050.100.1410.050
±0.100.200.2830.100
±0.200.400.5660.200
±0.250.500.7070.250

In inches the same rule turns ±0.005 into 2 × 0.005 × 1.41421 = 0.0141 in, which is about Ø0.014. A conversion that goes the other way, from a drawing's Ø0.014 position to a coordinate tolerance, gives ±0.0050, close to the ±0.005 you started with.

The 1.57 belongs to area. The circle through the corners has an area of π × (t√2)² = 2πt², the square has 4t², and the ratio is π ÷ 2 = 1.571, so the round zone holds about 57% more area. The open-exam-prep page prints that ratio as 6.283t² ÷ 4t² = 1.571, and eFunda says the circular zone contains 57% more area than an equivalent square one (eFunda). GD&T Basics' comments reach the same result with a 10-unit square of area 100 and a circle of about 157.1.

Two different circles are in play, and the sources do not always say which one they mean. The circle through the corners has a diameter of 0.141 mm for a ±0.05 mm square and holds 1.571 times the square's area. The circle that fits inside the square has a diameter of 0.10 mm and holds 0.785 of its area. Every point of the inscribed circle is also inside the square (arithmetic: its radius t is the distance to the edges). The open-exam-prep page calls its conversion conservative: a part that passes the coordinate check also passes position, but not the other way round. It warns against using the conversion to reject a part that is specified with position.

A practical consequence follows. Replacing ±0.05 mm coordinates with a position of Ø0.141 mm accepts every part the old drawing accepted, plus parts just outside the edges of the old square, which the old drawing would have scrapped. Replacing them with Ø0.10 mm instead is a tightening, since the circle is smaller than the square it sits in. The first choice is where the "more tolerance" of GD&T comes from, and Wikipedia's article says GD&T can allow over 50% more tolerance zone than coordinate dimensioning in some cases. For the symbols behind these frames, see the GD&T symbols chart.

True position with XYZ, angles and three datums

Three-axis versions exist. Engineers Edge's spherical true position calculator takes three offsets and returns "the calculated spherical positional tolerance diameter zone (2 x R)" (Engineers Edge). G-Wizard asks for the error in X, Y and Z, and tells you to leave Z at zero if there is no Z datum. The page gives no formula, so the natural extension is arithmetic: the radius is the 3D distance and the diameter is twice that. Offsets of 0.02, 0.03 and 0.06 give 2 × √(0.02² + 0.03² + 0.06²) = 0.14. This page's form stays with X and Y, which is what a cylindrical zone on a hole needs.

A feature found at a distance and an angle from the basic position needs no special handling. A hole 0.10 mm from true position along 30° has Δx = 0.0866 and Δy = 0.0500, and 2 × √(0.0866² + 0.0500²) = 2 × 0.10 = 0.20. The angle drops out because only the distance enters the formula, so the true position of any offset is twice its distance. Convert a polar reading to X and Y only if you want to compare it with a coordinate tolerance.

The question about three datums is a question about where Δx and Δy come from, not about the formula. Omni's calculator asks for basic and measured positions from datums B and C, so the offsets are taken from the datum features the callout names. The datum reference frame is covered on the GD&T symbols chart page. Once you have the two offsets, the formula is the same whatever the datums are.

Engineers Edge's two-input calculator works from the offsets as well. It lists ASME Y14.5 (2018, 2009 and 1994) and ISO 1101 as its references, calls its output a diameter zone, and prints negative tolerance numbers when the part is out of tolerance, but it shows no formula, no worked numbers and no bonus (Engineers Edge). Wikipedia says the ISO standards describe a different system with nuanced differences in interpretation and rules. This page does not list those differences, because the sources it relies on do not.

True position in Excel, with and without bonus

The calculation is short enough for a spreadsheet. Put the X deviation in A2, the Y deviation in B2, the position tolerance in C2, the smallest size in D2, the largest size in E2 and the actual size in F2. For a hole at MMC, the true position is =2*SQRT(A2^2+B2^2), the bonus is =F2-D2, the total is =C2+(F2-D2), and the verdict is =IF(AND(F2>=D2,F2<=E2,2*SQRT(A2^2+B2^2)<=C2+(F2-D2)),"PASS","FAIL"). For LMC use =E2-F2 as the bonus, and for a pin at MMC use =E2-F2 as well. For RFS, drop the bonus term. These are the same rules as the code on this page, written as cell formulas. Filling the formula down gives a column of results for a whole inspection report.

Keep the unrounded value in the sheet and round only the displayed column, as the GD&T Basics example above shows how a rounded 0.015 and a raw 0.0152 can sit on either side of a 0.014 limit.

Mistakes that give the wrong true position result

Forgetting the factor of 2 is the common one. The open-exam-prep page calls it the most common arithmetic error on its exam, and a reply in the comments on GD&T Basics warns against dividing by 2 when comparing with a diametral zone. Check the result against the on-axis case: an axis 0.01 from true position on a single axis has a true position of 0.02, not 0.01.

Applying bonus when there is none is the second. If the frame has no M or L, Machine Design says there is no bonus tolerance, and Wevolver says RFS offers none. The third is counting the bonus from the wrong end of the size range. A hole at MMC counts from its smallest size, a hole with LMC from its largest, and a pin at MMC from its largest. The fourth is bonus on a part whose size is out of limits. It fails on size, which the calculator reports before it reports position.

Fifth, a position callout with no diameter symbol is a different zone. The comments on GD&T Basics say that in that case the zone is two pairs of orthogonal planes, not a cylinder, so each axis is checked against its own limit and this calculator does not apply. Sixth, mixing units. An offset in inches against a callout in millimetres gives nonsense that still looks plausible, so check that the unit selector matches your drawing before reading the verdict.

The bonus table as a spreadsheet: true-position-bonus.csv.

The same data as JSON, with units and source: true-position-bonus.json.