ASME B16.5

Pipe flanges and flanged fittings, NPS 1/2 to 24

ASME B16.5 flanges explained: weld neck, slip-on, threaded, socket weld, lap joint and blind types, Classes 150 to 2500, facings, ratings and callouts.

Scope

ASME B16.5 covers steel and alloy pipe flanges and flanged fittings from NPS 1/2 to NPS 24. It sets pressure-temperature ratings, materials, dimensions, tolerances, bolting, facings, marking and testing. Flanges above NPS 24 are covered by ASME B16.47.

It is the default flange standard on oil and gas facilities. Nearly every flanged nozzle, valve end, instrument connection and spool on a topsides or onshore plant is specified as a B16.5 class and facing, for example "8 in Class 600 RF WN".

B16.5 does not cover gaskets (ASME B16.20 and B16.21), bolt tightening (ASME PCC-1), wellhead flanges (API 6A) or large-diameter flanges (ASME B16.47).

The ASME B16 family

ASME B16 is a series of standards for pipe flanges, fittings, valves and gaskets. B16.5 is the best known of them. ANSI B16 is the older name for the same series: ASME writes the standards, and ANSI approves them as American National Standards.

The standards are written to work together. A weld neck flange to B16.5 is welded to a B16.9 fitting with a B16.25 weld bevel, sealed with a B16.20 gasket and bolted to a valve built to B16.34 with a B16.10 length. Above NPS 24, B16.47 takes over from B16.5.

StandardSubject
B16.5Pipe flanges and flanged fittings, NPS 1/2 to 24
B16.9Factory-made butt-welding fittings
B16.10Face-to-face and end-to-end lengths of valves
B16.11Forged socket-weld and threaded fittings
B16.20Metallic gaskets: spiral-wound, ring joint and others
B16.21Non-metallic flat gaskets
B16.25Butt-welding ends
B16.34Valves: ratings, wall thickness and testing
B16.47Large diameter steel flanges, NPS 26 to 60
B16.48Line blanks: spectacle blinds, paddle blanks and spacers

Subjects shortened to plain words. The full B16 series is longer and includes cast iron, bronze and other product standards.

The six flange types

B16.5 defines six flange types. For a given size and class they share the same outside diameter, bolt circle and bolting, so any two of them mate. They differ in how they join the pipe, and that decides where each one may be used.

Not every type is made in every size and class. Socket weld flanges come in small sizes only, and slip-on and threaded flanges are limited in the top classes. Each component page gives the range the library models: weld neck, slip-on, threaded, socket weld, lap joint and blind.

Weld neckButt weld at the end ofa long tapered hubSlip-onFillet welds inside andoutside, short hubThreadedScrewed onto a taperthread, no weldSocket weldPipe sits in a socket,one outside fillet weldLap jointLoose ring behind astub end welded to the pipeBlindA solid plate that closesa line or a nozzle
Half sections of the six B16.5 flange types, gasket face on the left and pipe centreline dashed. The welds are orange and bolt holes are shown in the ring. Illustrative, not to scale.
TypeHow it joins the pipeTypical use
Weld neck (WN)Butt weld at the end of a long tapered hubHydrocarbon, high pressure, very hot or cold, and cyclic service. The weld can be radiographed.
Slip-on (SO)Slides over the pipe, fillet welded inside and outsideModerate pressure, steady service. Easy to fit up.
Threaded (THD)Screws onto a taper-threaded pipe endSmall utility lines where welding is not wanted
Socket weld (SW)Pipe sits in a socket, one outside fillet weldSmall-bore process, vent, drain and instrument lines
Lap joint (LJ)Loose ring behind a stub end that is butt welded to the pipeStainless or alloy lines, and joints where bolt holes must line up easily
Blind (BL)No bore, bolts over a flanged endClosing a line, a nozzle or a test point

Threaded and slip-on flanges

A threaded flange has a taper pipe thread (NPT, to ASME B1.20.1) cut through its hub. The threaded pipe end is screwed in until it is tight, so no welding is needed, and the face still bolts to any B16.5 flange of the same size and class. It suits small utility lines, galvanised pipe and areas where hot work is not allowed.

The thread is a leak path and a weak point under bending and vibration. ASME B31.3 does not allow threaded joints in severe cyclic conditions and advises against them where crevice corrosion or erosion is likely. Many company specifications limit them to small sizes and utility service, or ask for a seal weld.

A B16.5 slip-on flange always has a short hub on its back. The pipe slides through the bore and is fillet welded twice: inside, set back from the face so the weld stays clear of the gasket surface, and outside, at the end of the hub. The hub stiffens the ring and carries the outside weld. A flat plate flange with no hub is not a B16.5 flange: plate flanges come from other standards, such as EN 1092-1.

Slip-on flanges cost less than weld neck flanges and are easier to fit, because the pipe does not have to be cut to an exact length. Their strength and fatigue life are lower, so most specifications keep them to moderate pressures and steady service.

3D model of an ASME B16.5 threaded flange screwed onto a short length of threaded pipe
The threaded flange component: an NPT thread through the hub, made up onto a pipe stub, with an optional seal weld. Open the component

Facings and finishes

The facing is the part of the flange the gasket sits on. Two mating flanges must have matching facings. A raised face flange should not be bolted to a flat face cast iron flange: the bolt load would bend and can crack the cast iron, so the steel flange is ordered flat faced with a full face gasket.

Raised and flat faces normally have a serrated finish, cut as a spiral or as concentric grooves, with a roughness commonly quoted as 3.2 to 6.3 µm Ra (125 to 250 µin). The grooves grip a soft gasket so it cannot blow out. Ring joint grooves need a much smoother finish, because the metal ring seals on the groove wall.

FacingWhat it looks likeGasketWhere it is used
Raised face (RF)A raised ring around the bore, inside the boltsSpiral-wound or sheet ringMost process and utility piping
Flat face (FF)Flat across its full widthFull face sheet gasketMating with cast iron or other flat-faced flanges
Ring-type joint (RTJ)A groove machined into the faceSolid metal R ring, oval or octagonalHigh pressure and temperature, often Class 900 and above
Tongue and groove, male and femaleMatching raised and recessed facesGasket trapped in the recessLess common: some exchanger and special joints

Commonly quoted reference values. Confirm finishes against the current edition and the gasket maker’s data.

Pressure-temperature ratings

A class is not a pressure. To find what a flange may carry, look up its material group and read the rating at the design temperature. Forged carbon steel to ASTM A105 is in Group 1.1. The rating falls as the temperature rises, so a flange that is fine at ambient may not be strong enough in hot service.

The table shows the ratings commonly quoted for Group 1.1 at ambient temperature, from −29 to 38 °C. The library’s own flange dimensions are on the Standards & data page.

Group 1.1 ratings at −29 to 38 °C
ClassMaximum working pressure
15019.6 bar
30051.1 bar
40068.1 bar
600102.1 bar
900153.2 bar
1500255.3 bar
2500425.5 bar

Commonly quoted reference values for Group 1.1 materials in recent editions. Other material groups and temperatures give different ratings. Use the tables in the current edition for design.

B16.5, B16.47 and API 6A flanges

Three flange families are common on oil and gas facilities, and they can look alike. B16.5 covers plant piping up to NPS 24. ASME B16.47 covers larger lines, in two series, A and B, that do not mate with each other. API 6A covers wellhead and christmas tree flanges, rated in psi rather than by class.

At 2000, 3000 and 5000 psi, API 6B flanges share bolt patterns with ASME Class 600, 900 and 1500, but the ratings, materials and gaskets differ. Read the marking before mating a wellhead flange to plant piping.

ItemASME B16.5ASME B16.47API 6A
SizesNPS 1/2 to 24NPS 26 to 60Nominal bore sizes for wellhead equipment
RatingsClasses 150 to 2500Classes 75 (Series B only) to 9002000 to 20000 psi working pressure
TypesWeld neck, slip-on, threaded, socket weld, lap joint, blindWeld neck and blindType 6B and 6BX, with ring joint grooves
Where usedPlant piping, valves and nozzlesExport lines, seawater and firewater mains, flare headersWellheads, trees, BOPs and choke manifolds

Summary of widely published scope. Check the current edition of each standard.

How to read a flange callout

Line lists, valve datasheets and purchase orders describe a flange in one line. The order of the items varies between companies, but the items are the same.

8"SizeNPS 8CL600Classpressure class 600RFFacingraised faceWNTypeweld neckSCH 80Borematches Sch 80 pipeASTM A105Materialforged carbon steelASME B16.5Standardsets the dimensions
A typical flange callout split into its parts. The class is the item most often misread as a pressure.
  1. 1

    Size

    8" is the nominal pipe size, NPS 8. It is neither the bore nor the outside diameter. A metric drawing may write DN 200.

  2. 2

    Class

    CL600, also written 600# or Class 600, is the pressure class. Read the allowed pressure from the rating table for the material and the temperature.

  3. 3

    Facing

    RF is raised face. FF is flat face and RTJ is ring-type joint.

  4. 4

    Type

    WN is weld neck. SO is slip-on, THD or SCRD is threaded, SW is socket weld, LJ is lap joint and BL is blind.

  5. 5

    Bore

    SCH 80 means the bore matches Schedule 80 pipe, so the inside of the weld lines up. Weld neck and socket weld flanges need it. Slip-on and threaded flanges take the pipe outside diameter instead.

  6. 6

    Material

    ASTM A105 is forged carbon steel in Group 1.1. Low-temperature lines often use ASTM A350 LF2, and stainless lines ASTM A182 F316 or F316L.

  7. 7

    Standard

    ASME B16.5 sets the dimensions and ratings. The flange is marked with the maker, material, class, size and the B16 designation, so it can be checked on site.

Key concepts

Pressure classes
The classes are 150, 300, 400, 600, 900, 1500 and 2500. A class is a rating designation, not a pressure in psi. The allowable working pressure depends on the material group and the temperature, and falls as temperature rises.
Pressure-temperature ratings
Ratings are tabulated per material group, such as Group 1.1 for carbon steel forgings like A105. A widely quoted figure is about 19.6 bar for Class 150 Group 1.1 at ambient temperature. Check the current edition for any value you use.
Flange types
The standard covers weld neck, slip-on, socket weld, threaded, lapped (lap joint) and blind flanges. Weld neck flanges with a tapered hub are the usual choice for hydrocarbon service and cyclic loads. Slip-on and threaded flanges are limited to lower-duty service by most project specifications.
Facings
Common facings are raised face (RF), flat face (FF) and ring-type joint (RTJ), with tongue-and-groove and male-female also defined. The raised face is 1.6 mm high for Class 150 and 300 and 6.4 mm for Class 400 and above. RTJ is common at Class 900 and above.
Dimensions and bolting
For each size and class the standard fixes the flange outside diameter, thickness, hub, bolt circle, bolt count and bolt size. Flanges of the same size and class mate regardless of manufacturer. Class 2500 is defined only up to NPS 12.
Flanged fittings
B16.5 also covers flanged elbows, tees, crosses and reducers. On process plants these are less common than butt-welded fittings with weld neck flanges, but they appear in some utility and skid piping.

Questions

What is ASME B16.5?

It is the standard for steel pipe flanges and flanged fittings from NPS 1/2 to NPS 24, in Classes 150 to 2500. It fixes the dimensions, bolting, facings and pressure-temperature ratings, so a flange from one maker mates with a flange of the same size and class from another.

Is ANSI B16.5 the same as ASME B16.5?

Yes. ANSI B16.5 is the older name. ASME writes and publishes the standard, and ANSI approves it as an American National Standard. An "ANSI 150" flange is an ASME B16.5 Class 150 flange.

What is the latest edition of ASME B16.5?

ASME B16.5-2025, which replaced the 2020 edition. Check the ASME catalogue for the current edition, and note that a project specification may name an earlier one.

What is the difference between ASME B16.5 and B16.47?

They cover different sizes. B16.5 covers NPS 1/2 to 24, and ASME B16.47 covers NPS 26 to 60. B16.47 has two series, A and B, that do not mate with each other. It covers only weld neck and blind flanges, and it has no Class 1500 or 2500.

What is ASME B16?

ASME B16 is a series of American standards for pipe flanges, fittings, valves and gaskets. B16.5 covers flanges up to NPS 24 and B16.47 larger flanges, B16.9 and B16.11 cover fittings, B16.34 valves and B16.20 gaskets. ANSI B16 is the older name for the same series.

What is the difference between a threaded flange and a slip-on flange?

Both slide over the pipe end, but they hold it in different ways. A threaded flange screws onto a taper-threaded pipe and needs no weld. A slip-on flange has a plain bore and is fillet welded inside and outside. Threaded flanges suit small utility lines where welding is not wanted, and slip-on flanges suit moderate-pressure lines where a simpler fit-up than a weld neck is useful.

What is a hubbed slip-on flange?

It is the normal B16.5 slip-on flange: a flange ring with a short hub on its back face. The hub stiffens the ring and carries the outside fillet weld to the pipe. Flat plate flanges without a hub are made to other standards, not to B16.5. See the slip-on flange.

In Deck Twin

The flange(nps, rating) function returns weld-neck raised-face dimensions in metres for Class 150, 300, 600, 900, 1500 and 2500 (Class 400 is not tabulated). studLength and blindThickness use the same tables. Thickness and hub length exclude the raised face for every class, so all classes stack the same way. Every flanged component takes nps and rating props and sizes its ends from these values, including the weld-neck flange, slip-on flange, blind flange, flanged joint and all valves. The values are reference data for visualisation; see Standards & data.

import { flange, studLength } from './components/deck-twin/lib/standards'

flange(8, 600)      // { od: 0.4191, thickness: 0.0556, raisedFace: 0.2697, bolts: 12, boltDia: 0.0286, boltCircle: 0.3493, … }
studLength(8, 600)  // 0.1905 (7-1/2 in)

Deck Twin uses these standards as reference values for visualisation. Check the current edition of each standard before using any value for design, procurement or fabrication.

Components that follow ASME B16.5 119

Basket strainer
ASME BPVC VIII-1, ASME B16.5
Bellows expansion joint
EJMA 10th ed. (typical), ASME B31.3 Appendix X
Blind flange
ASME B16.5, ASME B16.47
Elbow
ASME B16.9, ASME B16.25
Flanged joint
ASME B16.5, ASME B16.47
Flexible hose assembly
ISO 10380, EN 14585-1
Gasket
ASME B16.20, ASME B16.21
Insulating joint
ISO 15589-1, NACE SP0286
Lap-joint flange and stub end
ASME B16.5, ASME B16.9
Open drain hub / tundish
ISO 13702 (open drains, typical), API RP 14C / API 14J (drain systems, typical)
Pipe spool
ASME B36.10M, ASME B16.5
Reducer
ASME B16.9, ASME B16.25
Restriction orifice
ISO 5167-2 (plate geometry), ASME MFC-14M
Rupture disc (rupture disk) assembly
ISO 4126-2, ASME VIII UG-127
Sight glass
ASME B16.5, ASME B31.3
Slip-on flange
ASME B16.5, ASME B31.3
Socket-weld flange
ASME B16.5, ASME B31.3
Spectacle blind
ASME B16.48, ASME B16.5
Steam trap
ISO 6704 / EN 26704 (trap types), ISO 6554 / EN 26554 (face-to-face, flanged)
Stud bolt set
ASME B16.5, ASME B18.2.2
Swivel-ring flange
ASME B16.5 (drilling), MSS SP-44
Tee
ASME B16.9, ASME B16.25
Threaded flange
ASME B16.5, ASME B1.20.1
Weld-neck flange
ASME B16.5, ASME B16.47 Series A
Y-strainer
ASME B16.34, ASME B16.5
Ball valve
API 6D, ISO 17292
Blowdown valve (BDV)
API 6D, API 521
Butterfly valve
API 609, ISO 5752
Control valve (globe)
IEC 60534, ISA 75.08.01
Dual-plate check valve (wafer)
API 594 Type A, ASME B16.34
Emergency shutdown valve (ESDV)
API 6D, ISO 14313
Gate valve
API 600, ASME B16.34
Globe valve
API 623, BS 1873
Knife gate valve
MSS SP-81, ASME B16.34
Motor-operated valve (MOV)
API 600, ISO 5210
Needle valve (instrument)
ASME B16.34, MSS SP-99
Piston lift check valve
BS 1868, API 602
Plug valve (lubricated)
API 599, API 6D
Pressure safety valve (PSV)
API 526, API 520
Swing check valve
API 6D, BS 1868
Air / nitrogen receiver
ASME BPVC VIII-1, ASME B16.5
Cartridge filter / coalescer housing
ASME BPVC VIII-1, ASME B16.5
Finger-type slug catcher
ASME B31.8, ASME B16.5
Gas filter-separator
ASME BPVC VIII-1, ASME B16.5
Horizontal separator
ASME BPVC VIII-1, API 12J
Trayed / packed column
ASME BPVC VIII-1, ASME B16.5
Vertical separator / scrubber
ASME BPVC VIII-1, API 12J
Wellhead cyclonic desander
ASME BPVC VIII-1, ASME B16.5
Air-cooled exchanger (fin-fan)
API 661 / ISO 13706, ASME B16.5
Cooling tower (induced draft, counterflow)
CTI STD-201, CTI ATC-105
Electric process heater
ASME BPVC VIII-1, IEC 60079-1
Fired heater (vertical cylindrical)
API 560 / ISO 13705, API 535
Flare boom
API 521, API 537
Flare stack (self-supported, guyed or derrick)
API 521, API 537
Gasketed plate heat exchanger (plate and frame)
ASME BPVC VIII-1, EN 13445
Hairpin (double-pipe) exchanger
ASME BPVC VIII-1, TEMA
Printed-circuit heat exchanger (PCHE)
ASME BPVC VIII-1, ASME B16.5
Shell-and-tube exchanger
TEMA 10th ed., ASME BPVC VIII-1
Vent boom (cold vent)
API 521, ISO 16852
Centrifugal compressor package (API 617)
API 617, API 614
Centrifugal pump (API 610 OH2)
API 610 (OH2), API 682 Plan 53A
Diaphragm metering pump (API 675)
API 675, IEC 60034 / 60072
Diesel firewater pump (NFPA 20)
NFPA 20, API 610 (VS1 / BB1)
Diesel generator set (emergency / standby)
ISO 8528, IEC 60034-1
Gas turbine generator (API 616)
API 616, ISO 3977
Gas-turbine-driven compressor train
API 616, API 617
Multistage pump (API 610 BB3)
API 610 (BB3), API 614
Oil-injected screw compressor package (API 619)
API 619, ISO 1217
Progressive cavity pump
API 676, IEC 60034 / 60072
Reciprocating compressor (API 618)
API 618, API 11P
Reciprocating plunger pump (API 674 triplex)
API 674, API 618 (pulsation guidance)
Submersible caisson pump
API 610 (VS family, submersible), ASME B16.5
Vertical inline pump (API 610 OH3)
API 610 (OH3), API 682 Plan 11
Vertical turbine caisson pump (API 610 VS1)
API 610 (VS1), IEC 60034 / 60072
Christmas tree (surface, API 6A)
API 6A, API 6B / 6BX
Pig launcher / receiver
API 6D, ASME VIII-1
Production / test manifold
ASME B31.3, ASME B16.5
Riser top section
API RP 2RD, API 6D
Wellhead (casing head and spools)
API 6A, API 6B / 6BX
Active mud tank
API RP 13C, ISO 14122-2/3/4
Drilling mud pump
API 7K, API 6A
Pipeline end manifold (PLEM)
API 17P, API 17D
Coriolis flowmeter
ISO 10790, API MPMS 5.6
Differential pressure transmitter
IEC 60079-1, IEC 61518
Electromagnetic flowmeter
ISO 13359, ISO 6817
Guided wave radar level transmitter
IEC 62828, IEC 60079-1
Magnetic level gauge
IEC 62828, ASME B16.5
Orifice flowmeter
ISO 5167-2, ASME B16.36
Pressure gauge
EN 837-1, ASME B40.100
Pressure switch
IEC 60079-1, IEC 60947-5-1
Pressure transmitter
IEC 60079-1, IEC 61298
Temperature gauge
EN 13190, ASME B40.200
Temperature transmitter
ASME PTC 19.3 TW, IEC 60751
Ultrasonic flowmeter
ISO 17089-1, AGA Report 9
Vibrating fork level switch
IEC 62828, IEC 61508 (SIL)
Vortex flowmeter
ISO 12764, ASME B16.5
Deluge nozzle / sprinkler head
NFPA 15, NFPA 13
Deluge valve skid
NFPA 15, EN 12259-9
Fire hose reel
EN 671-1, ISO 7010
Fire monitor
EN 15767, NFPA 15
Pillar fire hydrant
AWWA C502, EN 14384
Deck-hung caisson
ISO 19902, NORSOK P-001
Offshore chemical tote tank
DNV 2.7-1, EN 12079-1
Chemical injection skid
API 675, ASME B31.3
Compact piston prover
API MPMS Ch. 4.2, ASME B16.5
De-oiling hydrocyclone package
ASME BPVC VIII-1, ASME B16.5
Electrochlorination (hypochlorite) package
NORSOK M-001 (materials), ASME B16.5
Fiscal metering skid
API MPMS Ch. 4 / 5, ISO 17089-1
Hydraulic power unit (HPU)
ISO 4413, API 6A
Instrument air dryer package (twin-tower desiccant)
ISO 8573-1, ISO 7183
Instrument air package (compressor, dryer and receiver)
ISO 8573-1, ISO 1217
Membrane nitrogen generator
ISO 8573-1, ASME BPVC VIII-1
Multimedia filter package
ASME BPVC VIII-1, AWWA B100
TEG regeneration package
API 12GDU, ASME BPVC VIII-1
Waste injection skid (cuttings re-injection)
API 674, ASME B31.3
Marine loading arm
OCIMF Design and Construction Specification for Marine Loading Arms, EN 1474
Oily-water separator (CPI)
API 421, API 650 (steel variant)
Packaged fire-tube steam boiler
EN 12953, ASME Section I
Pipeline block-valve station
ASME B31.8, API 6D