PSV Relief Load Calculator | API 520 / 521 / 526 Sizing

Aienginear Engineering Desk · Reviewed and updated 21 October 2026 · Calculator v3.0.2 · Basis: API 520 Part I, API 521, API 526, ASME BPVC Section XIII

Quick answer

To size a pressure safety valve, find the relief load for every credible overpressure scenario (API 521), convert the set pressure to the relieving pressure by adding the allowable overpressure and atmospheric pressure (ASME Section XIII), calculate the required effective area with the API 520 equation for the fluid phase, then choose the next API 526 orifice letter above the largest area. The free Aienginear calculator below does every step and shows the governing case.

  • Gas / vapour: A = W / (C Kd P1 Kb Kc) √(T Z / M) when the flow is choked.
  • Liquid: A = 11.78 Q / (Kd Kw Kc Kv) √(G / ΔP), with Kd = 0.65.
  • Fire: Q = 43 200 F Aws0.82 W, and the relief load is Q divided by the latent heat; accumulation is 21%.
  • Accumulation: 10% for one valve, 16% for several, 21% for fire – with minimums of 20.7 kPa and 27.6 kPa at low set pressures.

1. PSV Relief Load Calculator (API 520 / 521 / 526)

The calculator handles seven relief scenarios – blocked outlet, external fire (wetted, gas-filled and jet fire), thermal expansion, control valve failure, heat-exchanger tube rupture, gas blowby and two-phase flashing relief. It sizes gas, steam, liquid and two-phase service, applies the ASME Section XIII accumulation limit for each scenario automatically, ranks the scenarios you mark as credible, and prints a branded A4 calculation sheet. It runs in your browser; nothing you type is sent to a server.

Engineering use. This is a preliminary engineering and design-support calculator. Use it for studies, checking and front-end sizing. Final valve selection needs the manufacturer’s certified coefficient and actual area, verified relief loads, and review by a qualified engineer against the editions of the codes that apply to your project.

2. How to Use the Calculator in Six Steps

  1. Pick the scenario. Start with the overpressure cause you are checking. Each scenario has its own inputs, so you can fill in several and compare them later.
  2. Enter the set pressure and MAWP in gauge units. Use barg, kPag, psig or MPag. The tool adds the local atmospheric pressure, which you can lower for high-altitude sites. Leave MAWP at 0 if the valve is set at MAWP.
  3. Keep accumulation on “Auto”. The tool then uses 10% for a single valve, 16% for multiple valves and 21% for fire, with the low-pressure minimums. Switch to manual only for a documented special case.
  4. Describe the fluid. Choose a fluid from the library or overwrite M, k, Z, density, viscosity or latent heat with values at relieving conditions. For fire, choose the liquid inventory; the matching vapour properties fill in automatically.
  5. Read the result. You get the required effective area, the flow regime, the API 526 letter, the common inlet and outlet size, the spare capacity and any engineering warnings.
  6. Confirm the governing case and print. On the Governing Case tab, tick only the scenarios that are credible for your equipment. The largest area governs. Use Print report for a one-page calculation sheet with an approval block.

3. How API 520, API 521, API 526 and ASME Section XIII Fit Together

Relief design draws on four documents, and each one answers a different question. Mixing them up is a common source of error, so it helps to keep the division of work clear.

Table 1 – Role of each standard in PSV sizingAienginear.com
DocumentQuestion it answersWhat the calculator takes from it
API Std 521 (7th ed.)What can cause overpressure, and how much fluid must be relieved?Fire heat input and wetted-area rules, environmental factors, gas-filled vessel fire, thermal expansion, tube rupture and control-valve failure guidance
API Std 520 Part I (10th ed.)How large must the relief device be for that load?Effective-area equations for gas, steam, liquid and two-phase (Annex C) flow, and preliminary Kd, Kb, Kc, Kw, Kv, KN
API Std 526 (7th ed.)Which standard flanged valve can I buy?Orifice letters D to T, effective areas and typical inlet x outlet sizes
ASME BPVC Section XIII (2025)How far may pressure rise while the valve relieves?Allowable accumulation: 10% / 16% / 21%, with 20.7 kPa and 27.6 kPa minimums
API Std 520 Part IIHow should the valve be installed?The 3% inlet-loss and back-pressure checks discussed in Section 13
Since the 2021 edition of the ASME Boiler and Pressure Vessel Code, the overpressure-protection rules that used to sit in Section VIII Division 1 (UG-125 to UG-140) have been moved to Section XIII. Section VIII now points to Section XIII.

4. Set Pressure, Overpressure, Accumulation and Relieving Pressure

The sizing equations do not use the set pressure. They use the relieving pressure P1: the absolute pressure at the valve inlet when it is passing its full rated flow. P1 is the set pressure plus the allowable overpressure plus atmospheric pressure. Using gauge pressure in a gas equation, or forgetting the overpressure, understates P1 and gives the wrong area.

Accumulation is measured from the vessel’s maximum allowable working pressure (MAWP). If the valve is set below MAWP, the gap between set pressure and MAWP is also available as overpressure, and the calculator uses it when you enter the MAWP.

Pressure levels for a vessel with MAWP = set pressure = 10 barg Normal operating pressure (about 8 barg) Set pressure = MAWP: 10.0 barg +10% single valve: 11.0 barg (P1 = 12.01 bar a) +16% multiple valves: 11.6 barg +21% fire case: 12.1 barg (P1 = 13.11 bar a) 01012.1 barg Overpressure = P1 – set Accumulation = P1 – MAWP Blowdown = set – reseat Gas equations use P1 absolute: P1 = gauge + atmospheric Aienginear.com
Figure 1 – Pressure levels used in relief sizing. The calculator applies the scenario’s accumulation automatically and converts to absolute pressure. © Aienginear
Table 2 – Allowable accumulation for pressure vessels (ASME BPVC Section XIII)Aienginear.com
ContingencyNumber of devicesMaximum accumulationLow-pressure minimum
Non-fire (blocked outlet, control valve failure, tube rupture and so on)Single10% of MAWP20.7 kPa (3 psi)
Non-fireMultiple16% of MAWP27.6 kPa (4 psi)
External fireSingle or multiple21% of MAWP–
Supplemental device for fire only–21% of MAWP–
The minimums apply when the percentage gives a smaller pressure rise – typically at MAWP below about 207 kPa g (30 psig). Piping and boilers have different rules.

5. Gas and Vapour Sizing: Critical and Subcritical Flow

A gas accelerates as it passes through the valve nozzle. If the outlet pressure is low enough, the gas reaches the speed of sound in the throat and the flow chokes: lowering the back pressure further does not increase the flow. Whether this happens depends on the ratio of absolute back pressure to absolute relieving pressure, compared with the critical pressure ratio, which depends only on the ratio of specific heats k.

Critical pressure ratio: Pcf / P1 = (2 / (k + 1))k / (k – 1)
Critical (choked) flow: A = W / (C Kd P1 Kb Kc) × √(T Z / M)
C = 0.03948 √( k (2 / (k + 1))(k + 1)/(k – 1) )
SI units: A in mm², W in kg/h, P1 in kPa a, T in K, M in kg/kmol. Kd = 0.975 preliminary.

The constant 0.03948 is not a fitted number. It equals 3.6 divided by the square root of the universal gas constant (8 314.46 J/kmol·K) and comes straight from the ideal-gas choked mass flux once the units are converted. The calculator checks this constant, and checks that the area matches a direct isentropic mass-flux calculation, every time the Verification tab is opened.

When the back-pressure ratio is above the critical ratio, the flow is subcritical and depends on the pressure difference. API 520 writes this with a coefficient F2. The calculator uses the same isentropic relation in mass-flux form, which gives the same result and joins smoothly with the choked equation at the critical ratio.

Table 3 – Critical pressure ratio and coefficient C (SI) by kAienginear.com
k = Cp/CvTypical gasCritical ratio Pcf/P1C (SI)
1.05Heavy hydrocarbon vapour0.59540.02439
1.10Butane, LPG0.58470.02481
1.20Ethane, light hydrocarbon mix0.56450.02560
1.30Methane, steam, natural gas0.54570.02634
1.40Air, nitrogen, hydrogen0.52830.02703
1.667Helium, argon0.48710.02867
Calculated by Aienginear from the equations above. Use k at relieving conditions; for real gases far from ideal, API 520 permits more rigorous methods.

With an atmospheric discharge, a typical process valve is choked. Superimposed or built-up back pressure changes that picture. A conventional spring valve set at 10 barg is normally limited to about 10% built-up back pressure. A balanced-bellows valve tolerates much more, but its capacity falls and you must apply the manufacturer’s Kb. A pilot-operated valve handles high back pressure best. The calculator compares gauge back pressure with gauge set pressure – the basis the limits are written on – so a low-set valve discharging to atmosphere is no longer flagged by mistake.

6. Steam Sizing with the Napier Equation

For saturated steam, API 520 keeps the empirical Napier form, which matches steam test data better than the ideal-gas equation:

A = 190.5 W / (P1 Kd Kb Kc KN KSH)
KN = 1 for P1 ≤ 10 339 kPa a; otherwise KN = (0.02764 P1 – 1000) / (0.03324 P1 – 1061)
A mm², W kg/h, P1 kPa a. The 190.5 constant is the US value 51.5 converted to SI. KSH = 1 for saturated steam.

For superheated steam, use the KSH value from API 520 or the valve maker, or size by the homogeneous direct integration method. Boiler safety valves fall under ASME Section I rules and are outside this tool’s scope.

7. Liquid Relief Sizing and the Viscosity Correction

A = 11.78 Q / (Kd Kw Kc Kv) × √( G / (P1 – P2) )
A mm², Q L/min, G = specific gravity at flowing temperature, P in kPa. Kd = 0.65 for a liquid-certified valve.

The constant 11.78 also comes from first principles: one million divided by sixty thousand (litres per minute to cubic metres per second, and square metres to square millimetres), divided by the square root of two. Liquid valves designed to API 520 reach rated capacity at 10% overpressure, so the liquid equation should only be used with valves certified for liquid service.

Viscosity. Viscous liquids such as fuel oil, crude and caustic need the Kv factor. API 520 calculates it from the Reynolds number on the selected orifice, so the procedure loops: size with Kv = 1, pick the orifice letter, work out Re = 18 800 Q G / (μ √A) with μ in cP and A in mm², calculate Kv = 1 / (0.9935 + 2.878 Re-0.5 + 342.75 Re-1.5), and repeat until the letter stops changing. The calculator does this loop automatically and shows the final Re and Kv. Many competing calculators skip this step and leave Kv at 1.

Back pressure on liquid valves. For balanced-bellows liquid valves, Kw comes from the manufacturer’s curve. For conventional valves, Kw = 1 and the back pressure is already counted in the ΔP term.

8. Two-Phase Relief: the Omega Method

When a liquid flashes as pressure falls through the valve, or when a vessel relieves a froth, gas or liquid equations alone can under-size the device badly. API 520 Annex C describes the omega method. It collapses the flashing behaviour into one compressibility parameter ω and gives a closed-form mass flux.

ω = x0 vv0 / v0 + (cpl T0 P0 / v0) (vlv0 / hlv0)2
Critical ratio ηc: η2 + (ω2 – 2ω)(1 – η)2 + 2ω2 ln η + 2ω2(1 – η) = 0
Critical flux: G = ηc √( P0 / (v0 ω) ) Area: A = W / (Kd Kb Kc G), Kd = 0.85

You can enter ω directly – for example from two flash calculations – or let the tool calculate it from inlet quality, specific volumes, liquid heat capacity and latent heat. It also handles subcritical two-phase flow when the back-pressure ratio is above ηc. Treat the result as a screening value. Runaway reactions and other reactive systems need a full DIERS-based analysis.

Earlier versions of this tool applied the gas discharge coefficient (0.975) to two-phase flow. Version 3.0.0 uses the Annex C preliminary value of 0.85, which gives about 15% more area.

9. Relief Scenarios and How Each Load Is Calculated

API 521 asks you to look at every way the equipment could be overpressured and to calculate a relief load for each credible cause. The table below summarises the scenarios the calculator covers and the model it uses for each.

Table 4 – Relief scenarios in the Aienginear calculatorAienginear.com
ScenarioWhat happensLoad basis in the toolAccumulation
Blocked outletAn outlet is closed while feed continuesMaximum inflow you enter (gas, steam or liquid)10% / 16%
External fire – wetted vesselA pool fire boils the liquid inventoryQ = C1 F Aws0.82; W = Q / λ21%
External fire – gas-filled vesselFire heats an unwetted wall and the gas inside itAPI 521 unwetted-wall relation with wall temperature Tw21%
Jet fire (screening)A pressurised release impinges on the vesselHeat flux x impinged area / λ21%
Thermal (hydraulic) expansionBlocked-in liquid is heated by sun or processq = αv φ / (ρ cp)10% / 16%
Control valve failureA valve fails wide openISA / IEC flow at rated Cv, minus any normal-outflow credit10% / 16%
Tube ruptureA tube breaks; high-pressure fluid enters the low-pressure sideFlow through two open tube ends; 10/13 check10% / 16%
Gas blowbyA level valve opens fully after the liquid is goneChoked gas flow through the failed valve area10% / 16%
Two-phase reliefThe relieving fluid flashesAnnex C omega methodScenario-dependent
Loads must be calculated at relieving conditions. Where a scenario does not apply to your equipment, leave it unticked in the governing-case comparison.

9.1 Blocked outlet

The relief load is usually the largest flow the upstream sources can deliver at the relieving pressure – pump curves at the higher discharge pressure, compressor curves, or the full flow from an upstream vessel. Enter that flow in kg/h for gas or steam, or in L/min, m³/h or US gpm for liquid.

9.2 External fire on a wetted vessel

Q = C1 F Aws0.82 (W) C1 = 43 200 with prompt firefighting and drainage, 70 900 without
W = 3600 Q / λ (kg/h)

Only the wetted surface within 7.6 m (25 ft) above grade, or above any other surface that could hold a pool fire, counts. In v3.0.0 the wetted area comes from real vessel geometry: diameter, length or height, normal liquid level and elevation of the vessel bottom. The tool cuts off the area above 7.6 m and adds proportional 2:1 elliptical heads. Older versions used fixed dummy dimensions whatever you entered; that has been removed.

Use the latent heat at the relieving pressure. Near the critical point it falls steeply, and a room-temperature value will understate the load. For the vapour, the tool now uses properties of the fluid that is actually boiling (for example propane vapour above liquid propane, or steam above water). Before, the calculation could pair the latent heat of one fluid with the molecular weight of another.

Grade 7.6 m (25 ft) above grade – limit of pool-fire wetted area Liquid level Vertical drum: wetted shell below liquid level Horizontal drum: wetted arc + heads Aienginear.com
Figure 2 – Wetted surface that counts in the API 521 pool-fire equation: below the liquid level and within 7.6 m of grade. © Aienginear
Table 5 – Environmental factor F for the wetted-vessel fire equation (API 521)Aienginear.com
ProtectionInsulation conductance (W/m²·K)F
Bare vessel–1.0
Fire-resistant insulation22.70.30
Fire-resistant insulation11.40.15
Fire-resistant insulation5.70.075
Fire-resistant insulation3.80.05
Fire-resistant insulation2.80.0376
Fire-resistant insulation2.30.03
Fire-resistant insulation1.90.026
Water application on a bare vessel–1.0
Depressuring or emptying facilities–1.0
Earth-covered storage above grade–0.03
Below-grade storage–0
Insulation credit is only valid when the insulation stays in place during a fire and under hose-stream impingement. Water spray and depressuring get no F credit in the relief load. v3.0.0 corrected two entries in the old tool, which gave depressuring a 0.03 credit and water spray plus insulation a fixed 0.15.

9.3 Fire on a gas-filled (unwetted) vessel

A vessel holding only gas has no boiling liquid to keep the wall cool. The wall heats quickly and can lose strength before the relief valve does much good. API 521 gives a screening relation for this case:

W = C √(M P1) A’ (Tw – T1)1.25 / T11.1506 T1 = Tn P1 / Pn
US: C = 0.1406 (lb/h, psia, ft², °R). The calculator converts this exactly to SI (kg/h, kPa a, m², K). Tw is typically 593 °C for carbon steel.

Published studies have shown that this relation can be non-conservative for wall integrity. That is why API 521 points to depressuring, fire-proofing or water application for gas-filled equipment. The calculator shows that warning whenever this case is selected.

9.4 Thermal (hydraulic) expansion

Liquid trapped between closed valves expands when heated, and because liquids hardly compress, pressure rises very fast. The relief rate is small – q = αv φ / (ρ cp) – and a D orifice or a small thermal relief valve is nearly always enough. What matters is that the valve exists on every isolatable liquid-full section exposed to heat.

9.5 Control valve failure

The relief load is the flow through the valve at its rated (full-open) Cv at maximum upstream pressure and the downstream relieving pressure. Version 3.0.0 replaces the old “18 mm² per Cv” rule of thumb with the ISA-75.01.01 / IEC 60534-2-1 equations. For gas, these use the expansion factor Y and the pressure-drop ratio factor xT, so the choked limit is handled correctly. You can also take credit for normal outflow that stays open during the upset, which API 521 allows.

9.6 Heat-exchanger tube rupture

The usual design basis is a clean break of one tube near the tubesheet. This exposes two open ends, so the flow area is twice the tube cross-section; enter the tube inside diameter and the tool works this out. API 521 lets you exclude the case when the low-pressure side’s corrected hydrotest pressure is at least the high-pressure side’s design pressure. With a hydrotest of 1.3 times design, this is the familiar “10/13 rule”. The tool runs this check from the two design pressures. Liquid-full systems can produce short pressure spikes after a rupture that a relief valve cannot catch; those need a dynamic analysis.

9.7 Gas blowby

If a level-control valve on a high-pressure separator fails open and the liquid drains away, gas flows into the downstream vessel at a rate many times the normal liquid flow. The tool treats this as choked gas flow through the failed valve’s flow area at the upstream pressure. Where the valve’s gas Cv is known, the control-valve-failure scenario gives a better answer.

10. Finding the Governing Relief Case

One vessel can face several overpressure causes. Each gives a different load at a different accumulation, so each needs a different area. The valve has to handle the worst credible single event, so the scenario needing the largest effective area sets the size. API 521 does not normally ask you to combine two unrelated failures happening at the same time (the “double jeopardy” principle). It does, however, require you to include consequences that follow from a single cause – for example, a power failure that stops several pumps at once.

The Governing Case tab lets you tick only the scenarios that are credible for your equipment. Earlier versions ranked every scenario using default inputs, so a default tube-rupture or blowby case could “govern” a vessel that has no exchanger and no level valve. Each scenario now uses its own accumulation – 21% for fire, 10% or 16% for the others – which can change the ranking.

11. API 526 Standard Orifice Selection Table

After calculating the required effective area, pick the smallest API 526 letter whose effective area is equal to or larger than it. API 526 effective areas go with the API preliminary Kd. A manufacturer’s certified capacity uses its own coefficient and actual area. So the final check is always rated capacity (from the maker’s data) against the required load.

Table 6 – API 526 effective orifice areas and common flanged sizesAienginear.com
LetterEffective area (in²)Effective area (mm²)Common inlet x outlet (in)
D0.11071.01 x 2
E0.196126.51 x 2
F0.307198.11.5 x 2
G0.503324.51.5 x 2.5
H0.785506.51.5 x 3
J1.287830.32 x 3
K1.8381 185.83 x 4
L2.8531 840.63 x 4
M3.602 322.64 x 6
N4.342 800.04 x 6
P6.384 116.14 x 6
Q11.057 129.06 x 8
R16.0010 322.66 x 8
T26.0016 774.28 x 10
Several letters come in more than one body size and pressure class; confirm the inlet x outlet combination and flange rating with the valve maker. If the area is larger than T, use several valves and apply the 16% multiple-device accumulation.

12. Worked Examples

Each example below was solved by hand from the equations in this guide and then reproduced with the calculator to four significant figures. To reproduce one, enter the values in the scenario named.

Example 1 – Propane vapour, blocked outlet

Table 7 – Example 1 inputs and resultsAienginear.com
ItemValueWorking
Relief load W5 000 kg/hBlocked outlet, gas phase
Set pressure = MAWP10 barg (1 000 kPa g)Single valve, 10% accumulation
Relieving pressure P11 201.3 kPa a1 000 + 100 + 101.325
FluidPropane: M 44.096, k 1.131, Z 0.98, T 60 °CAtmospheric discharge – choked (critical ratio 0.578)
Coefficient C0.025060.03948 √(k (2/(k+1))(k+1)/(k-1))
Required area463.5 mm²5000 / (0.02506 x 0.975 x 1201.3) x √(333.15 x 0.98 / 44.096)
Selected orificeH (506.5 mm², 1.5 x 3 in)9.3% spare capacity

Example 2 – Horizontal propane drum in a pool fire

Table 8 – Example 2 inputs and resultsAienginear.com
ItemValueWorking
GeometryD = 3 m, L = 10 m, liquid level 2 m, bottom 1 m above gradeWhole wetted zone lies below 7.6 m
Wetted angle / area3.821 rad / 69.19 m²Shell arc θ R L + proportional 2:1 heads
Heat input Q1.394 MW43 200 x 1.0 x 69.190.82 (bare, adequate drainage)
Latent heat at P1320 kJ/kgPropane near 38 °C saturation
Relief load W15 684 kg/h3600 x 1.394 x 106 / 320 000
Relieving pressure P11 311.3 kPa a1 000 x 1.21 + 101.325 (fire, 21%)
Vapour propertiesM 44.096, k 1.13, Z 0.80, T 38 °CSaturated vapour; Z well below 1
Required area1 163 mm²Critical-flow equation
Selected orificeK (1 185.8 mm², 3 x 4 in)Only 1.9% spare – a borderline selection
With Z = 0.98 instead of 0.80 the required area rises to about 1 288 mm² and the selection jumps to L. Using real-gas Z near saturation matters.

Example 3 – Cooling water, blocked outlet with back pressure

Table 9 – Example 3 inputs and resultsAienginear.com
ItemValueWorking
Relief flow30 m³/h = 500 L/minPump capacity at relieving pressure
Set pressure / back pressure8 barg / 0.5 bargBack pressure 6.3% of set – acceptable for a conventional valve
P1 – P2981.3 – 151.3 = 830 kPaBoth absolute; the old tool used P2 = 0 kPa a here
Specific gravity / viscosity0.998 / 1.0 cPWater near 20 °C
Required area314.4 mm²11.78 x 500 / 0.65 x √(0.998 / 830)
Reynolds number / Kv520 800 / 1.00On the G orifice; viscosity has no effect
Selected orificeG (324.5 mm², 1.5 x 2.5 in)3.2% spare capacity
If back pressure is entered as zero absolute pressure, ΔP is overstated by one atmosphere and this valve comes out about 8% too small. v3.0.0 treats 0 barg as atmospheric discharge.

Example 4 – Saturated steam header

Table 10 – Example 4 inputs and resultsAienginear.com
ItemValueWorking
Relief load12 000 kg/h saturated steamBlocked outlet, Steam (Napier) phase
Relieving pressure P11 751.3 kPa a1 500 x 1.10 + 101.325
KN / KSH1.0 / 1.0P1 below 10 339 kPa a; saturated
Required area1 339 mm²190.5 x 12 000 / (1 751.3 x 0.975)
Selected orificeL (1 840.6 mm², 3 x 4 in)37.5% spare; K (1 185.8 mm²) is too small

13. Back Pressure, Inlet Pressure Loss and Valve Chatter

An area that is right on paper can still fail in service if the installation is poor. Three checks from API 520 Part II and API 521 belong in every PSV calculation:

  • Inlet pressure loss. Keep the non-recoverable loss from the vessel to the valve inlet, at rated flow, at or below 3% of set pressure. Otherwise do an engineering analysis of the valve’s stability. A long or undersized inlet line is a main cause of chatter.
  • Built-up back pressure. For a conventional valve, keep it within about 10% of set pressure at 10% overpressure. Above that, use a balanced-bellows or pilot-operated valve and the manufacturer’s Kb or Kw curve.
  • Oversizing. A valve far larger than the load – for example the L orifice in Example 4 for a small upset – can cycle rapidly at partial load. Where loads vary widely, consider staggered set pressures across several valves or a modulating pilot valve.

The size of the discharge line, and whether the flare header can take the flow, should be checked with a pressure-drop calculation. Aienginear’s Pipe Pressure Drop Calculator can be used for the inlet and tail-pipe losses.

14. Common PSV Sizing Mistakes the Calculator Guards Against

Gauge vs absolute pressure

Gas and steam equations need absolute P1. Gauge units are converted using your site’s atmospheric pressure.

Accumulation applied to absolute pressure

The 10% is a percentage of gauge MAWP, not of absolute pressure. Applying it to absolute pressure overstates P1 by 10 kPa.

Same accumulation for every case

Fire uses 21%; other cases use 10% or 16%. The governing comparison applies each one correctly.

Room-temperature latent heat in fire

Use latent heat and Z at relieving conditions; both fall as you approach the critical point.

Ignoring viscosity

Kv is found automatically by iterating on the selected orifice.

Counting wetted area above 7.6 m

Geometry inputs cut off the area above the pool-fire zone and include the heads.

Back pressure checked against relieving pressure

Back-pressure limits are percentages of gauge set pressure; v3.0.0 uses that basis.

Treating API 526 area as rated capacity

Always confirm the final choice against the maker’s certified capacity.

15. What Changed in v3.0.0 and How It Was Verified

For this release the whole calculation engine was re-audited against the current standards. These corrections change results compared with the previous version:

Table 11 – v3.0.0 corrections and their effectAienginear.com
AreaPrevious behaviourv3.0.0
Pressure basisSet pressure treated as absolute; zero back pressure meant vacuumGauge inputs with site atmospheric pressure; 0 barg = atmospheric discharge (for liquid discharging to atmosphere, the old area was about 6% too small at 8 barg and more than 15% too small at 2 barg)
AccumulationOne manual value (default 21%) for every scenarioASME XIII 10 / 16 / 21% per scenario with 20.7 / 27.6 kPa minimums; MAWP basis
Fire wetted areaVessel-shape options used fixed dummy sizesReal D, L, level and elevation with the 7.6 m limit
Fire fluid pairingLatent heat of one fluid with vapour properties of anotherVapour properties matched to the boiling liquid
Environmental factorCredit given for depressuring (0.03); some conductances mislabelledFull API 521 table; F = 0 allowed for below-grade storage
Two-phase KdGas Kd 0.975 appliedAnnex C Kd 0.85; subcritical two-phase added
Control valve failure18 mm² per Cv rule of thumbISA-75.01.01 / IEC 60534 gas and liquid equations with outflow credit
Governing caseRanked every scenario with default inputsOnly scenarios ticked as credible, each at its own accumulation
New scenarios–Steam (Napier with KN), gas-filled vessel fire, automatic Kv, tube-rupture two-end area and 10/13 check
UsabilityFields lost focus while typing; history could not be reloadedTyping is uninterrupted; saved cases reload in full; branded A4 print report

Verification. The calculator has a Verification tab that runs eleven independent checks every time you open it. These include deriving the 0.03948, 11.78, 190.5, 43 200 and 70 900 constants from unit conversion, matching the critical-flow area to a direct isentropic mass-flux calculation to one part in a million, checking that the subcritical and critical equations meet at the critical ratio, the ω = 1 limiting case of the omega method, and the SI form of the unwetted-fire relation against its US original. The four worked examples above were also solved separately in a spreadsheet-style script and match the tool.

16. How This Calculator Compares

Table 12 – Aienginear PSV calculator vs typical free online PSV calculatorsAienginear.com
CapabilityTypical free calculatorAienginear v3.0.0
PhasesGas and liquidGas, steam (Napier), liquid, two-phase (omega)
Relief load generationYou enter the loadFire (wetted, gas-filled, jet), thermal, control valve failure, tube rupture, blowby
AccumulationManualAutomatic ASME Section XIII by scenario, with MAWP basis
Wetted-area geometryRarelyVertical, horizontal and spherical, with the 7.6 m limit
Viscosity correctionFixed KvAutomatic API 520 Reynolds iteration
Governing caseNoRanks the credible scenarios
Orifice outputLetter onlyLetter, area, typical size and spare capacity
ReportScreen onlyBranded A4 print/PDF, CSV, JSON, history
TransparencyHiddenFormula library, built-in self-test, sensitivity analysis
Privacy and costSign-up often requiredFree, no sign-up, runs in the browser

17. Frequently Asked Questions

How do you calculate the relief load for a PSV?

List every credible overpressure cause in API 521 – blocked outlet, fire, control valve failure, tube rupture, thermal expansion, utility failures and so on – and calculate the flow each one produces at relieving conditions. For fire it is the absorbed heat divided by the latent heat. For blocked outlet it is the maximum inflow. For control valve failure it is the flow at the valve’s rated Cv. The largest required area sets the valve size.

What is the difference between API 520, API 521 and API 526?

API 521 defines the overpressure scenarios and how to calculate relief loads. API 520 Part I gives the equations that turn a load into a required effective orifice area. API 526 lists the standard flanged valve orifice letters, D to T, used to buy a real valve. API 520 Part II covers installation.

Is relieving pressure the same as set pressure?

No. Relieving pressure is the set pressure plus the allowable overpressure, plus atmospheric pressure when the equation needs absolute pressure. For a single valve on a non-fire case it is usually 110% of set in gauge terms. For fire it is 121%.

What accumulation is allowed for the fire case?

ASME BPVC Section XIII allows accumulation up to 21% of MAWP for external fire on unfired pressure vessels, compared with 10% for a single device and 16% for multiple devices in non-fire cases.

Why is the fire constant 43 200 or 70 900?

They are the SI forms of the API 521 constants 21 000 and 34 500 (BTU/h with area in ft²). 43 200 applies where there is adequate drainage and prompt firefighting. 70 900 applies where there is not. The heat input is C1 F Aws0.82 in watts.

When is gas flow through a relief valve choked?

When the absolute back pressure is below the critical pressure ratio times the relieving pressure. The ratio is about 0.53 for air and 0.55 to 0.59 for hydrocarbons. Below it, the nozzle throat is sonic and the critical-flow equation applies. Above it, use the subcritical form.

What discharge coefficient should I use?

For preliminary sizing, API 520 suggests Kd = 0.975 for gas, vapour and steam, 0.65 for liquid, and 0.85 for two-phase flow, with Kc = 0.9 when a rupture disk is installed upstream. For final selection, use the manufacturer’s certified coefficient with its actual orifice area.

Do I need a viscosity correction for liquid relief?

Yes, for viscous liquids. Calculate the Reynolds number on the selected orifice and apply Kv. The correction usually matters below Re of roughly 100 000 and can add a full orifice size for heavy oils. The calculator iterates Kv automatically.

When can tube rupture be excluded?

API 521 allows it when the low-pressure side’s corrected hydrotest pressure is at least equal to the high-pressure side’s design pressure. With a 1.3 hydrotest factor, this is the traditional 10/13 rule. Confirm with the actual test pressures and keep the dynamic-transient caution in mind for liquid-full systems.

Can I use this calculator for final valve selection?

Use it for preliminary sizing, studies and checking. Final selection needs the maker’s certified capacity, verified loads, the inlet-loss and back-pressure checks, and review by a qualified engineer under the code editions that apply to the project.

18. Standards and References

  • API Standard 520, Sizing, Selection, and Installation of Pressure-relieving Devices, Part I – Sizing and Selection (10th ed.), and Part II – Installation. American Petroleum Institute. api.org
  • API Standard 521, Pressure-relieving and Depressuring Systems (7th ed., 2020). American Petroleum Institute.
  • API Standard 526, Flanged Steel Pressure-relief Valves (7th ed., 2017). American Petroleum Institute.
  • ASME Boiler and Pressure Vessel Code, Section XIII, Rules for Overpressure Protection (2025 ed.), and Section VIII Division 1. The American Society of Mechanical Engineers.
  • ISO 4126 series, Safety devices for protection against excessive pressure (Parts 1, 7 and 10 for valves, common data and two-phase sizing).
  • ANSI/ISA-75.01.01 / IEC 60534-2-1, Flow equations for sizing control valves.
  • Leung, J. C., the omega method for two-phase flow, as adopted in API 520 Part I Annex C; and DIERS project methodology (AIChE).

This guide paraphrases and applies the published methods; it does not reproduce the standards. Buy the current editions from the publishers for authoritative text, tables and limits.

Tube Rupture Relief Valve Suite

Detailed exchanger tube-rupture loads, including dynamic effects.

Control Valve Sizing Calculator

Rated Cv and xT for the control-valve-failure case.

Pressure Vessel Calculator

Confirm MAWP and shell thickness of the protected vessel.

Two-Phase Separator Sizing

Separator geometry and levels for fire wetted area and blowby.

Heat Exchanger Sizing Calculator

Shell and tube data for the rupture scenario.

Pipe Pressure Drop Calculator

Check the 3% inlet loss and built-up back pressure.

Steam Pipe Sizing Calculator

Size steam headers and safety-valve discharge lines.

Hydrotest Pressure Calculator

Test pressures for the 10/13 tube-rupture check.

Vessel Volume Calculator

Liquid inventory and partial-fill levels for fire cases.

Orifice Plate Flow Calculator

Restriction orifices that limit blowby and inflow.

Pressure Integrity & Safety Hub

All of Aienginear’s pressure-safety tools in one place.

All Engineering Calculators

The full Aienginear calculator library.

20. Glossary

Table 13 – PSV sizing termsAienginear.com
TermMeaning
AccumulationPressure rise above MAWP while the device relieves, as a percentage of MAWP.
OverpressurePressure rise above set pressure during relief.
Relieving pressure (P1)Absolute inlet pressure at rated flow: set + overpressure + atmospheric.
MAWPMaximum allowable working pressure of the protected equipment.
BlowdownDifference between set pressure and reseating pressure.
Superimposed / built-up back pressureOutlet pressure before the valve opens / pressure created by flow in the discharge system.
Effective areaNominal area used with API preliminary coefficients; listed by letter in API 526.
Kd, Kb, Kw, Kc, Kv, KN, KSHDischarge, gas back-pressure, liquid back-pressure, rupture-disk combination, viscosity, Napier high-pressure and superheat correction factors.
Choked (critical) flowSonic flow at the nozzle throat; flow no longer rises as back pressure falls.
Environmental factor FFire-case credit for fire-resistant insulation or earth cover.
Wetted areaSurface wetted by liquid within 7.6 m of grade, used in the pool-fire equation.
Omega (ω)Two-phase compressibility parameter in the API 520 Annex C method.
Governing caseThe credible scenario that needs the largest relief area.
Ai
About this guide
Written and maintained by Muhammad Raza, founder of Aienginear and Head of Projects at an industrial EPC contractor, with hands-on delivery experience on power, cement, fertilizer and oil & gas plants – including the vessels, piping and relief systems these calculations protect. The calculator engine and every worked example were checked against independent derivations before publication, and the guide is reviewed when API or ASME issue new editions.
Engineering disclaimer. This guide and calculator support preliminary engineering and design checking. They do not replace a full relief-system study to API 520, API 521, API 526, ASME BPVC Section XIII and ISO 4126, and they are not enough on their own to specify a safety-critical relief device. Use certified valve data and have relief calculations checked independently by a qualified engineer.
Aienginear

Written by Muhammad Raza

Founder of Aienginear. Engineering and digital solutions professional with 26+ years managing projects, plant shutdowns and turnarounds in oil & gas, petrochemical and power generation.

LinkedIn · YouTube · Report an error or ask a question

Leave a Comment