---
type: "thread"
name: "#5-40 UNC"
designation: "#5-40 UNC"
series: "unc"
series_name: "Unified Coarse (UNC)"
system: "unified"
size_label: "#5"
tpi: 40
pitch_in: 0.025
pitch_mm: 0.635
basic_major_dia_in: 0.125
basic_major_dia_mm: 3.175
basic_pitch_dia_in: 0.1088
basic_pitch_dia_mm: 2.7635
basic_minor_dia_in: 0.0979
basic_minor_dia_mm: 2.4867
tap_drill: "#38"
tap_drill_dia_in: 0.1015
tap_drill_dia_mm: 2.5781
tap_drill_thread_pct: 72.4
clearance_normal_drill: "#22"
tensile_stress_area_sqin: 0.007955
tensile_stress_area_sqmm: 5.132
internal_class_assumed: "2B"
standard: "ASME B1.1 (reference values based on the ASME B1.1 system; not a compliance claim)"
verified: "August 1, 2026"
url: https://shopmath.org/threads/unc/5-40
---

# #5-40 UNC Thread — Dimensions, Tap Drill & Clearance

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
- **Threads per inch**: 40
- **Tap drill**: #38
- **Standard**: ASME B1.1 (reference values based on the ASME B1.1 system; not a compliance claim)

## 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 |

_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.

| Thread % | Target hole Ø (in) | Target hole Ø (mm) | Drill | Drill Ø (in) | Drill Ø (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._

## Clearance Hole Sizes for #5-40 UNC

The through-hole a #5-40 UNC fastener passes freely, not the tapped hole.

| Fit | Drill | Hole Ø (in) | Hole Ø (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)._

## 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.

### External thread (bolt / screw) limits

| Limit | Class 2A (in) | Class 2A (mm) | Class 3A (in) | Class 3A (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 |

### Internal thread (nut / tapped hole) limits

| Limit | Class 2B (in) | Class 2B (mm) | Class 3B (in) | Class 3B (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

| Property | in² | mm² |
| --- | --- | --- |
| Tensile stress area | 0.00796 | 5.13 |

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.

## Other Thread Pitches in the Same Size as #5-40 UNC

A #5 fastener is not always #5-40 UNC. These are the other standard pitches cut on the same nominal size.

| Thread | Series | Pitch | Tap drill |
| --- | --- | --- | --- |
| [#5-44 UNF](https://shopmath.org/threads/unf/5-44.md) | Unified Fine (UNF) | 44 TPI | #37 |

## Sources and Method for #5-40 UNC

### Basic dimensions

- **Source**: 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)
- **Method**: computed
- **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

### Tap drill sizes

- **Source**: 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
- **Method**: computed
- **Verified against**: Wikipedia Unified Thread Standard, preferred cutting tap drill size columns (CC BY-SA 4.0) — 36/39 published UNC+UNF rows reproduced

### Class limits

- **Source**: NBS Handbook H28 (1969) Part I §§6-7 (public domain, 17 U.S.C. 105); normative modern reference ASME B1.1
- **Method**: computed
- **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

### Formulas

**Tap drill hole diameter, inch threads**

```text
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**

```text
%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**

```text
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 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

## 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.

## Related pages

- Smaller in Unified Coarse (UNC): [#4-40 UNC](https://shopmath.org/threads/unc/4-40.md) — tap drill #43
- Larger in Unified Coarse (UNC): [#6-32 UNC](https://shopmath.org/threads/unc/6-32.md) — tap drill #36
- All Unified Coarse (UNC) sizes: [Unified Coarse (UNC) thread chart](https://shopmath.org/threads/unc.md)
- Every thread series: [Screw thread reference](https://shopmath.org/threads.md)
- Cross-series chart: [Tap drill chart](https://shopmath.org/charts/tap-drill.md)

---

*Source: [ShopMath](https://shopmath.org/threads/unc/5-40) — data verified August 1, 2026. Reference data; verify against the governing standard before manufacture.*
