Skip to content

Stud Bolt Length Calculation for Flanges

The correct stud bolt length ensures that the bolt threads engage both hex nuts fully while allowing enough protrusion for visual verification after torquing. A bolt that is too short risks insufficient thread engagement; a bolt that is too long wastes material and may interfere with insulation or adjacent components.

Bolt Length Formula

The general formula for stud bolt length (FTF; first thread to first thread) is:

L = F1 + F2 + G + 2N + P

Where:

SymbolComponentTypical Value
F1Thickness of main flange (at bolt circle)Per ASME B16.5 dimensional table
F2Thickness of companion flange (at bolt circle)Per ASME B16.5 dimensional table
GGasket thickness1/8” (SWG), 1/16” (soft), 0 (RTJ; ring sits in groove)
NNut height (each)Per ASME B18.2.2 heavy hex nut table
PThread protrusion allowanceTypically 1/4” (6 mm) per end = 1/2” total

Nut Height by Bolt Diameter

Bolt Diameter (in)Heavy Hex Nut Height (in)Bolt Diameter (in)Heavy Hex Nut Height (in)
1/231/641-1/41-1/16
5/839/641-3/81-3/16
3/447/641-1/21-5/16
7/855/641-5/81-7/16
163/641-3/41-1/2
1-1/8121-3/4

Worked Example

Calculate the stud bolt length for a NPS 4 Class 300 RF flange joint with a spiral wound gasket.

ComponentValueSource
Main flange thickness (F1)1.50” (38.1 mm)ASME B16.5, NPS 4 CL300
Companion flange thickness (F2)1.50” (38.1 mm)Same
SWG gasket compressed thickness (G)0.125” (3.2 mm)Nominal 1/8”
Nut height (N), 3/4” bolt0.734” (18.6 mm)ASME B18.2.2
Thread protrusion (P)0.50” (12.7 mm)1/4” per end

L = 1.50 + 1.50 + 0.125 + 2(0.734) + 0.50 = 5.09”

Round up to the nearest standard length: 5-1/4” (133 mm).

The ASME B16.5 bolt chart lists 5-1/4” for NPS 4 Class 300 RF with 3/4” diameter bolts, confirming the calculation.

RTJ Flange Adjustment

For RTJ flanged joints, the gasket sits inside the groove, so the effective gasket thickness added to the bolt length is zero. However, RTJ flanges have a contact face that protrudes beyond the flange face. The bolt chart accounts for this; always use the RTJ column in the ASME B16.5 bolt chart when specifying RTJ joints.

Non-Standard Joints

For connections not covered by ASME B16.5 tables (e.g., valve-to-vessel, special spacer rings, insulation joints), calculate the bolt length manually using the formula above and round up to the nearest standard increment (typically 1/4” or 5 mm increments).

Additional components to include when present:

Additional ComponentAdded to Length
Insulation spacer ringRing thickness
Flange isolation kit (gasket + sleeves)Kit total thickness
Washers (2x)2 x washer thickness
Spectacle blind / spacerBlind or spacer thickness

Apply bolt torque per ASME PCC-1 guidelines using a star pattern. After first torque pass, verify that 2-3 full threads protrude beyond each nut.

Read the full guide to gasket selection

Leave a Comment

Have a question or feedback? Send us a message.

Your comment will be reviewed and may be published on this page.