Unified Coarse (UNC) · #5-40 UNC
#5-40 UNC Thread — Dimensions, Tap Drill & Clearance
https://shopmath.org/threads/unc/5-40 · data verified August 1, 2026
The tap drill for #5-40 UNC is #38 — 0.1015 in (2.578 mm) — which leaves 72.4% thread engagement with a cut tap. Basic pitch diameter is 0.1088 in (2.764 mm) and basic minor diameter is 0.0979 in (2.487 mm). Tapped-hole figures on this page assume a class 2B thread; drill sizes for 50–85% engagement are in the tap drill table below.
- Series
- Unified Coarse (UNC)
- Designation
- #5-40 UNC
- TPI
- 40
- Standard
- ASME B1.1
Tap drill · 72.4% thread · cut tap
#38
- Drill Ø
- 0.1015in
- Drill Ø
- 2.578mm
- Clearance (normal)
- #22
Assumes 75% thread engagement with a cut tap and a class 2B hole. That drill actually leaves 72.4% thread.
Basic Thread Dimensions for #5-40 UNC
| Property | Inch | Millimetre |
|---|---|---|
| Basic major diameter | 0.1250 | 3.175 |
| Threads per inch | 40 | — |
| Pitch | 0.0250 | 0.635 |
| Basic pitch diameter | 0.1088 | 2.764 |
| Basic minor diameter | 0.0979 | 2.487 |
| External thread root diameter | 0.0952 | 2.418 |
| Sharp V thread height (H) | 0.0217 | 0.551 |
Threads per inch has no millimetre counterpart — metric threads are specified by pitch instead. Basic dimensions are the theoretical values before any tolerance class is applied.
Tap Drill Sizes for #5-40 UNC
Cut taps, from 50% to 85% thread engagement. The shop default is 75% — a #38 drill. Deeper engagement means more holding strength and more torque on the tap.
| Property | Target hole Ø | Nearest standard drill | Property | |||
|---|---|---|---|---|---|---|
| Thread % | in | mm | Drill | in | mm | Actual thread % |
| 50% | 0.1088 | 2.764 | 7/64 | 0.1094 | 2.778 | 48.1 |
| 60% | 0.1055 | 2.680 | #36 | 0.1065 | 2.705 | 57.0 |
| 65% | 0.1039 | 2.639 | #37 | 0.1040 | 2.642 | 64.7 |
| 70% | 0.1023 | 2.598 | #38 | 0.1015 | 2.578 | 72.4 |
| 75%default | 0.1006 | 2.555 | #38 | 0.1015 | 2.578 | 72.4 |
| 80% | 0.0990 | 2.515 | #39 | 0.0995 | 2.527 | 78.5 |
| 85% | 0.0974 | 2.474 | #40 | 0.0980 | 2.489 | 83.1 |
Target hole Ø is the theoretical hole for the stated engagement. The drill column is the nearest size in the standard number/letter/fractional/metric index, and actual thread % is what that real drill produces — the number that matters at the machine. Values are for cut taps. Tapped-hole figures assume a class 2B hole.
Clearance Hole Sizes for #5-40 UNC
The through-hole a #5-40 UNC fastener passes freely, not the tapped hole.
| Property | Property | Hole Ø | Property | |
|---|---|---|---|---|
| Fit | Drill | in | mm | Use |
| Close | 9/64 | 0.1417 | 3.599 | Located joints, dowelled assemblies |
| Normal | #22 | 0.1575 | 4.001 | General assembly — the default |
| Loose | #17 | 0.1732 | 4.399 | Slotted or adjustable joints, weldments |
Clearance holes per ISO 273 (metric) and ASME B18.2.8 (inch). The drill column is the nearest standard drill at or above the specified hole diameter.
Thread Class Limits for #5-40 UNC
Manufacturing limits for classes 2B, 3B, 2A, 3A. A gauge reading outside these bands is a reject, not a judgement call.
| Property | Class 2A | Class 3A | ||
|---|---|---|---|---|
| Limit | in | mm | in | mm |
| Major Ø max | 0.1242 | 3.155 | 0.1250 | 3.175 |
| Major Ø min | 0.1191 | 3.025 | 0.1199 | 3.046 |
| Pitch Ø max | 0.1080 | 2.743 | 0.1088 | 2.764 |
| Pitch Ø min | 0.1054 | 2.677 | 0.1068 | 2.713 |
| Pitch Ø tolerance | 0.0026 | 0.066 | 0.0019 | 0.048 |
| Minor Ø max | 0.0918 | 2.332 | 0.0925 | 2.349 |
| Minor Ø min | 0.0892 | 2.266 | 0.0906 | 2.301 |
| Allowance | 0.0008 | 0.020 | 0.0000 | 0.000 |
| Property | Class 2B | Class 3B | ||
|---|---|---|---|---|
| Limit | in | mm | in | mm |
| Major Ø max | 0.1319 | 3.350 | 0.1311 | 3.330 |
| Major Ø min | 0.1250 | 3.175 | 0.1250 | 3.175 |
| Pitch Ø max | 0.1121 | 2.847 | 0.1113 | 2.827 |
| Pitch Ø min | 0.1088 | 2.764 | 0.1088 | 2.764 |
| Pitch Ø tolerance | 0.0033 | 0.084 | 0.0025 | 0.064 |
| Minor Ø max | 0.1062 | 2.697 | 0.1062 | 2.697 |
| Minor Ø min | 0.0979 | 2.487 | 0.0979 | 2.487 |
| Allowance | 0.0000 | 0.000 | 0.0000 | 0.000 |
Tensile Stress Area of #5-40 UNC
The effective cross-section used to size a #5-40 UNC fastener against a load. Multiply it by the material's allowable stress — the area itself carries no strength assumption.
| Property | in² | mm² |
|---|---|---|
| Tensile stress area | 0.00796 | 5.13 |
The formula this value comes from is in the sources section below.
Sources and Method for #5-40 UNC
- Basic dimensionscomputed
NBS Handbook H28 (1969) Part I §§6-7 (public domain, 17 U.S.C. 105); normative modern reference ASME B1.1; series membership: Series membership: threadlib UIS_thread.csv (BSD-3-Clause); cross-checked against NBS H28 (1969) Part I Table 2.21; clearance holes: ISO 273 (metric) and ASME B18.2.8 (inch) via FreeCAD FeatureHole.cpp (LGPL-2.1+), cross-checked against bd_warehouse clearance_hole_sizes.csv (Apache-2.0)
Verified against NBS H28 (1969) Part I, Table 2.21 (public domain); cross-checked against FreeCAD CAM thread tables (LGPL-2.1+) — 1064 checks passed at 0.0001 in
Computed from the standard's formulas, then checked against published tables.
- Tap drill sizescomputed
Machinery's Handbook %-thread formula (geometry-derived); nearest-standard-drill-to-75% rule verified at 36/39 published chart rows in docs/research/data-sourcing.md §3.4
Verified against Wikipedia Unified Thread Standard, preferred cutting tap drill size columns (CC BY-SA 4.0) — 36/39 published UNC+UNF rows reproduced
Computed from the standard's formulas, then checked against published tables.
- Class limitscomputed
NBS Handbook H28 (1969) Part I §§6-7 (public domain, 17 U.S.C. 105); normative modern reference ASME B1.1
Verified against NBS H28 (1969) Part I, Table 2.21 (public domain); cross-checked against FreeCAD CAM thread tables (LGPL-2.1+) — 1064 checks passed at 0.0001 in
Computed from the standard's formulas, then checked against published tables.
- Formula
Tap drill hole diameter, inch threads
hole Ø = D − (%thread ÷ 100) × (1.29904 ÷ n) D = basic major diameter (in) n = threads per inch
1.29904 = 2 × 0.64952, twice the engaged thread height per side on the 60° Unified profile.
Actual thread engagement of the chosen drill
%thread = (D − drill Ø) × n ÷ 1.29904 × 100
The drill column rounds to a real drill; this is the engagement that drill actually leaves.
Tensile stress area, Unified inch threads
At = 0.7854 × (D − 0.9743 ÷ n)²
ASME B1.1 / NBS H28 form. Reproduces the stored value exactly for this thread.
- Assumptions
- The headline tap drill assumes 75% thread engagement, the general shop default. Every other engagement from 50% to 85% is in the tap drill table — change the assumption and the number moves.
- Tap drill figures are for cut taps. Drill diameters are nominal; a worn or run-out drill cuts oversize and reduces engagement further.
- Tapped-hole figures assume a class 2B internal thread, the general-purpose fit.
- Dataset scope: Le = 1D for UNC/UNF, 9P for UNEF — determined empirically against H28 Table 2.21, resolving data-sourcing.md open item 5. EXCLUDED: form (roll) tap drills, class 1A/1B limits, class 1AR allowances, constant-pitch UN series.
- Data last verified
- August 1, 2026
How to Cite This #5-40 UNC Reference
Citation
ShopMath. "#5-40 UNC Thread — Dimensions, Tap Drill & Clearance." ShopMath, verified August 1, 2026, https://shopmath.org/threads/unc/5-40
BibTeX
@misc{shopmath-threads-unc-5-40,
title = {#5-40 UNC Thread — Dimensions, Tap Drill & Clearance},
author = {{ShopMath}},
year = {2026},
howpublished = {\url{https://shopmath.org/threads/unc/5-40}},
note = {Data verified 2026-08-01}
}Permanent URL
https://shopmath.org/threads/unc/5-40
Common Questions About #5-40 UNC
What is the tap drill size for #5-40 UNC?
- The tap drill for #5-40 UNC is #38 — 0.1015 in (2.578 mm). That leaves 72.4% thread engagement with a cut tap.
What is the pitch diameter of #5-40 UNC?
- The basic pitch diameter of #5-40 UNC is 0.1088 in (2.764 mm). For a class 2B thread it runs 0.1088 in (2.764 mm) to 0.1121 in (2.847 mm).
What is the minor diameter of #5-40 UNC?
- The basic minor diameter of #5-40 UNC is 0.0979 in (2.487 mm). That is the theoretical root of the internal thread, not the drilled hole size — see the tap drill table for the hole to drill.
What is the thread pitch of #5-40 UNC?
- #5-40 UNC has 40 threads per inch, a pitch of 0.0250 in (0.635 mm).
What size clearance hole does a #5-40 UNC fastener need?
- close fit 9/64 (0.1417 in (3.599 mm)), normal fit #22 (0.1575 in (4.001 mm)), loose fit #17 (0.1732 in (4.399 mm)). The normal fit is the general-assembly default.
What is the tensile stress area of #5-40 UNC?
- The tensile stress area of #5-40 UNC is 0.00796 in² (5.13 mm²). Multiply it by the fastener material's allowable stress to get a load.