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 | Absolute relieving pressure, bar(a), already including permitted overpressure |
| Outlet pressure | Total absolute backpressure, bar(a) |
| Temperature | Kelvin: |
| Gas flow | Required mass flow, kg/h |
| Liquid flow | Actual volume flow at relieving conditions, L/min (not a standard-state volume) |
| Molecular weight | g/mol, numerically equal to kg/kmol |
| Heat-capacity ratio | Ideal-gas at relieving temperature |
| Liquid density | 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 and, for gas, overstates the required area, since area scales inversely with . It also distorts the pressure ratio used in the choked-flow check.
Simple mode fixes 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
with the flow coefficient
Here is in mm², the factor converts bar(a) to kPa(a), and 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:
Equality is accepted. If exceeds the critical ratio, the calculator returns no result; it does not switch to a subcritical equation. For , , 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 rises: a lower permits critical flow at a higher outlet/inlet pressure ratio. Determine 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, bar(a), bar(a), K, , , unity factors.
The flow coefficient is approximately 0.027033:
, so the numerator is about 3,218.0.
Denominator: .
(approximately 122.09119 before display rounding).
against , so choked flow holds.
Smallest covering orifice is E at 126.45136 mm², giving .
A second case at larger scale: 5,000 kg/h of a light hydrocarbon-like gas (, , K) at bar(a) to bar(a). Then , , and . 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:
where in bar, is in L/min, and is the fixed preliminary effective liquid coefficient. The conversions are , , and . The relative density is .
Two consequences follow directly. Area scales with , 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, kg/m³, bar(a), bar(a), so bar.
Prefactor: approximately 690.0, calculated as
Root: .
.
The smallest covering orifice is D (70.9676 mm²), giving .
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 as a dimensionless correction factor, not a viscosity in cP. For viscous liquids the correct 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 , 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 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 in Advanced mode raises the requirement to about . 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 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.
- Choked-flow applicability (gas). The ratio is checked against . Failing it blocks the calculation.
- 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 (gas) or (liquid) that you enter in Advanced mode.
The tool shows an advisory whenever 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:
- (gas): compressibility at relieving conditions. Area scales with , so reduces the requirement by about 5%.
- : rupture-disk combination factor. 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.
- (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 , , , , , , , :
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
- Establish the governing relief scenario and load first. A precise area for the wrong load is worthless.
- Convert everything to absolute pressures and Kelvin before entering.
- Confirm the fluid stays within the supported phase and flow regime across the valve.
- Enter Advanced factors only when sourced from the manufacturer or an established method.
- 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 exceeds the critical ratio, or because . 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.
Read the formula definitions, supported input ranges, and limitations before using this estimate.