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.
| Standard | Subject |
|---|---|
| B16.5 | Pipe flanges and flanged fittings, NPS 1/2 to 24 |
| B16.9 | Factory-made butt-welding fittings |
| B16.10 | Face-to-face and end-to-end lengths of valves |
| B16.11 | Forged socket-weld and threaded fittings |
| B16.20 | Metallic gaskets: spiral-wound, ring joint and others |
| B16.21 | Non-metallic flat gaskets |
| B16.25 | Butt-welding ends |
| B16.34 | Valves: ratings, wall thickness and testing |
| B16.47 | Large diameter steel flanges, NPS 26 to 60 |
| B16.48 | Line 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.
| Type | How it joins the pipe | Typical use |
|---|---|---|
| Weld neck (WN) | Butt weld at the end of a long tapered hub | Hydrocarbon, 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 outside | Moderate pressure, steady service. Easy to fit up. |
| Threaded (THD) | Screws onto a taper-threaded pipe end | Small utility lines where welding is not wanted |
| Socket weld (SW) | Pipe sits in a socket, one outside fillet weld | Small-bore process, vent, drain and instrument lines |
| Lap joint (LJ) | Loose ring behind a stub end that is butt welded to the pipe | Stainless or alloy lines, and joints where bolt holes must line up easily |
| Blind (BL) | No bore, bolts over a flanged end | Closing 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.
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.
| Facing | What it looks like | Gasket | Where it is used |
|---|---|---|---|
| Raised face (RF) | A raised ring around the bore, inside the bolts | Spiral-wound or sheet ring | Most process and utility piping |
| Flat face (FF) | Flat across its full width | Full face sheet gasket | Mating with cast iron or other flat-faced flanges |
| Ring-type joint (RTJ) | A groove machined into the face | Solid metal R ring, oval or octagonal | High pressure and temperature, often Class 900 and above |
| Tongue and groove, male and female | Matching raised and recessed faces | Gasket trapped in the recess | Less 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.
| Class | Maximum working pressure |
|---|---|
| 150 | 19.6 bar |
| 300 | 51.1 bar |
| 400 | 68.1 bar |
| 600 | 102.1 bar |
| 900 | 153.2 bar |
| 1500 | 255.3 bar |
| 2500 | 425.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.
| Item | ASME B16.5 | ASME B16.47 | API 6A |
|---|---|---|---|
| Sizes | NPS 1/2 to 24 | NPS 26 to 60 | Nominal bore sizes for wellhead equipment |
| Ratings | Classes 150 to 2500 | Classes 75 (Series B only) to 900 | 2000 to 20000 psi working pressure |
| Types | Weld neck, slip-on, threaded, socket weld, lap joint, blind | Weld neck and blind | Type 6B and 6BX, with ring joint grooves |
| Where used | Plant piping, valves and nozzles | Export lines, seawater and firewater mains, flare headers | Wellheads, 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.
- 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
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
Facing
RF is raised face. FF is flat face and RTJ is ring-type joint.
- 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
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
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
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.
