Relief Valve Sizing Calculator

Calculate the required orifice area for a relief valve on a pressure vessel per API RP 520. Ensure safe and efficient pressure relief system design.

Free No Login Engineering Calculator

🔧 Input Parameters

All values in engineering units

✅ Results

📜 Engineering Summary

Purpose
Relief Valve Sizing Calculator
Standard
Category
Engineering
Applications
Commercial / Industrial / Residential

📥 Engineering Deliverables

📄 PDF Report (soon) 📄 Excel Sheet (soon) 📝 Inspection Checklist (soon)

Frequently Asked Questions

How does API RP 520 Part I determine the required orifice area for a gas relief valve?
API RP 520 Part I (Section 3.2.1) prescribes the orifice area calculation using the formula: $A = \frac{W}{C \cdot K_d \cdot K_b \cdot K_c \cdot \sqrt{P_1 \cdot T}}$, where $W$ is mass flow rate (lb/s), $P_1$ is set pressure (psia), $T$ is absolute temperature (°R), and $C$ is the coefficient based on fluid properties and flow regime (e.g., 315 for air, 351 for steam). $K_d$, $K_b$, and $K_c$ are rated discharge, back pressure, and combination capacity correction factors per RP 520 Tables 3–6. Sonic flow (choked) is assumed unless subsonic conditions are verified via $P_2/P_1 > P_{\text{crit}}$. The calculator applies these equations with default $K_d = 0.975$ and appropriate $C$ values per fluid type and flow regime.
Why does the calculator require both set pressure and back pressure inputs?
Back pressure directly affects valve capacity and flow regime selection per API RP 520 Section 3.2.2. For conventional relief valves, accumulated back pressure reduces net differential pressure across the orifice, lowering effective flow capacity—hence the $K_b$ factor (typically ≤1.0). For balanced valves, $K_b = 1.0$ only if back pressure is constant and ≤50% of set pressure; otherwise, it must be adjusted. The calculator uses back pressure to compute the pressure ratio $P_2/P_1$ and determine whether flow is sonic ($P_2/P_1 \leq P_{\text{crit}}$) or subsonic, selecting the correct $C$ value and applying $K_b$ accordingly. Omitting accurate back pressure risks undersizing—especially in systems with significant tailpipe or header pressure.
Can I use this calculator for liquid relief sizing per API RP 520?
Yes—but with critical constraints. API RP 520 Part I Section 3.3 provides liquid sizing formulas: $A = \frac{Q}{K_d \cdot K_v \cdot \sqrt{\Delta P}}$, where $Q$ is volumetric flow (gpm), $\Delta P$ is pressure differential (psia), and $K_v$ is viscosity correction (often ≈1.0 for clean liquids). Our calculator converts user-provided mass flow rate to volumetric flow using assumed density (62.4 lb/ft³ for water), then applies the liquid-specific $C$ coefficient (e.g., 38.2 for water). However, it does *not* auto-calculate viscosity effects or two-phase flow—both prohibited under RP 520 for liquid-only sizing. Always verify fluid phase stability, avoid flashing conditions, and confirm $\Delta P \geq 10$ psia per RP 520 §3.3.2. For hydrocarbons or high-viscosity fluids, manual $K_v$ adjustment or specialized software is required.
What flow regime (subsonic, sonic, supersonic) should I select—and how does it impact accuracy?
Select 'Sonic' for most vapor/gas relief applications—RP 520 assumes choked (sonic) flow when $P_2/P_1 \leq P_{\text{crit}}$, typically ~0.528 for diatomic gases. Subsonic applies only when back pressure is high enough to unchoke flow (e.g., low-pressure headers), requiring iterative $C$-value selection per RP 520 Table 3 and inclusion of expansion factor $Y$. Supersonic flow is *not permitted* in standard relief valves per RP 520—it violates ASME BPVC Section VIII design limits and indicates improper valve selection or installation. The calculator defaults to Sonic because >95% of industrial gas relief cases are choked. Selecting Subsonic without validating $P_2/P_1 > P_{\text{crit}}$ will overestimate orifice area; always cross-check with RP 520 Annex C or process simulation data.
How does fluid type (Gas vs. Liquid) affect the orifice area result—and what assumptions does the calculator make?
Fluid type triggers fundamentally different equations and coefficients. For 'Gas', the calculator uses the compressible flow equation with $C$ values from RP 520 Table 3 (e.g., 315 for air, 351 for steam) and accounts for compressibility via $\sqrt{P_1 T}$. For 'Liquid', it switches to incompressible flow with $C = 38.2$ (water-equivalent) and computes $\Delta P = P_{\text{set}} - P_{\text{back}}$. Critically, it assumes ideal gas behavior (Z = 1) and constant molecular weight—invalid for H₂, natural gas blends, or high-pressure non-ideal systems. It also assumes ambient temperature (520°R) unless overridden. These simplifications introduce <5% error for common hydrocarbons at moderate pressures but can exceed 15% for H₂ or CO₂ above 500 psia. Always validate with real fluid properties via NIST Webbook or process simulator output.
Does this calculator comply with ASME BPVC Section VIII Division 1 requirements for relief valve sizing?
The calculator implements API RP 520 methodology—which is the *recognized industry practice* referenced by ASME BPVC Section VIII Div. 1 UG-131(d) for determining minimum required relieving capacity. However, compliance requires more than calculation: UG-131 mandates documentation of all assumptions (fluid properties, $K_d$, $K_b$), verification that the selected valve’s certified capacity (per ASME Code Stamp) exceeds the calculated $W$, and confirmation that the valve is listed on the ASME NB-180 or NB-181 database. This tool outputs orifice area only—not certified capacity. Engineers *must* match the calculated area to an ASME-stamped valve’s rated capacity (in lb/hr or kg/hr) at the specified conditions, applying manufacturer’s published $K_d$ and derating for temperature. Never substitute calculated area for stamped capacity in final design.
What are the key limitations of relying solely on this calculator for relief system design?
This calculator addresses only steady-state, single-phase, single-point sizing per RP 520—it does not handle fire exposure (RP 521), control valve failure scenarios, two-phase flow (RP 520 Part II), or dynamic effects like inlet pressure drop (>3% of set pressure) or pipe friction losses. It omits critical validation steps: verifying inlet nozzle adequacy (UG-131(c)), checking for chattering (RP 520 §4.4.3), assessing valve reaction force (RP 521 Appendix D), or performing dispersion analysis for toxic releases. Material compatibility, corrosion allowance, and temperature derating of $K_d$ are also excluded. Per RP 520 §1.3.2, it is a preliminary tool only. Final design requires full system review—including P&ID verification, vendor data reconciliation, and PE sign-off—as mandated by ASME, OSHA PSM, and jurisdictional codes.