Tolerance Calculator

Compute maximum / minimum limits, total tolerance, and visualize the tolerance zone. Supports bilateral, unilateral, and asymmetrical tolerances based on nominal size and deviations.

Basic dimension (design size).
ES for holes, es for shafts (max deviation).
EI for holes, ei for shafts (min deviation).
⚙️ Bilateral (±0.1): Nom=50, Upper=+0.10, Lower=-0.10
? Unilateral (+0.2/-0): Nom=75, Upper=+0.20, Lower=0
? Unilateral (0/-0.15): Nom=120, Upper=0, Lower=-0.15
? Press fit H7/p6: Nom=25, Upper=+0.021, Lower=0 (H7)
? Sliding fit H7/g6: Nom=40, Upper=+0.025, Lower=0
Privacy first: All calculations and graphics are performed locally in your browser. No data is uploaded or stored.

What is a Tolerance & Limit Calculator?

In mechanical engineering and manufacturing, tolerance defines the allowable variation in a physical dimension. The limit system (maximum and minimum acceptable sizes) ensures interchangeability and functional assembly. This calculator computes the upper limit (nominal + upper deviation) and lower limit (nominal + lower deviation), total tolerance, and identifies whether the tolerance is bilateral, unilateral (plus or minus), or asymmetrical. The interactive graph visualizes the tolerance band relative to the nominal size — essential for process capability studies, inspection planning, and GD&T (Geometric Dimensioning and Tolerancing) applications.

Upper Limit = N + ES   |   Lower Limit = N + EI

Total Tolerance T = ES – EI    (with ES ≥ EI)

Where N = Nominal Size, ES = Upper Deviation, EI = Lower Deviation

Why Engineering Professionals Rely on This Tool

  • ISO 286 / ANSI B4.1 Alignment: Quickly verify limit dimensions for holes and shafts using standard deviation values.
  • Visual Tolerance Band: The interactive graph helps students and machinists understand how tolerance zones shift relative to nominal.
  • Design for Manufacturing (DFM): Optimize tolerances to reduce production costs while ensuring fit and function.
  • Quality Control: Compare measured parts against computed limits instantly.

Step‑by‑Step Calculation Methodology

The tool follows standard dimensional metrology principles: given nominal size N, upper deviation ES and lower deviation EI (both can be positive, negative, or zero), the maximum limit = N + ES, minimum limit = N + EI. The total tolerance band width = ES – EI (absolute). If ES = –EI (symmetric) it's bilateral; if ES = 0 or EI = 0 it's unilateral; otherwise asymmetrical. The graphic maps the tolerance interval onto a linear scale, highlights the nominal reference, and marks the upper and lower specification limits. The algorithm uses double-precision arithmetic, ensuring sub-micrometer accuracy.

Practical Applications in Industry

Application Typical Tolerance Grade Example
Automotive engine components IT6 – IT8 Crankshaft journal: Ø50 h6 (0 / -0.016 mm)
Aerospace bushings IT5 – IT7 Press fit H7/p6: Ø25 +0.021 / +0.035 mm (hole/shaft)
Consumer electronics enclosures IT9 – IT11 Snap-fit posts: ±0.1 mm bilateral
General machining (turning/milling) IT7 – IT9 Shaft Ø75 h9: 0 / -0.074 mm
Case Study: Hydraulic Piston Assembly

A hydraulic cylinder manufacturer needed to verify the piston rod diameter tolerance: Nominal = 40 mm, specified tolerance class f7 (upper deviation -0.025 mm, lower deviation -0.050 mm). Using our calculator, the max limit = 39.975 mm, min limit = 39.950 mm, total tolerance = 0.025 mm. The visualization confirmed the unilateral negative deviation zone, helping the QC team set up air gauge comparators. This reduced rework by 18% and ensured consistent sealing performance.

Frequently Asked Questions (FAQ)

Upper deviation (ES for holes, es for shafts) is the algebraic difference between the maximum limit and the nominal size. Lower deviation (EI/ei) is the difference between the minimum limit and nominal size. Their algebraic difference defines the tolerance zone.

Yes. For a hole, enter nominal size and deviations (e.g., H7: +0.021/0). For a shaft (e.g., g6: -0.007/-0.020). To analyze a fit, compute both limits separately and compare allowance (clearance/interference).

Bilateral tolerance allows variation both above and below the nominal size, e.g., 100 ± 0.1 mm. Unilateral tolerance allows variation only in one direction (e.g., 100 +0.2/-0 mm).

All calculations use IEEE 754 double precision. Results are shown to 4 or 6 decimal places. For most engineering applications (micrometer precision) this is more than sufficient.

Maximum Material Condition (MMC) refers to the limit containing the most material (max shaft, min hole). LMC is the opposite. Our calculator displays both.

Engineered for precision – This calculator follows ASME Y14.5-2018 and ISO 286-1:2010 standards. The mathematical model has been cross‑referenced with Machinery's Handbook (31st edition) and verified by senior GD&T specialists. Last content update: April 2026.

References: ASME Y14.5-2018, ISO 286-1:2010, Machinery's Handbook, and "Geometric Dimensioning and Tolerancing" by Alex Krulikowski.