•   0091-22-66157017
  •   info@torqbolt.com
  • Home

    Stud Bolt Length Calculation for ASME B16.5 Flanges

    Piping engineers sizing studs for an ASME B16.5 flange joint start from the stud bolt length L that B16.5 tabulates for each NPS and class, and calculate their own length with the B16.5 Appendix C method when the joint differs (other gasket, facing or lapped joint). This page sets out that method, the governing codes, and how a B16.5 stud bolt in ASTM A193 Grade B8M sits inside the 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.

    What you will find here

    Three things, in order: the codes that act on a B16.5 stud, the Appendix C length method, and the way ASTM A193 B8M class properties (the grade this site is built around) feed into the bolt-load target the assembler is asked to hit. Flange OD, bolt circle, bolt count and bolt diameter are in the B16.5 dimension tables (Tables 7 to 21 and 7C to 21C).

    Codes that govern a B16.5 stud bolt

    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.

    CodeWhat it fixesWhat it does not
    ASME B16.5Flange class, bolt quantity, bolt diameter, bolt-hole diameter, bolt circle, raised-face or RTJ geometry, the bolting material table (Table 1.1-2)Nothing mandatory on length: the tabulated L is a reference dimension and users may select other lengths (6.10.2)
    ASME B18.31.2Stud bolt body, point geometry, thread length, and the standard length series the buyer chooses fromThe joint-stack arithmetic that selects which length in that series fits
    ASME B1.1Thread 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-3Tolerance class for non-UN forms
    ASTM A193 / A193MMaterial, heat-treatment condition, chemistry, mechanical property minimums for B8M Class 1, Class 1A, Class 2, Class 2B, Class 2CField 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. Those B18.31.2 / 8-UN / heavy hex routings are given for the alloy-steel bolting column. Nuts on B8M studs are usually ASTM A194 Grade 8M or 8MA.

    How a B16.5 stud bolt length is actually calculated

    Stud bolt length L is the effective thread length, measured first full thread to first full thread and excluding the end points (B16.5 6.10.2 and Appendix C; B18.31.2). The tabulated L in B16.5 already includes two heavy hex nuts.

    The B16.5 Nonmandatory Appendix C method, used to establish the tabulated L:

    A = 2(tf + t + d) + G + F − a;   L = A + n, rounded off to the nearest 0.25 in (5 mm)
    where
    tf = flange thickness, t = plus tolerance on flange thickness
    d = heavy nut thickness (equals the nominal bolt diameter, ASME B18.2.2)
    G = 0.12 in (3.0 mm) gasket allowance for raised face and tongue-and-groove; approximate ring-joint gap for RTJ
    F = total height of facings or depth of ring groove for both flanges (Table C-2)
    a = zero, except 0.19 in (5 mm) where the small female face is on the end of pipe
    n = negative tolerance on bolt length (Table C-3)

    Two practical points. Flange thickness changes 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, ring-type-joint and lapped joints use different G, F and lap terms, so check which variant of the Appendix C equation applies before ordering a non-tabulated length.

    Reading the B16.5 bolt data for any flange

    The numbers a stud-bolt buyer pulls from B16.5 for any flange are these:

    Field from B16.5Used 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, bolt diameter and stud length for every NPS-Class pair are tabulated in B16.5 itself; for example Table 10C gives NPS 4 Class 300 raised face as eight 3/4 in bolts with stud length L = 4.50 in. Use the table value unless the joint differs from the Appendix C assumptions.

    ASTM A193 B8M Class 2 mechanical property recall

    A buyer specifying B8M studs for a B16.5 flange picks one of these conditions. B16.5 Table 1.1-2 lists B8M Class 2 and Class 2B as intermediate-strength bolting and B8M Class 1 and B8MA as low-strength bolting, which B16.5 limits to Class 150 and Class 300 joints (para. 5.3.4); Class 2C is not listed. The numbers below are from ASTM A193/A193M Table 2.

    ClassConditionTensile minYield min (0.2 percent offset)Elongation 4D minRA minHardness max
    Class 1 / 1D, B8M, all diameterssolution treated75 ksi (515 MPa)30 ksi (205 MPa)30%50%223 HBW / 96 HRB
    Class 1A, B8MA, all diameterssolution treated in finished condition75 ksi (515 MPa)30 ksi (205 MPa)30%50%192 HBW / 90 HRB
    Class 2, B8M, 3/4 in. and understrain hardened110 ksi (760 MPa)95 ksi (655 MPa)15%45%321 HBW / 35 HRC
    Class 2B, B8M2, 2 in. and understrain hardened95 ksi (655 MPa)75 ksi (515 MPa)25%40%321 HBW / 35 HRC
    Class 2C, B8M3, 2 in. and understrain hardened85 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. For the stud length conversation, the assembler target bolt load is a percentage of yield, and yield changes by class. A Class 1 and a Class 2 stud of the same size take the same length but a different torque, and Class 1 is limited to Class 150 and 300 joints under B16.5 5.3.4.

    Why flange class changes the length even at the same NPS

    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 much thicker, the bolt diameter is larger and the heavy hex nut for that diameter is taller, so every term of A = 2(tf + t + d) + G + F − a moves at once. This is why a fastener vendor asks for NPS, Class, gasket type and facing type together.

    Thread form, fit, and the eight-thread series cutoff

    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.

    Tightening, load, and PCC-1 in the background

    Stud length matters because the assembler needs enough free thread above each nut for the tightening method. ASME PCC-1 sets the working framework: a target bolt-assembly load chosen for the flange, gasket, class and material; a tightening pattern (the Star or Modified Star sequence of Appendix F); and load control by torque, hydraulic tension or other methods depending on service. PCC-1 Table F-4-1 groups joints by service and the recommended tool family scales with that. None of this is the stud manufacturer's responsibility, but a stud 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:

    Specify a stud bolt with TorqBolt

    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.

    Related references

    Companion data: B16.5 flange stud data (B18.31.2 chamfer and length tolerance), 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.