Views: 12 Author: Monica Publish Time: 2026-03-11 Origin: Site
"SW" stands for Socket Weld. An SW flange has a recessed socket bore machined into its face; the pipe end slides into that socket and is joined with a single fillet weld run around the outside of the pipe — not a butt weld. This makes SW flanges faster and easier to align and weld than Weld Neck (WN) flanges, but it restricts them to small-bore piping (in practice, NPS 4 and smaller) and to services where a small internal gap at the base of the socket is acceptable.

SW flanges are a forged pipe fitting that provide exceptional strength and leak-proof performance in high-pressure, small-bore piping systems. This article explores their features, complete dimensional specifications under ASME B16.5, types, usage methods, primary applications, a direct comparison with Weld Neck (WN) flanges, and a broader selection guide against threaded and slip-on flanges.
The core trade-off is size and speed versus strength and internal geometry: SW flanges install faster and align themselves during welding, while WN flanges handle larger sizes, higher stress, and cleaner internal flow with no crevice.
| Comparison Point | SW (Socket Weld) Flange | WN (Weld Neck) Flange |
|---|---|---|
| Welding method | Single fillet weld on the outside of the pipe | Full-penetration V-groove butt weld |
| Typical size range | NPS 4 and smaller | All sizes, including large-diameter piping |
| Strength / stress distribution | Good, but limited by the fillet weld and the tapered hub is absent | Superior; long tapered hub distributes stress gradually into the pipe wall |
| Fatigue / vibration resistance | Good — a common reason it is chosen for hydraulic and steam lines | Very good, and preferred for the most severe cyclic-stress services |
| Internal geometry | Small inherent gap at the base of the socket — a potential crevice-corrosion site | Flush, uninterrupted bore with no internal gap |
| Weld inspection | Fillet weld is harder to radiograph; PT/MT is the usual method | Butt weld can be radiographed (RT), enabling full volumetric inspection |
| Installation effort | Faster — no bevel prep, self-aligning in the socket | Slower — requires precise bevel, land, and gap alignment |
| Relative cost (small bore) | Lower — less machining, less labor | Higher — more machining and welding time |
SW flanges provide structural integrity in systems where space is limited and pressure is high.
1. Simplified Alignment for Welding
The internal socket design acts as a guide, ensuring that the pipe is perfectly centered within the flange without the need for complex external alignment tools. Unlike butt-weld fittings that require precise "land" and "gap" alignment, the SW flange allows the pipe to slide into the socket, naturally finding its center and simplifying the tack-welding process.
2. Superior Flow Characteristics
The counterbore of a Socket Weld flange is precision-machined to match the internal diameter (ID) of the pipe, resulting in a smooth, unobstructed flow path. This feature minimizes turbulence and prevents the accumulation of debris or "dead zones" at the joint, which is essential in high-purity applications or systems handling corrosive media.
3. High Fatigue Resistance
Because the connection is secured with a fillet weld on the outside of the pipe rather than a butt weld, the joint exhibits excellent resistance to mechanical vibration and fatigue. This makes SW flanges particularly suitable for hydraulic lines and steam distribution systems where internal pressure fluctuations are frequent.
4. Elimination of Internal Weld Protrusion
In a Socket Weld configuration, the welding occurs on the exterior of the pipe-to-hub interface, meaning there is no weld bead protruding into the internal flow stream. This is a significant advantage over Slip-On flanges, where an internal weld is often required, potentially obstructing the flow or creating a site for localized corrosion.
5. Requirement for an Expansion Gap
To prevent stress cracking during the welding process and subsequent thermal expansion, a specific 1.5 mm (1/16") gap must be maintained between the pipe end and the bottom of the socket. This "expansion gap" is a critical feature of the SW installation that allows the pipe to expand without exerting axial force on the flange face or the weld itself.

Class 150 Socket Weld Flange Dimensions
Nominal Pipe Size | Outside Diameter (O) | Thickness (T) | Raised Face Diameter (R) | Length Thru Hub (Y) | Hub Diameter (X) | Bore (B1) | Bore (B2) | Depth of Socket (D) | Approx. Weight (lbs) | Bolt Circle (C) | No. of Holes | Diameter of Holes |
1/2 | 3.50 | 0.44 | 1.38 | 0.63 | 1.19 | 0.62 | 0.88 | 0.38 | 1 | 2.38 | 4 | 0.63 |
3/4 | 3.88 | 0.50 | 1.69 | 0.63 | 1.50 | 0.82 | 1.09 | 0.44 | 2 | 2.75 | 4 | 0.63 |
1 | 4.25 | 0.56 | 2.00 | 0.69 | 1.94 | 1.05 | 1.36 | 0.50 | 2 | 3.13 | 4 | 0.63 |
1 1/4 | 4.63 | 0.63 | 2.50 | 0.81 | 2.31 | 1.38 | 1.70 | 0.56 | 3 | 3.50 | 4 | 0.63 |
1 1/2 | 5.00 | 0.69 | 2.88 | 0.88 | 2.56 | 1.61 | 1.95 | 0.63 | 3 | 3.88 | 4 | 0.63 |
2 | 6.00 | 0.75 | 3.63 | 1.00 | 3.06 | 2.07 | 2.44 | 0.69 | 5 | 4.75 | 4 | 0.75 |
2 1/2 | 7.00 | 0.88 | 4.13 | 1.13 | 3.56 | 2.47 | 2.94 | 0.75 | 7 | 5.50 | 4 | 0.75 |
3 | 7.50 | 0.94 | 5.00 | 1.19 | 4.25 | 3.07 | 3.57 | 0.81 | 8 | 6.00 | 4 | 0.75 |
3 1/2 | 8.50 | 0.94 | 5.50 | 1.25 | 4.81 | 3.55 | 4.07 | 0.88 | 11 | 7.00 | 8 | 0.75 |
4 | 9.00 | 0.94 | 6.19 | 1.31 | 5.31 | 4.03 | 4.57 | 0.94 | 13 | 7.50 | 8 | 0.75 |
5 | 10.00 | 0.94 | 7.31 | 1.44 | 6.44 | 5.05 | 5.66 | 0.94 | 15 | 8.50 | 8 | 0.88 |
6 | 11.00 | 1.00 | 8.50 | 1.56 | 7.56 | 6.07 | 6.72 | 1.06 | 19 | 9.50 | 8 | 0.88 |
8 | 13.50 | 1.13 | 10.63 | 1.75 | 9.69 | 7.98 | 8.72 | 1.25 | 30 | 11.75 | 8 | 0.88 |
10 | 16.00 | 1.19 | 12.75 | 1.94 | 12.00 | 10.02 | 10.88 | 1.31 | 43 | 14.25 | 12 | 1.00 |
12 | 19.00 | 1.25 | 15.00 | 2.19 | 14.38 | 12.00 | 12.88 | 1.56 | 64 | 17.00 | 12 | 1.00 |
14 | 21.00 | 1.38 | 16.25 | 2.25 | 15.75 | 13.25 | 14.14 | 1.63 | 90 | 18.75 | 12 | 1.13 |
16 | 23.50 | 1.44 | 18.50 | 2.50 | 18.00 | 15.25 | 16.16 | 1.75 | 98 | 21.25 | 16 | 1.13 |
18 | 25.00 | 1.56 | 21.00 | 2.69 | 19.88 | 17.25 | 18.18 | 1.94 | 130 | 22.75 | 16 | 1.25 |
20 | 27.50 | 1.69 | 23.00 | 2.88 | 22.00 | 19.25 | 20.20 | 2.13 | 165 | 25.00 | 20 | 1.25 |
22 | 29.50 | 1.81 | 25.25 | 3.13 | 24.25 | 21.25 | 22.22 | 2.38 | 185 | 27.25 | 20 | 1.38 |
24 | 32.00 | 1.88 | 27.25 | 3.25 | 26.13 | 23.25 | 24.25 | 2.50 | 220 | 29.50 | 20 | 1.38 |
Class 300 Socket Weld Flange Dimensions
NPS | Flange OD | Thickness (Raised Face) | Hub OD | Socket Bore ID | Socket Depth | Bore ID | Bolt Circle | No. of Bolts | Bolt Hole Dia. |
1/2 | 3.75 | 0.88 | 1.50 | 0.88 | 0.38 | 0.62 | 2.62 | 4 | 0.62 |
3/4 | 4.62 | 1.00 | 1.88 | 1.09 | 0.44 | 0.82 | 3.25 | 4 | 0.75 |
1 | 4.88 | 1.06 | 2.12 | 1.36 | 0.50 | 1.05 | 3.50 | 4 | 0.75 |
1 1/4 | 5.25 | 1.06 | 2.50 | 1.70 | 0.56 | 1.38 | 3.88 | 4 | 0.75 |
1 1/2 | 6.12 | 1.19 | 2.75 | 1.97 | 0.62 | 1.61 | 4.50 | 4 | 0.88 |
2 | 6.50 | 1.31 | 3.31 | 2.44 | 0.69 | 2.07 | 5.00 | 8 | 0.75 |
2 1/2 | 7.50 | 1.50 | 3.94 | 2.94 | 0.75 | 2.47 | 5.88 | 8 | 0.88 |
3 | 8.25 | 1.50 | 4.62 | 3.57 | 0.81 | 3.07 | 6.62 | 8 | 0.88 |
4 | 10.00 | 1.56 | 5.75 | 4.57 | 0.94 | 4.03 | 7.88 | 8 | 0.88 |
6 | 12.50 | 1.81 | 7.31 | 6.72 | 1.06 | 6.07 | 10.62 | 12 | 0.88 |
8 | 15.00 | 2.00 | 9.06 | 8.72 | 1.25 | 7.98 | 13.00 | 12 | 1.00 |
10 | 17.50 | 2.19 | 11.00 | 10.88 | 1.31 | 10.02 | 15.25 | 16 | 1.12 |
12 | 20.50 | 2.25 | 13.38 | 12.88 | 1.56 | 12.00 | 17.75 | 16 | 1.25 |
Socket Weld flanges are categorized primarily by their facing type, which dictates the sealing method and gasket used.

Raised Face (RF): This is the most common type. It features a small raised ring around the bore where the gasket sits. This design concentrates the gasket pressure, providing a stronger seal and is suitable for a wide range of pressure classes.
Flat Face (FF): The entire flange face is flat. This type is typically used with lower pressure classes (e.g., Class 150) and when mating with cast iron or other brittle components to avoid flange breakage from over-torquing.
Ring Type Joint (RTJ): These flanges feature a grooved face that accommodates a metal ring gasket. They are designed for high-pressure and high-temperature services, typically above Class 600, where a leak-tight, metal-to-metal seal is required.
Tongue and Groove (T&G) and Male-Female (MFM): These are more specialized, precision-machined faces where one flange has a raised section and the mating flange has a matching recess. They provide excellent sealing for critical applications and help in accurate alignment.
Using a Socket Weld flange requires precision and adherence to welding safety standards.

Step 1: Preparation
Before insertion, the pipe end must be cut square and deburred. Any rust, oil, or debris on the pipe exterior and inside the flange socket must be removed using a wire brush or solvent. This ensures a high-quality weld and prevents contamination of the alloy.
Step 2: Insertion and Gapping
Insert the pipe into the flange socket until it hits the bottom. Then, pull the pipe back by approximately 1.5mm (1/16"). This gap is mandatory under ASME B31.3. It prevents the pipe from expanding against the flange bottom during welding heat, which could otherwise cause the weld to crack or the pipe to distort.
Step 3: Tack Welding
Apply 2 to 4 small tack welds around the circumference to hold the pipe in position. Re-verify the alignment and the expansion gap before proceeding to the final weld.
Step 4: Final Fillet Weld
Perform a continuous fillet weld around the hub of the flange and the pipe. The thickness of the weld should generally be at least 1.1 times the nominal wall thickness of the pipe to ensure maximum strength.
Step 5: Inspection
After the weld has cooled, it should be inspected using Dye Penetrant (PT) or Magnetic Particle (MT) testing to check for surface cracks or porosity. In critical systems, radiographic testing may also be required.

Chemical and Petrochemical Processing
In plants handling volatile or corrosive chemicals, SW flanges made from stainless steel or Hastelloy are used for small-diameter chemical feed lines. Their smooth internal bore prevents the buildup of corrosive media, thereby extending the lifespan of the piping system.
Steam and Condensate Systems
The high fatigue resistance of Socket Weld connections makes them ideal for steam distribution. These systems often experience rapid thermal cycling; the SW flange’s ability to handle these stresses, provided the expansion gap is correctly maintained, prevents leaks in sensitive boiler room environments.
Hydraulic and Lubrication Lines
High-pressure hydraulic systems rely on SW flanges to manage fluid power. Because these lines are often small-bore and subject to intense vibration, the mechanical strength of the fillet weld provides a more reliable connection than threaded alternatives, which are prone to weeping under high pressure.
Pharmaceutical and Food Production
In these industries, the avoidance of crevices is paramount. SW flanges are often used because they provide a "cleaner" internal profile than slip-on flanges, reducing the risk of bacterial growth or cross-contamination between product batches.

Choosing between a Socket Weld (SW) flange and a Weld Neck (WN) flange often depends on pipe size, pressure ratings, and budget. Here are the primary differences:
Welding Method: SW flanges require a fillet weld on the outside of the pipe, whereas WN flanges require a V-groove butt weld. WN welds are more difficult to perform but easier to radiograph.
Size Range: SW flanges are generally restricted to small sizes (typically up to NPS 2 or 3). WN flanges are the industry standard for all sizes, especially large-diameter piping.
Strength and Fatigue: WN flanges offer superior strength and better stress distribution due to the long tapered hub. While SW flanges have good fatigue resistance, they are generally considered slightly inferior to WN in extreme high-stress environments.
Internal Geometry: The WN flange provides a perfectly flush internal connection, whereas the SW flange has a small inherent gap at the bottom of the socket which can be a site for "crevice corrosion" in certain chemical services.
Installation Effort: SW flanges are much faster and easier to install because they do not require the precise "bevel" preparation and perfect end-to-end alignment that a WN butt weld demands.
Cost: SW flanges are generally more economical for small-bore systems because they reduce labor time and require less sophisticated welding techniques.
For most small-bore, moderate-to-high-pressure piping, SW is the default choice; WN takes over once size, stress, or inspection requirements increase, while threaded and slip-on flanges serve lower-pressure or low-criticality lines where welding is impractical or unnecessary.
| Attribute | SW Flange | WN Flange | Threaded Flange | Slip-On Flange |
|---|---|---|---|---|
| Connection method | Fillet weld to socket | Butt weld to tapered hub | Threaded engagement, no welding | Fillet weld, pipe slips through bore |
| Typical size range | NPS 4 and smaller | All sizes | NPS 4 and smaller | All sizes, most common in mid-range |
| Pressure suitability | High-pressure, small-bore service | Suitable across all pressure classes, including the most severe | Low-to-moderate pressure only | Moderate pressure; lower rating than WN at the same size |
| Hot work required | Yes | Yes | No — useful where welding is restricted (e.g., hazardous areas) | Yes |
| Internal crevice risk | Small gap at socket base | None — flush bore | Thread engagement can trap media | Gap between pipe end and flange bore |
| Best-fit applications | Hydraulic lines, steam/condensate, small chemical feed lines | Main process piping, high-pressure and high-temperature systems, large-diameter lines | Utility and instrument air lines, low-pressure water lines, non-welded field repairs | Low-to-moderate pressure utility piping, general-purpose systems, ductwork |
When to specify SW over the alternatives:
Pipe size is NPS 4 or smaller and the line will see meaningful vibration or pressure cycling — SW's fillet weld outperforms threaded connections here.
Fast, self-aligning installation matters more than radiographic weld inspection — SW does not require the bevel and gap control a WN butt weld demands.
The process fluid is clean and non-crevice-sensitive — for high-purity or highly corrosive chloride service, prefer WN to eliminate the internal socket gap.
Hot work is not restricted at the job site — where welding is prohibited or impractical, a threaded flange is the alternative.
Q: What does SW mean on a flange?
A: SW stands for Socket Weld. It describes a flange with a recessed socket machined into the face that accepts a pipe end, which is then joined with a fillet weld around the outside of the pipe rather than a butt weld through the wall thickness.
Q: What is the maximum size for a socket weld flange?
A: In practice, socket weld flanges are manufactured and used up to about NPS 4, with NPS 2 or NPS 3 being the more common practical ceiling. Although ASME B16.5 dimensional tables nominally extend further, sockets and fillet welds of that scale become impractical to fabricate and inspect reliably, so Weld Neck flanges are used instead once bore size increases.
Q: Why does a socket weld flange need a 1.5 mm expansion gap?
A: The gap between the pipe end and the bottom of the socket allows the pipe to expand axially as it heats up during welding and later in service. Without it, the pipe would bear directly against the socket bottom, and the resulting stress can crack the weld root or distort the flange.
Q: Can socket weld flanges be used in high-pressure service?
A: Yes. SW flanges are rated across the full range of ASME B16.5 pressure classes and are a standard choice for high-pressure hydraulic and steam lines, provided the line stays within the small-bore size range where SW is normally applied.
Q: Is an SW flange or a WN flange better for corrosive or high-purity service?
A: A WN flange is generally the better choice. Its flush internal bore has no gap at the weld joint, while an SW flange retains a small crevice at the base of the socket that can become a site for chloride pitting or crevice corrosion in aggressive media, and can trap contamination in high-purity systems.
Q: What materials are socket weld flanges available in?
A: SW flanges are produced in the same material grades as other forged flange types, including carbon steel, standard austenitic stainless steels such as 316/316L, superaustenitic grades such as 904L, duplex and super duplex grades such as S32205 and S32750, and nickel alloys such as Inconel 625 and Hastelloy C276, selected according to the corrosion and temperature demands of the service.