Pressure relief calculator

Size the valve. Paste the sheet.

API 520 / 521 orifice sizing with inlet 3% and outlet backpressure piping checks, plus Google Sheets formulas you can paste into A1. Open any unit or Calc dropdown for what the quantity is, which equation uses it, and the live arithmetic behind the number.

API 520 Part I/Critical and subcritical vapor relieving area from mass flow, k, and relieving pressure.

Inputs

PSV piping

NPS + schedule look up the inside diameter. ID updates with either control.

Spring-loaded, no bellows. Total backpressure ≤ 10% of set (API 520 Part I / II).

Results

Required area

1.0153in²

API 526 J78.892% used
Orifice used78.892%

P1

124.7psia

P2

14.696psia

Regime

Critical

C

356.06

rc

0.5283

r = P2/P1

0.1179

Rated W

12,676lb/h

Inlet 3% · outlet 10%

Inlet · 3% rule

Pass

2.66% of set

ΔP 2.658 psi · limit 3 (3%)

Outlet · 10% rule

Pass

2.85% of set

Total back 2.85 psig · limit 10 (10%)

Inlet ID / Leq

2.067″ · 5.8ft

Inlet velocity

251.22ft/s · Ma 0.22

Built-up backpressure

2.85psig · 2.9%

Outlet ID / Leq

4.026″ · 25.736ft

Outlet velocity

512.2ft/s · Ma 0.44

Darcy f · Re (inlet)

0.0192 · 2,151,759

Recommended NPS

OK

Current lines pass the 3% and backpressure rules.

Outlet reaction force

116.26lbf

  • Inlet and outlet losses use the rated capacity of the selected API 526 letter (API 520 Part II).

Google Sheet

Copies a live calculator: highlighted cells are inputs, the rest are formulas. Open a blank Google Sheet, click A1, paste.

ReliefCalc — Gas / vapor (API 520) 
Paste into A1 of a blank Google Sheet. Edit INPUT cells in column B — orifice and piping formulas stay live. 
  
INPUTSValue
Fluid presentAir
Mass flow W10,000
Relieving temperature T100
Set pressure100
Overpressure10
Superimposed backpressure0
Atmospheric pressure14.696
Molecular weight M28.97
Ratio of specific heats k1.4
Compressibility Z1
Viscosity μ0.018
Discharge coefficient Kd0.975
Backpressure factor Kb1
Combination factor Kc1
  
RESULTSValue
Relieving pressure P1fx124.7
Absolute backpressure P2fx14.696
Absolute temperaturefx559.67
Pressure ratio rfx0.1179
Critical ratio rcfx0.5283
Flow regimefxCritical
Coefficient Cfx356.06
Subcritical F2 
Required area Afx1.0153
Required areafx655.06
Selected orificefxJ
Letter areafx1.287
Valve countfx1
Installed areafx1.287
Rated capacityfx12,676
Orifice usedfx0.789
  
PIPING (API 520 Part II)Value
Valve typeconventional
Backpressure limitfx0.1
Inlet NPS2
Inlet schedule40
Inlet length3
Inlet 90° elbows1
Outlet NPS4
Outlet schedule40
Outlet length15
Outlet 90° elbows2
Inlet IDfx2.067
Outlet IDfx4.026
Inlet Leqfx5.76
Outlet Leqfx25.736
Darcy f (inlet)0.0192
Darcy f (outlet)0.0169
Piping flow Wfxrated
Inlet ΔPfx2.6577
Built-up backpressurefx2.8504
3% of setfx3
Inlet lossfx0.0266
Inlet 3% rulefxPASS
10% of setfx10
Total backpressurefx2.85
Outlet lossfx0.0285
Outlet 10% rulefxPASS
Outlet reaction force116.26
  
Methods: API 520 Part I (gas/vapor) and Part II (3% inlet / valve-type outlet). Kd, Kb, Kc from the valve manufacturer. Not a stamped design.