Pressure Relief Valve Sizing Calculator — API 520 Required Effective Area and API 526 Orifice Letter for Gas, Steam, Liquid and Two-Phase Relief
Fluid properties come from the CoolProp tables in Thermodynamics Land (gases, steam and liquids) or this site's own digitized liquid data (Multi-Fluid Property Charts). Every property box can be typed over; blank boxes use the fluid data (shown in grey). Pick "Manual entry" to type all of them yourself.
| Letter | in² | mm² |
|---|
Preliminary sizing with the API Standard 520 Part I (8th edition) equations and the API 526 effective orifice areas. The selected valve's certified capacity must still be checked with its actual area and rated coefficient of discharge.
Also See:
Orifice Flow Rate CalculatorAlso See:
Gas Flow Safety CalculatorAlso See:
Thermo Land (Fluid Property Lookup)What Sizing a Relief Valve Means
A pressure relief valve (PRV) opens when the pressure in a vessel or line reaches its set pressure and passes enough flow to stop the pressure rising past what the code allows. Sizing finds the smallest effective discharge area that passes the required relieving rate at the relieving pressure, then picks the standard orifice that is at least that big.
The steps on this page follow API Standard 520 Part I:
- Find the worst-case relieving rate W (or Q) for the contingency: blocked outlet, control valve failure, fire and so on. API 521 lists the common causes. This page takes that rate as an input.
- Fix the relieving pressure P₁ from the set pressure, MAWP and the allowable accumulation (card 02).
- Calculate the required effective area A with the equation for the service: gas or vapor, steam, liquid or two-phase (cards 03 to 07).
- Choose the API 526 orifice letter whose effective area is equal to or larger than A (card 08).
Set Pressure, Accumulation & Relieving Pressure
Accumulation is the pressure rise above MAWP allowed while the device relieves. Overpressure is the rise above the set pressure. When the set pressure equals MAWP they are the same; when the valve is set lower, the overpressure is larger.
For liquids the sizing equation uses gauge pressures, so P₁ there is the set pressure plus the overpressure, without the atmospheric term.
When the MAWP is between 15 and 30 psig (103 and 207 kPag), the allowable accumulation for operating contingencies is 3 psi (21 kPa) for a single device and 4 psi (28 kPa) for multiple devices. This calculator uses the larger of that and the percentage.
| Contingency | Device | Max. set pressure, % MAWP | Max. accumulated pressure, % MAWP |
|---|---|---|---|
| Operating, single device | First | 100 | 110 |
| Operating, multiple devices | First | 100 | 116 |
| Operating, multiple devices | Additional | 105 | 116 |
| Fire | First | 100 | 121 |
| Fire | Additional | 105 | 121 |
| Fire | Supplemental | 110 | 121 |
Gas or Vapor: Critical & Subcritical Flow
Gas speeding up through the valve nozzle reaches the speed of sound when the outlet pressure is low enough. Below that critical flow pressure, lowering the back pressure further does not increase the flow, and the flow depends only on the inlet conditions.
If P₂ ≤ Pcf the flow is critical (choked):
USC: A in², W lb/h, P₁ psia, T °R. SI: A mm², W kg/h, P₁ kPa, T K. M is the molecular weight. If k is not known, API 520 suggests C = 315 (0.0239), the value at k = 1, which is conservative.
If P₂ > Pcf the flow is subcritical. For conventional and pilot-operated valves the area is:
Balanced-bellows valves are sized with the critical-flow equation and the manufacturer's Kb, even when the flow is subcritical (5.6.4.3).
Back Pressure & Valve Types
Conventional valve. Back pressure in the outlet pushes on the back of the disc. Superimposed back pressure raises the opening pressure, so the spring is set lower to suit (the cold differential test pressure). Built-up back pressure should stay under 10 % of the set pressure at 10 % overpressure; above that the valve can chatter. No Kb correction is used for gas at critical flow or for liquid (5.3.3.1.3).
Balanced-bellows valve. A bellows keeps the back pressure off the disc, so it can usually take a total back pressure up to about 50 % of the set pressure. High back pressure still reduces lift, so the capacity is corrected with Kb (gas and steam) or Kw (liquid) from the manufacturer (5.3.3.2).
Pilot-operated valve. Lift is not affected by back pressure; for gas at critical flow Kb = 1.0 (5.3.3.3).
Rupture disk upstream of a valve. The combination's capacity is multiplied by Kc: the certified value for that disk and valve pair, or 0.9 when the combination has no certified value (5.11.2).
Steam (Napier Equation)
Steam at critical flow is sized with the Napier equation rather than the general gas equation:
The second form applies from 1500 to 3200 psia (10 339 to 22 057 kPa).
KSH corrects for superheat. It is 1.0 for saturated steam at any pressure, and for superheated steam it comes from API 520 Table 9 by set pressure and temperature (15 to 3000 psig, 300 to 1200 °F). This page interpolates linearly between the table's rows and columns. Where the point falls next to a blank (“—”) cell of the table, there is no tabulated value to interpolate from, and the page asks for KSH.
Above 1200 °F, API 520 says to size steam with the gas equations (card 03).
Liquid Relief & Viscosity Correction
For valves with ASME capacity certification in liquid service, the liquid is treated as incompressible:
USC: Q in US gal/min, P in psig. SI: Q in L/min, P in kPag. Gl is the specific gravity at the flowing temperature, referred to water at standard conditions. This page uses water at 60 °F (999.01 kg/m³), the same reference as the site's other fluid pages. For preliminary sizing Kd = 0.65.
Viscous liquids flow less than the equation predicts. API 520 sizes first with Kv = 1, takes the next larger standard orifice, finds its Reynolds number, and corrects the area by Kv. If the corrected area is larger than that orifice, the steps repeat with the next size up. This page runs that loop for you.
μ in centipoise, U in Saybolt universal seconds (the SSU forms are not recommended below 100 SSU). API 520 Figure 37 stops at Kv = 1.0, which the equation passes near Re = 105, so the page holds Kv at 1.0 there.
Two-Phase Relief: Omega Method
A liquid that flashes, or a mixture of liquid and vapor, can pass much less mass through a valve than the liquid equation predicts. API 520 Annex C gives Leung's omega method, a form of the homogeneous equilibrium model, for flashing or non-flashing two-phase flow with no non-condensable gas at the inlet. ω describes how fast the mixture expands as the pressure falls, from two specific volumes:
v₀ is the specific volume at the inlet and v₉ is the specific volume at 90 % of the inlet pressure, from a flash calculation in a process simulator.
If Pc = ηcP₀ ≥ Pa (the back pressure), the flow is critical:
USC: P psia, v ft³/lb, G lb/(s·ft²), W lb/h, A in². SI: P Pa, v m³/kg, G kg/(s·m²), W kg/h, A mm². For preliminary sizing Kd = 0.85. The subcritical USC form carries the same 68.09 factor.
API 526 Orifice Letters
API 526 is the purchase specification for flanged steel relief valves. It names each orifice size by a letter, from D (smallest) to T (largest), and gives each letter an effective area to be used with the API 520 equations. The required area from the calculator is rounded up to the next letter.
Effective areas are not the area of any real valve. A manufacturer's valve with a given letter has its own actual orifice area and rated coefficient of discharge, chosen so that its certified capacity meets or exceeds what the API equations predict for that letter (API 520 5.2.5, 5.2.6).
If the required area is larger than a T orifice, the relief load has to be split between several valves; API 520's two-phase example ends with two Q orifices and one R orifice. Multiple valves use the 116 % accumulation (card 02).
| Letter | Effective area, in² | Effective area, mm² |
|---|
Notes, Limitations & Sources
This calculator does not decide the relieving rate, check inlet pressure loss or discharge piping, or size for fire heat input; API 520 Part II and API 521 cover those. Kb for balanced-bellows valves and Kw are left for you to enter from the manufacturer, since the API 520 curves (Figures 30 and 31) are typical values only. Liquid valves without capacity certification (API 520 5.9) and rupture-disk sizing by the flow-resistance method (5.11.1.3) are not covered.
The worked examples in the Configuration list load the inputs from API 520 Part I. Two of them read a factor off a figure (F₂ = 0.86 in Example 2, ηc = 0.66 in Annex C) where this page calculates it from the equation (0.855 and 0.656), so those results differ slightly from the printed ones. The SI results in API 520's examples are the USC answers converted to mm², so the SI equations, whose constants are rounded, agree with them to about 0.2 %.
- American Petroleum Institute, API Standard 520, Sizing, Selection, and Installation of Pressure-relieving Devices in Refineries, Part I: Sizing and Selection, 8th ed., Dec. 2008: equations (1) to (34), Tables 1 and 7 to 9, Annex C. Newer editions exist; check against the edition your project calls for.
- Baker Hughes, Consolidated Valve Sizing and Selection, Technical Specification Rev. E, Feb. 2022: API 526 effective areas (Table 6), accumulation rules.
- LESER, Design of Safety Valves, Design Standard ASME VIII / API 520, Rev. 00, June 2018: API 526 effective areas, API Kd values.
- Fluid properties: CoolProp tables via Thermodynamics Land; digitized liquid densities and viscosities via Multi-Fluid Property Charts.