Related Specifications
Surface Treatments
Certifications
- ISO 9001 - 2015 Certified
- PED 2014/68/EC
- API 6A ; API 20E; API 20F
- NACE MR0175/ISO 15156-2
- NORSOK M-650
- DFAR
- MERKBLATT AD 2000 W2/W7/W10
Piping engineers sizing studs for an ASME B16.5 flange joint do not buy lengths off a generic table; they pick a length that matches the actual stack of two flanges, two nuts, the gasket compressed, and a thread protrusion. This page sets out the calculation, the governing codes, and how a B16.5 stud bolt in ASTM A193 Grade B8M Class 2 sits inside that stack. It is a working reference for stockists, project engineers, and EPC bolting leads who want one place that ties the geometry to the metallurgy.
Request a stud bolt RFQ for ASME B16.5 flanges.
Three things, in order. First, the boundary between the flange page and this one, so the search hit lands on the right table. Second, the formula and the codes that actually define a stud length. Third, the way ASTM A193 B8M Class 2 mechanical properties (the grade this site is built around) feed back into the bolt-load target the assembler is asked to hit. The companion flange-geometry data (bolt-hole diameter, bolt circle, raised-face dimensions, flange OD) lives on pipe flange ASME B16.5 dimensions and is not repeated here.
Four codes act on the same stud at the same time, and treating them as a single chain saves the back-and-forth that delays a project bolting list.
| Code | What it fixes | What it does not |
|---|---|---|
| ASME B16.5 | Flange class, bolt quantity, bolt diameter, bolt-hole diameter, bolt circle, raised-face or RTJ geometry, the bolting material table (Table 1.1-2) | The stud length itself |
| ASME B18.31.2 | Stud bolt body, point geometry, thread length, and the standard length series the buyer chooses from | The joint-stack arithmetic that selects which length in that series fits |
| ASME B1.1 | Thread form. Class 2A external (stud) and Class 2B internal (nut). UNC up to 1 in., 8-UN above 1 in. for alloy steel; see B16.5 Table 1.1-3 | Tolerance class for non-UN forms |
| ASTM A193 / A193M | Material, heat-treatment condition, chemistry, mechanical property minimums for B8M Class 1, Class 1A, Class 2, Class 2B, Class 2C | Field assembly load, which is set by the joint designer using ASME PCC-1 |
B16.5 Table 1.1-3 is explicit on the routing: stud bolts to B18.31.2, external threads to B1.1 Class 2A coarse series up to one inch, eight-thread series for larger, and nuts to B18.2.2 heavy hex. Nuts on B8M studs are usually ASTM A194 Grade 8M in a corresponding condition.
The length printed on a mill test certificate is the full body, point to point, exclusive of the points. The working stack a stud must clear is built from real, measurable parts of the joint, not a single column in a code table.
The arithmetic, used by every bolting drafter who has ever filled in a B16.5 joint:
Two practical points the formula hides. The flange thicknesses change between Class 150 and Class 2500 even at the same NPS, so the same stud diameter takes a different length in each class. And raised-face flanges, ring-type-joint flanges, and flat-face flanges land on different gasket thicknesses, so two physically identical NPS-and-Class flanges paired with different gaskets give two different stud lengths.
The numbers a stud-bolt buyer pulls from B16.5 for any flange are these:
| Field from B16.5 | Used for |
|---|---|
| Number of bolts (per flange, integer) | Quantity per joint = same number; quantity per pair-of-flanges joint = the bolt count for that NPS/Class |
| Bolt diameter (in., e.g. 5/8, 3/4, 7/8, 1, 1-1/8, 1-1/4, 1-3/8, 1-1/2, 1-5/8, 1-3/4, 1-7/8, 2, 2-1/4, 2-1/2, 2-3/4, 3, 3-1/2, 4) | Selects thread series: UNC up to 1 in., 8-UN above 1 in. for alloy steel per Table 1.1-3 |
| Bolt-hole diameter (in.) | Confirms the stud body clears the hole; standard is bolt diameter + 1/8 in. |
| Bolt circle diameter (in.) | Joint layout and tool-clearance check, not the stud length |
| Flange thickness at bolt-hole section (in.) | Two of these go into L = T1 + T2 + G + 2·Hn + 2·P |
The bolt count and bolt diameter for every NPS-Class pair are part of B16.5 itself. The page on pipe flange ASME B16.5 dimensions carries those numbers per NPS row. This page deliberately does not duplicate them.
A buyer specifying B8M studs for a B16.5 flange picks one of four common conditions. B8M Class 2 is the strain-hardened, higher-strength condition that most refinery and offshore EPCs default to for moderate-temperature service. The numbers below are verbatim from ASTM A193/A193M Table 2.
| Class | Condition | Tensile min | Yield min (0.2 percent offset) | Elongation 4D min | RA min | Hardness max |
|---|---|---|---|---|---|---|
| Class 1 / 1D, B8M, all diameters | solution treated | 75 ksi (515 MPa) | 30 ksi (205 MPa) | 30% | 50% | 223 HBW / 96 HRB |
| Class 1A, B8MA, all diameters | solution treated in finished condition | 75 ksi (515 MPa) | 30 ksi (205 MPa) | 30% | 50% | 192 HBW / 90 HRB |
| Class 2, B8M, 3/4 in. and under | strain hardened | 110 ksi (760 MPa) | 95 ksi (655 MPa) | 15% | 45% | 321 HBW / 35 HRC |
| Class 2B, B8M2, 2 in. and under | strain hardened | 95 ksi (655 MPa) | 75 ksi (515 MPa) | 25% | 40% | 321 HBW / 35 HRC |
| Class 2C, B8M3, 2 in. and under | strain hardened | 85 ksi (585 MPa) | 65 ksi (450 MPa) | 30% | 60% | 321 HBW / 35 HRC |
The full grade-page treatment of B8M Class 2 is at grade B8M Class 2 bolts, with the Class 1 condition at Class 1 bolts. The point for the stud length conversation is that the assembler target bolt load is a percentage of yield strength, and yield strength changes by class. A Class 1 stud and a Class 2 stud in the same NPS-Class flange can take the same nominal length but a different torque value.
Two flanges at NPS 4 do not have the same thickness if one is Class 150 and the other is Class 1500. The Class 1500 flange is dramatically thicker; the gasket may be different; the bolt diameter is larger; the heavy hex nut for that larger diameter is taller. Every term on the right side of L = T1 + T2 + G + 2·Hn + 2·P moves at once. This is why a fastener vendor will always ask for NPS, Class, gasket type, and facing type together. Asking only for NPS and Class gives a length the assembler may not be able to make up at site.
B16.5 Table 1.1-3 sets a clear cutoff. UNC, Class 2A on the stud and Class 2B in the nut, applies for diameters up to and including 1 in. on alloy-steel bolting. Above 1 in., alloy-steel bolting moves to the 8-UN (eight-thread series) form, again at Class 2A external and Class 2B internal. Carbon-steel bolting stays on UNC across the range. A B8M stud at 1-1/8 in. and above is therefore an 8-UN stud, not a UNC stud, when supplied to a B16.5 flange. Threads matched to A194 Grade 8M nuts in the same series.
Stud length matters because the assembler needs enough free thread above each nut to elongate the stud during torque or tensioning. ASME PCC-1 sets the working framework: a target bolt-assembly load chosen for the flange size, gasket, class, and material; a tightening pattern (the star or modified star sequence numbered clockwise on the flange); and load control by torque, hydraulic tension, or strain measurement depending on service severity. PCC-1 Appendix F-4-1 separates mild, intermediate, and critical service, and the recommended tool family scales with that. None of this is the stud manufacturer responsibility, but a stud length too short for the chosen tightening method makes the joint unbuildable.
This stud bolt page is one of a small set of geometry-and-material references that work together for a B16.5 piping joint:
For a B16.5 stud bolt RFQ, give us NPS, Class, facing type (raised face, RTJ, flat face), gasket type and compressed thickness, and the required A193 grade and class. TorqBolt QA-QC will confirm the calculated length, the thread form per B16.5 Table 1.1-3, and the A194 nut match. Contact info@torqbolt.com.
Companion data: ASME B16.5 flange geometry (bolt count, bolt diameter, bolt-circle), B18.31.2 threaded rod length series, A194 Grade 8M heavy hex nuts. Grade selection: B8M Class 2 strain-hardened, B8M Class 1 solution-annealed. Spec hub: A193 B8M overview.