Home Calculators Categories Category: Science & Engineering

PSV sizing calculator

This tool converts a known single-phase relief load into a required effective discharge area in mm² and returns the smallest API 526 effective orifice, D through T, whose area covers it. It handles two services: gas or vapor in choked (critical) flow, and incompressible, nonflashing, noncavitating liquid. Everything is in fixed SI units, with absolute pressures and absolute temperature. The result is a preliminary effective-area screen, not a certified valve selection.

Input
Loads an arithmetic example and restores all factors. Replace example conditions with your verified relief duty.
Gas requires critical flow. Liquid must remain a single nonflashing phase. Steam and two-phase sizing are outside this model.

Preliminary effective area. Both pressures are absolute; supply the required relief load and inlet pressure including permitted overpressure. Simple assumes Z = 1 and Kb/Kw = Kc = Kv = 1. Effective Kd: 0.975 gas, 0.65 liquid. Change correction factors in Advanced.

Critical-flow gas or nonflashing, noncavitating liquid only. Steam and two-phase sizing are excluded.

Use absolute pressure at relief including permitted overpressure. The calculator does not add atmospheric pressure.

Use relieving pressure, not bare set pressure. Add local atmosphere to gauge values before entry. Slider to 50; type to 1000 bar(a).

bar(a)
Use total absolute outlet pressure while relieving. Gas sizing is blocked beyond its critical pressure ratio.

Include superimposed and built-up backpressure. Atmosphere is about 1.01325 bar(a), not zero. Slider to 25; type to 999 bar(a).

bar(a)
Supply the governing relief mass load in kg/h; this is not normal operating flow or standard volume flow.

Use the governing relief load. Slider to 10000; type to 10000000 kg/h.

kg/h
Absolute inlet temperature at relief, in kelvin. Convert Celsius by adding 273.15.

Absolute temperature: K = °C + 273.15. Slider to 1000; type to 2000 K.

K
Use molecular weight of the relieving gas mixture. It has the same numeric value in kg/kmol and g/mol.

Default 28.97 represents dry air. Use the relieving mixture. Slider to 100; type to 500 g/mol.

g/mol
Ideal-gas Cp/Cv at relieving temperature determines the nozzle coefficient and critical pressure ratio.

Use ideal-gas Cp/Cv at relieving temperature; 1.4 is an air example, not a universal gas value.

ratio
Visual
Required versus selected effective relief area Bar lengths compare effective areas, not physical valve bore or certified capacity. Effective area comparison Required area Selected area
Output
Required effective area
—

Preliminary API 520 effective area; verify certified valve capacity before final selection.

—
Next API 526 orifice
—
Effective area utilization

        

What the calculator does and does not decide

Relief sizing has three separable questions: how much must the valve relieve, what area is needed to pass that flow at relieving conditions, and which real valve, with a certified capacity, covers it. The calculator answers only the second, and then maps the answer onto the standard effective-orifice ladder.

You supply the required flow, relieving pressure, backpressure, and fluid properties. You determine, outside the tool:

  • the governing relief scenario and its load (fire, blocked outlet, thermal expansion, control failure);
  • the permitted overpressure and therefore the absolute relieving pressure;
  • total backpressure, including superimposed and built-up components;
  • compressibility, backpressure, rupture-disk, and viscosity correction factors, if you use Advanced mode.

Not supported: steam, subcritical gas flow, condensing or two-phase streams, flashing or cavitating liquids, discharge-piping backpressure prediction, and automatic iteration of viscosity or Reynolds-number corrections. The calculator rejects malformed or out-of-range active numeric inputs, outlet pressure at or above inlet pressure, and gas pressure ratios above the critical threshold. It cannot detect unsupported fluid phases or identify steam from these inputs; you must establish service and phase applicability independently.

Input conventions that change the answer

Most sizing errors are unit or basis errors, not algebra errors.

Quantity Convention
Inlet pressure P1P_1 Absolute relieving pressure, bar(a), already including permitted overpressure
Outlet pressure P2P_2 Total absolute backpressure, bar(a)
Temperature TT Kelvin: K=∘C+273.15K = {}^\circ\mathrm{C} + 273.15
Gas flow WW Required mass flow, kg/h
Liquid flow QQ Actual volume flow at relieving conditions, L/min (not a standard-state volume)
Molecular weight MM g/mol, numerically equal to kg/kmol
Heat-capacity ratio kk Ideal-gas Cp/CvC_p/C_v at relieving temperature
Liquid density ρ\rho kg/m³ at relieving conditions

If your gauge readings are in barg, add local atmospheric pressure before entering them. Entering a gauge value as absolute understates P1P_1 and, for gas, overstates the required area, since area scales inversely with P1P_1. It also distorts the pressure ratio used in the choked-flow check.

Simple mode fixes Z=Kb=Kw=Kc=Kv=1Z = K_b = K_w = K_c = K_v = 1 regardless of any values previously typed in Advanced. Advanced mode accepts factors you have established independently; it does not derive them.

Gas equation and the choked-flow requirement

For gas, the required effective area is

A=WTZ/MC (0.975) (100P1) KbKcA=\frac{W\sqrt{TZ/M}}{C\,(0.975)\,(100P_1)\,K_b K_c}

with the flow coefficient

C=0.03948k(2k+1)(k+1)/(k−1)C=0.03948\sqrt{k\left(\frac{2}{k+1}\right)^{(k+1)/(k-1)}}

Here AA is in mm², the factor 100P1100P_1 converts bar(a) to kPa(a), and Kd=0.975K_d = 0.975 is a fixed preliminary effective discharge coefficient. This is the familiar critical-flow form used in relief handbooks and API-style effective-area methods; the same choking physics appears in general compressible nozzle-flow treatments such as the NASA Glenn mass-flow relation.

The equation is valid only when the flow is choked, meaning the downstream pressure is low enough that the throat reaches sonic velocity:

r=P2P1≤rcritical=(2k+1)k/(k−1)r=\frac{P_2}{P_1}\le r_{\mathrm{critical}}=\left(\frac{2}{k+1}\right)^{k/(k-1)}

Equality is accepted. If rr exceeds the critical ratio, the calculator returns no result; it does not switch to a subcritical equation. For k=1.4k=1.4, rcritical≈0.528r_{\mathrm{critical}}\approx 0.528, which is why air discharging to atmosphere from an inlet relieving at 10 bar(a) is comfortably choked while the same valve relieving at 1.8 bar(a) to atmosphere is not.

The critical ratio falls as kk rises: a lower kk permits critical flow at a higher outlet/inlet pressure ratio. Determine kk for the actual gas mixture at relieving temperature rather than inferring it from molecular weight or using a reference-temperature value without verification.

Worked gas example

Air, 1,000 kg/h, P1=10P_1 = 10 bar(a), P2=1P_2 = 1 bar(a), T=300T = 300 K, M=28.97M = 28.97, k=1.4k = 1.4, unity factors.

  1. The flow coefficient is approximately 0.027033:

    C=0.039481.4 (2/2.4)6≈0.027033C = 0.03948\sqrt{1.4\,(2/2.4)^{6}} \approx 0.027033
  2. TZ/M=300/28.97≈3.2180\sqrt{TZ/M} = \sqrt{300/28.97} \approx 3.2180, so the numerator is about 3,218.0.

  3. Denominator: 0.027033×0.975×1000≈26.3570.027033 \times 0.975 \times 1000 \approx 26.357.

  4. A≈122.09 mm2A \approx 122.09\ \mathrm{mm^2} (approximately 122.09119 before display rounding).

  5. r=0.1r = 0.1 against rcritical=0.52828r_{\mathrm{critical}} = 0.52828, so choked flow holds.

  6. Smallest covering orifice is E at 126.45136 mm², giving U≈96.6%U \approx 96.6\%.

A second case at larger scale: 5,000 kg/h of a light hydrocarbon-like gas (M=16.04M=16.04, k=1.3k=1.3, T=350T=350 K) at P1=20P_1 = 20 bar(a) to P2=2P_2 = 2 bar(a). Then C≈0.02634C\approx 0.02634, TZ/M≈4.671\sqrt{TZ/M}\approx 4.671, and A≈455 mm2A \approx 455\ \mathrm{mm^2}. The ratio of 0.1 is well under the critical ratio of about 0.546. The next orifice is H (506.45 mm²), at about 89.8% utilization.

Liquid equation

For incompressible, nonflashing, noncavitating liquid, the calculator keeps the handbook's US-customary equation with explicit unit conversions, so the result matches the documented implementation exactly:

A=645.16 Q3.785411784 (38) (0.65) KwKcKv(ρ/1000) (0.06894757293168361)ΔPA=\frac{645.16\,Q}{3.785411784\,(38)\,(0.65)\,K_w K_c K_v}\sqrt{\frac{(\rho/1000)\,(0.06894757293168361)}{\Delta P}}

where ΔP=P1−P2\Delta P = P_1 - P_2 in bar, QQ is in L/min, and Kd=0.65K_d = 0.65 is the fixed preliminary effective liquid coefficient. The conversions are Qgpm=Q/3.785411784Q_{\mathrm{gpm}} = Q/3.785411784, ΔPpsi=ΔP/0.06894757293168361\Delta P_{\mathrm{psi}} = \Delta P/0.06894757293168361, and Amm2=645.16 Ain2A_{\mathrm{mm^2}} = 645.16\,A_{\mathrm{in^2}}. The relative density is ρ/1000\rho/1000.

Two consequences follow directly. Area scales with ρ/ΔP\sqrt{\rho/\Delta P}, so doubling the pressure differential reduces the required area by about 29%. And the equation assumes the liquid stays liquid through the nozzle, which is the assumption you must defend.

Worked liquid example

Water, 100 L/min, ρ=1000\rho = 1000 kg/m³, P1=10P_1 = 10 bar(a), P2=1P_2 = 1 bar(a), so ΔP=9\Delta P = 9 bar.

  • Prefactor: approximately 690.0, calculated as

    64,5163.785411784×38×0.65≈690.0\frac{64{,}516}{3.785411784 \times 38 \times 0.65} \approx 690.0
  • Root: 0.0689476/9≈0.08753\sqrt{0.0689476/9} \approx 0.08753.

  • A≈60.39 mm2A \approx 60.39\ \mathrm{mm^2}.

The smallest covering orifice is D (70.9676 mm²), giving U≈85.1%U \approx 85.1\%.

Water relief caveats

Sizing water relief with this method requires liquid properties at relieving conditions and a defensible argument that the water neither flashes nor cavitates. Hot pressurized water that is near or above its saturation temperature at the outlet pressure can flash across the valve; that case is outside this model. Thermal-expansion relief of cold, liquid-full piping is typically a very small load, so the calculator's smallest result (anything below D selects D) may be far larger than the real requirement, and the minimum practical valve size then governs.

Advanced mode asks for KvK_v as a dimensionless correction factor, not a viscosity in cP. For viscous liquids the correct KvK_v depends on Reynolds number, which depends on the final selected orifice, so you must iterate externally and enter the factor corresponding to the orifice you finally choose.

From required area to an API 526 orifice letter

The tool compares the unrounded required area against the effective areas in API 526's standard ladder and returns the first one that is greater than or equal. Table areas in in² are converted at exactly 645.16 mm²/in² (normalized to five decimals to avoid floating-point undershoot at exact boundaries).

Letter in² mm² Letter in² mm²
D 0.110 70.9676 N 4.340 2,799.9944
E 0.196 126.4514 P 6.380 4,116.1208
F 0.307 198.0641 Q 11.050 7,129.0180
G 0.503 324.5155 R 16.000 10,322.5600
H 0.785 506.4506 T 26.000 16,774.1600
J 1.287 830.3209 L 2.853 1,840.6415
K 1.838 1,185.8041 M 3.600 2,322.5760

Edge behavior:

  • Requirements below D return D.
  • Requirements above T still produce a valid area but the result is "Beyond T", with no selected area or utilization. Do not round down to T. Typically this means splitting the duty across multiple valves or going to a different valve type.
  • Selection uses the exact value, not the five-significant-digit display. A displayed 126.45 mm² requirement may or may not fit E depending on the digits you cannot see.

Utilization is U=100 A/AselectedU = 100\,A/A_{\mathrm{selected}}, comparing effective areas. It is not a certified capacity margin, an operating-pressure ratio, or a general safety assessment. A utilization of 99% means little headroom in the effective-area comparison, and small changes in inputs or in KbK_b can push the duty into the next letter.

Sensitivity near a boundary

In the H-orifice gas case above, applying a vendor backpressure factor of Kb=0.9K_b = 0.9 in Advanced mode raises the requirement to about 455/0.9≈505 mm2455/0.9 \approx 505\ \mathrm{mm^2}. That is still H, but utilization jumps from about 90% to about 99.8%. A slightly larger load would tip the selection to J. Similarly, the water case with Kw=0.9K_w=0.9 requires about 67.1 mm², still D but at about 94.6% utilization.

Backpressure, correction factors, and what Advanced mode assumes

Backpressure matters in two separate ways, and the tool addresses only part of this.

  1. Choked-flow applicability (gas). The ratio P2/P1P_2/P_1 is checked against rcriticalr_{\mathrm{critical}}. Failing it blocks the calculation.
  2. Valve performance. Higher backpressure can reduce capacity, and the effect depends on valve design: conventional, balanced-bellows, or pilot-operated. The correction is a manufacturer-specific KbK_b (gas) or KwK_w (liquid) that you enter in Advanced mode.

The tool shows an advisory whenever P2P_2 exceeds 1.01325 bar(a). That threshold is a reference-atmosphere marker, not a universal limit for any valve. It does not calculate built-up backpressure from discharge piping or headers; for that you need a hydraulic or flow-network analysis that accounts for simultaneous relief from other devices.

Other Advanced factors:

  • ZZ (gas): compressibility at relieving conditions. Area scales with Z\sqrt{Z}, so Z=0.9Z=0.9 reduces the requirement by about 5%.
  • KcK_c: rupture-disk combination factor. Kc=1K_c = 1 means no upstream rupture disk. An untested combination is often given as 0.9, but applicability must be verified for the specific disk and valve, not assumed.
  • KvK_v (liquid): verified viscosity correction for the final orifice.

Reproducing the calculation in a spreadsheet

OrangeCalc does not provide a workbook or CSV download, but the model is short enough to build yourself, which is useful for batch screening or audit trails. With named cells for WW, TT, ZZ, MM, kk, P1P_1, KbK_b, KcK_c:

C = 0.03948*SQRT(
  k*(2/(k+1))^((k+1)/(k-1)))
A_mm2 = W*SQRT(T*Z/M)/(
  C*0.975*100*P1*Kb*Kc)
r_crit = (2/(k+1))^(k/(k-1))
check  = P2/P1 <= r_crit

For liquids:

A_mm2 = 645.16*Q/(
  3.785411784*38*0.65*Kw*Kc*Kv
  )*SQRT((rho/1000)*
  0.06894757293168361/(P1-P2))

Put the orifice letters and areas in two columns, convert areas with ROUND(in2*645.16,5), and select with a lookup such as:

INDEX(letters,
  MATCH(TRUE,
    INDEX(areas>=A_mm2,0),
    0))

Wrap it so values above 16,774.16 mm² return "Beyond T". Validate your sheet against the two presets above; a mismatch usually means a pressure-unit slip or a rounded coefficient.

Effective area versus certified area

Standard orifice letters are effective areas used for nominal sizing, with the effective coefficients above. Manufacturers publish certified coefficients and capacities for their actual valves, determined through testing and tied to the code under which they are certified (for example, under ASME Boiler and Pressure Vessel Code rules, as applicable to your vessel and jurisdiction). Do not mix the two bases: dividing a required flow by a certified coefficient and then comparing against an effective area, or the reverse, produces a mismatch that appears nowhere in the arithmetic.

This calculator does not certify ASME compliance, verify manufacturer-certified capacity, or confirm that a valve is mechanically suitable. Final selection should rest on the manufacturer's certified data for the specific model, plus inlet-line loss, allowable backpressure, materials, the governing scenario, and your applicable code requirements. For API standards, check the edition your project specifies; this page does not assert which edition is current.

Using the results responsibly

  1. Establish the governing relief scenario and load first. A precise area for the wrong load is worthless.
  2. Convert everything to absolute pressures and Kelvin before entering.
  3. Confirm the fluid stays within the supported phase and flow regime across the valve.
  4. Enter Advanced factors only when sourced from the manufacturer or an established method.
  5. Treat the orifice letter as a starting point, then verify with manufacturer data.

The Copy button summarizes inputs, factors, results, and limitations as text, and Print / PDF opens the browser print workflow. There is no shareable-state link, so record your inputs in your calculation file.

Frequently asked questions

Can I size a safety valve for steam or two-phase flow with this?

No. Steam, condensing streams, two-phase flow, and flashing liquids are outside the supported models. Use a method and manufacturer data designed for those services.

Why did the calculator reject my gas case?

Most commonly because P2/P1P_2/P_1 exceeds the critical ratio, or because P2≥P1P_2 \ge P_1. The tool does not apply a subcritical gas equation, so it returns no result rather than a misleading one. Also check that you entered absolute pressures.

Does it calculate backpressure from my discharge piping?

No. It evaluates the total backpressure you provide, compares it with the critical pressure ratio (gas), and flags values above 1.01325 bar(a). Piping and header backpressure require separate analysis.

What does "Beyond T" mean?

The required effective area exceeds the largest standard effective orifice (T, 16,774.16 mm²). No single D–T valve covers the duty, and the tool does not round down.

Is a utilization of 85% a safety margin?

No. It only compares required and selected effective areas. It is not a certified capacity margin or an operating-pressure ratio.

References

  • LESER, Engineering Handbook, covering gas flow coefficients, effective sizing, orifice designations, and liquid and viscosity treatment. Verify against the edition you use.
  • Spirax Sarco, Safety valve sizing, on critical versus subcritical flow, absolute pressures, and discharge coefficients.
  • NASA Glenn Research Center, Mass flow choking, for the underlying compressible-flow relations.
  • ASME, BPVC Section VIII, Division 1, as the governing pressure-vessel code context. Check the edition applicable to your project.
Calculation Methodology Documented

Read the formula definitions, supported input ranges, and limitations before using this estimate.

Review Methodology
Debjeet Bhowmick
Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.