Pressure safety valve (PSV) sizing is one of the few calculations in process engineering where a mistake has immediate safety consequences. Undersize the orifice and a vessel can exceed its maximum allowable working pressure (MAWP). Get the inlet piping wrong and the valve chatters or fails to reseat. Get the outlet piping and backpressure wrong, and the valve's rated capacity drops below what the relief scenario demands.
This guide walks through the complete pressure safety valve sizing and selection workflow — from identifying relief scenarios through to verifying inlet and outlet line hydraulics — using the framework established by API RP 520, API RP 521, API 526, and ASME BPVC Sections I and VIII. It also explains where a hydraulic simulation tool like FluidFlow fits into that workflow, and where the responsibility remains firmly with the qualified engineer and the valve manufacturer.
Whether you are new to relief system design, evaluating FluidFlow for the first time, or refreshing your understanding of PSV sizing fundamentals, this article is written to be a practical, standards-based reference you can return to.
Figure 1. Pilot-operated PSVs installed in an operating/spare (1×100%) configuration, each isolated by its own inlet and outlet block valve.
What Is a Pressure Safety Valve, and Why Does Sizing Matter?
A pressure safety valve (PSV) — also called a pressure relief valve (PRV) or safety relief valve — is a spring-loaded or pilot-operated device that automatically opens at a preset pressure (the set pressure) to relieve excess pressure from a vessel, line, or piece of equipment, and recloses once conditions return to normal. Rupture (bursting) discs perform a similar protective role but do not reclose after operating.
Correct PSV sizing means selecting an orifice large enough to relieve the governing overpressure scenario without the protected equipment exceeding its allowable accumulation, while also confirming that the inlet and outlet piping connected to the valve will not degrade its performance. A relief valve that is sized correctly on paper but starved by undersized inlet piping, or throttled by excessive backpressure, may not protect the equipment it was installed to protect.
This is why relief valve sizing is treated as a total-system design problem rather than a single equation: the required relief rate, the orifice area, the inlet line, and the outlet/discharge system all have to be verified together, against the same overpressure scenario.
Figure 2. Conventional, Balanced-Bellows, and Pilot-Operated PSV construction and operating principles.
The Standards Governing PSV Sizing
Pressure relief device sizing, selection, and installation in the hydrocarbon and chemical process industries is governed by a small set of interlocking standards:
ASME BPVC Sections I and VIII — set the overriding code requirements for pressure vessels and the boilers/vessels they protect, including the relationship between MAWP, set pressure, and allowable accumulation.
API RP 520 Parts I and II — Part I covers sizing and selection of pressure-relieving devices for gas, vapor, liquid, steam, and two-phase service; Part II covers installation.
API RP 521 — provides guidance on determining relief loads: how to identify overpressure scenarios and calculate the required relief rate for each.
API 526 — defines standard flanged steel pressure relief valve orifice designations (D, E, F, G, H, J, K, L, M, N, P, Q, R, T) and their corresponding inlet/outlet flange sizes.
ISO 4126-1 — the international counterpart to API RP 520 Part I for sizing safety devices for protection against excessive pressure, used widely outside North America.
API RP 520 and API 526 answer “how big must the valve be,” while API 521 answers “what must be relieved.” ASME BPVC Section VIII sets the non-negotiable limits — accumulation, set pressure relative to MAWP — that both of the API standards are designed to satisfy. Where an organization follows metric or European engineering practice, ISO 4126-1 provides an equivalent sizing methodology to API RP 520 Part I.
The 8-Step PSV Sizing and Selection Workflow
The workflow below reflects established relief-system engineering practice for pressure vessels and process piping, consistent with API RP 520 Parts I & II, API RP 521, API 526, and ASME BPVC Sections I and VIII.
Step 1 — Determine Relief Device Locations
Place a relief device on all static equipment stamped per ASME Section VIII, on both sides of heat exchangers, on all positive displacement pumps and compressors, and on any liquid-filled system that can be blocked in. Relief devices are not normally required on piping, except for thermal relief of long lines or highly toxic services. Centrifugal pumps generally do not require a PSV, since the system is designed to the pump's shutoff pressure.
Step 2 — Identify the Relief Scenarios
Draw a system boundary around the equipment within its block valves and its fire circle, then evaluate two questions: can it be overpressured by connected systems (higher-pressure sources, backflow, liquid overfill, inadvertent valve opening or bypass), and can it be overpressured by internal causes (fire, heat exchanger duty, utility failure, tube rupture, control valve failure, thermal expansion, or a runaway reaction)?
Simultaneous independent initiating events (double jeopardy) are not normally combined into a single relief case unless they are connected by a process, mechanical, or electrical cause. The governing scenario — the one requiring the largest orifice area — sets the design basis for the PSV.
Step 3 — Determine the Required Relief Rate
Apply a mass or volume balance (Out = Generation + In − Consumption) and size the relief flow so pressure does not exceed the allowable relieving pressure. All physical properties used in the calculation — temperature, density, latent heat, compressibility — are evaluated at the relieving pressure, which equals set pressure plus allowable accumulation.
The calculation approach depends on the governing scenario: liquid overfill or displacement uses the volumetric feed rate directly; a boiling-liquid fire case uses the heat absorbed divided by the latent heat of vaporization at relieving conditions; blocked-in thermal expansion of a liquid uses the absorbed heat divided by the product of density and specific heat; gas or vapor displacement uses the volumetric feed or generation rate at relieving pressure; and heat exchanger tube rupture is typically modeled as two restriction orifices in series.
Step 4 — Determine the Required Orifice Area
Apply the appropriate API RP 520 Part I (or ISO 4126-1) sizing equation for the governing flow regime:
Phase | Sizing Approach |
Vapor gas (choked flow) | API 520 Part I, gas/vapor formula, using the ideal-gas specific heat ratio (k = Cp/Cv) unless real-gas behavior is modeled directly |
Vapor/gas (subcritical/non-choked) | API 520 Part I, subcritical flow formula |
Liquid (certified liquid trim) | API 520 Part I, certified liquid sizing formula, with viscosity correction where applicable |
Two-phase/flashing | Homogeneous Equilibrium Method (HEM), per API 520 Part I, Annex C |
Before applying the equation, check whether the flow is choked (critical): the critical flow pressure is
If the downstream pressure is below this value, the flow is choked, and the critical-flow form of the equation applies.
Once the required area is known, select the next standard API orifice designation from API 526 (D, E, F, G, H, J, K, L, M, N, P, Q, R, T) — or the equivalent size from the valve manufacturer's catalogue — that equals or exceeds the calculated area. The allowable accumulation depends on the case:
Case | Allowable Accumulation |
Single valve, non-fire case | 110% of design pressure (MAWP) |
Multiple valves (first and supplemental) | 116% of design pressure (MAWP) |
Fire case | 121% of design pressure (MAWP) |
Step 5 — Determine the Actual (Rated) Relief Flow
Because standard orifice areas are discrete, the selected valve will generally be larger than the calculated required area. The rated flow through the selected orifice scales with the ratio of rated to required orifice area.
Wrated=WrequiredArearatedArearequired
This rated flow — not the originally required flow — is the correct basis for the inlet and outlet piping hydraulics of a new installation.
Selection of the standard orifice size and confirmation of the actual rated capacity is a shared responsibility between the design engineer and the valve manufacturer, since rated capacity is ultimately certified against the manufacturer's tested performance data.
Step 6 — Size the Inlet Piping (the 3% Rule)
The frictional pressure loss in the inlet piping, calculated using the rated flow from Step 5, must not exceed 3% of the PSV set pressure (gauge). This limit exists to prevent chattering: a conventional valve pops fully open, and if inlet friction loss is too high, pressure at the valve inlet drops enough that the valve reseats rapidly, then reopens — a destructive, self-reinforcing cycle.
Only frictional (non-recoverable) losses count toward the 3% limit; velocity-head changes across reducers are excluded, though friction through the reducer body is included. Inlet piping must be the same nominal size as the PSV inlet flange or larger, and isolation valves on the inlet require a full-bore, car-sealed-open or locked-open designation on the Piping & Instrumentation Diagram (P&ID).
If the 3% criterion cannot be met, the options are: increase the inlet line size, reduce inlet pipe length and the number of fittings, switch to a pilot-operated PSV with remote sensing (so the 3% limit applies only to the small-bore pilot sensing line rather than the full-bore inlet), or obtain written vendor and client agreement to a higher loss — up to 4–5% has been accepted in practice with vendor confirmation.
Step 7 — Size the Outlet Piping and Collection System
The total back pressure at the PSV outlet flange — superimposed back pressure already present in the discharge system, plus built-up back pressure generated by flow through the valve and discharge piping — must not exceed the limit for the selected valve type:
Valve Type | Maximum Allowable Back Pressure |
Conventional | 10% of set pressure (gauge) |
Balanced bellows | Up to 50% of set pressure; capacity derate begins around 30% (vapor) or 15% (liquid) — consult the manufacturer |
Pilot-operated | Up to 50% of set pressure |
Outlet piping must be the same nominal size as the PSV outlet flange or larger, and should be laid out to drain away from the PSV toward the knockout drum, which typically means the PSV is elevated above the discharge header. Sizing is done by working backwards from the known downstream pressure (flare header, knockout drum, or atmosphere) to the PSV outlet flange, and by checking for choked flow at the outlet flange — the 6R8 and 8T10 orifice-to-outlet area ratios are particularly prone to choking at the outlet and deserve close attention.
The valve type itself is often selected based on the back-pressure result: conventional valves suit back pressure below 10% of set pressure; balanced bellows suit the 10–50% range; pilot-operated valves suit back pressure above 50%; and rupture discs (standalone or in combination with a relief valve) are used for very large relief loads, viscous, fouling, corrosive, or explosive service, or where fugitive emission control is a priority.
Step 8 — Iterate
Steps 4 through 7 are iterative, not sequential-and-done. The back pressure assumed when the orifice was sized in Step 4 must be confirmed by the outlet calculation in Step 7. If the confirmed back pressure exceeds the value originally assumed, the orifice area must be re-sized using the corrected back-pressure correction factor (KB), and the cycle repeats until the assumed and calculated back pressure converge.
Figure 3. Pressure safety valve sizing workflow — Steps 1 to 8, showing engineer, manufacturer, and FluidFlow responsibilities.
Where FluidFlow Fits in the PSV Sizing Workflow
A hydraulic modeling tool like FluidFlow does not replace the engineering judgment required in Steps 1 through 3, and it does not replace the manufacturer's certified performance data in Step 5. What it does is remove the manual, error-prone parts of Steps 4, 6, and 7 — orifice sizing and inlet/outlet line hydraulics — by solving them inside an actual pipe network model rather than as a standalone, disconnected calculation.
Safety Scope
FluidFlow covers Steps 4, 6, and 7 of the relief system design workflow — initial PSV orifice sizing and inlet/outlet line pressure drop — only. Steps 1, 2, and 3 (device location, scenario identification, and relief rate determination) remain the responsibility of the qualified engineer. Step 5 — selection of the standard orifice size and confirmation of the actual rated capacity — is a shared responsibility between the engineer and the valve manufacturer. The overriding code requirement is ASME BPVC
How FluidFlow Automates PSV Orifice Sizing (Step 4)
FluidFlow models the relief valve or rupture disc as a component inside the pipe network, and the same steady-state solver that resolves the rest of the system also resolves the conditions at the device. In practice, this looks like:
Standards support: FluidFlow sizes relief valves and rupture discs to API RP 520 Part I for gas, liquid, and steam service, with ISO 4126-1 available as an alternative sizing standard.
Two operating modes: “Auto-size on” calculates the required orifice area from the relief scenario conditions you define; “Rating mode” (auto-size off) evaluates an existing or selected valve against specific conditions — useful for re-rating a valve after a process change.
Device types: relief valve (spring-loaded or pilot-operated) and rupture disc, sized using the Resistance to Flow Method (Kr).
Standard accumulation configurations: sole device (10% above MAWP), multiple devices (16% above MAWP), and fire case (21% above MAWP), aligned with ASME BPVC Section VIII.
Fluid property database: a library of roughly 1,283 fluids, or the ability to define a custom fluid, so relieving-condition properties are calculated rather than assumed.
Real-gas behavior: for gas and vapor relief, FluidFlow solves using a real-gas equation of state (Peng-Robinson, Lee-Kesler, or Benedict-Webb-Rubin-Han-Starling) rather than the ideal-gas assumption built into the manual API 520 equation, and detects choked flow automatically.
Vendor database: a default library of relief valves from several vendors, or the option to define custom device parameters.
Two-phase relief: FluidFlow supports two-phase relief valve sizing with limitations; for specific two-phase scenarios, FluidFlow support can advise on current capability boundaries.
FluidFlow's published worked examples — including a hydrocarbon mixture case from API RP 520 Part I, an atmospheric distillation column relief case, a supercritical butane fire-case example, and a 12-valve flare header system — show the software tracking closely with published hand calculations, with small, explainable differences arising from FluidFlow's use of real fluid properties and its accounting for the connected piping rather than the simplifying assumptions built into a manual calculation.
Inlet and Outlet Line Sizing in FluidFlow (Steps 6 and 7)
This is the area where a standalone orifice calculator and a network-based hydraulic model diverge most in practice. A standalone calculator uses assumed, fixed inlet and outlet pressures. FluidFlow calculates both from the actual, solved piping network — the same model used for the rest of the plant's hydraulics.
Inlet Line Sizing: Verifying the 3% Criterion
FluidFlow calculates the pressure drop between the protected vessel and the PSV inlet using the actual pipe geometry, fittings, and flow conditions at the rated relief flow, rather than an estimated or assumed value. Because the pressure drop is read directly from the solved network, you can identify a 3% exceedance — and the specific segment of pipe or fitting driving it. Where the criterion is not met, resizing the inlet line, shortening the run, or reducing fittings can be tested directly in the same model, and the result re-verified immediately.
Outlet Line Sizing: Superimposed and Built-Up Back Pressure
FluidFlow evaluates back pressure from the solved discharge piping network, accounting for the actual pipe lengths, elevations, fittings, and connection to a flare header, knockout drum, or atmospheric vent. This captures both superimposed back pressure (already present in the discharge system before the valve opens) and built-up back pressure (generated by flow through the valve and discharge piping during relief) — and, in a shared header, the interaction between multiple relief valves discharging simultaneously, which a standalone per-valve calculation cannot represent.
Beyond the PSV: General Line Sizing Capability
The same hydraulic engine that verifies PSV inlet and outlet piping is also used for general pipe sizing and gas distribution analysis elsewhere in a facility — flare header sizing, gas distribution manifolds, and multi-branch discharge headers, where flow can distribute counterintuitively (later outlets sometimes receiving more flow than earlier ones due to density change and branch losses along the header). Correcting that kind of maldistribution — through header resizing, graduated pipe sizing, or restrictions on over-supplied laterals — uses the same solved-network approach as the PSV outlet check.
Common Mistakes in PSV Sizing — and How System Modeling Avoids Them
Unit conversion errors. Relief sizing crosses between mass flow, volumetric flow, pressure, and temperature units. Every manual conversion is an opportunity to introduce an error into a safety-critical calculation.
Coefficient lookup mistakes. Discharge coefficient, back-pressure correction, and capacity factors depend on valve type, fluid state, and installation — manual lookup and interpolation are error-prone, particularly for high-viscosity liquid relief where the viscosity correction factor is inherently iterative.
Disconnecting the calculation from the piping. Assumed inlet and outlet pressures often do not match what the actual, as-built piping will produce at the rated relief flow.
Missing a fluid-state or flow-regime change. A calculation sized assuming single-phase gas may not hold if conditions at the valve actually produce two-phase or choked flow.
Ignoring back-pressure effects. Sizing a valve as though it discharges to atmosphere when the real outlet system — a flare header with other valves venting — creates significant back pressure.
Excessive inlet piping losses. Long, small-diameter inlet runs, often chosen for cost or space reasons, are the most common cause of exceeding the 3% inlet criterion and inducing chatter.
A network-based hydraulic model does not eliminate the need for sound engineering judgment in identifying scenarios and relief rates, but it does close most of these gaps by tying the orifice, inlet, and outlet calculations to one consistent, solved system rather than three separate, assumption-driven steps.
Frequently Asked Questions
What is the difference between API RP 520 and API RP 521?
API RP 520 Part I provides the sizing equations used to calculate the required relief orifice area for gas, liquid, steam, and two-phase service. API RP 521 provides guidance on identifying overpressure scenarios and determining the relief load each scenario requires. In short, API 521 determines what must be relieved, and API 520 determines how large the valve must be.
Why does inlet piping pressure drop matter if the valve itself is sized correctly?
If frictional pressure loss in the inlet piping exceeds 3% of the PSV set pressure at the rated relief flow, pressure at the valve inlet can fall enough to cause the valve to reseat and reopen rapidly — known as chattering. Chattering damages the valve seat and can cause the valve to fail to provide reliable overpressure protection, regardless of how correctly the orifice itself was sized.
What is the difference between superimposed and built-up back pressure?
Superimposed back pressure already exists in the discharge system before the relief valve opens, for example normal operating pressure in a flare header. Built-up back pressure develops specifically from flow through the valve and discharge piping during the relief event. The sum of the two is the total back pressure evaluated against the valve type's allowable limit.
Can FluidFlow determine which overpressure scenario governs the relief case?
No. Identifying credible overpressure scenarios and determining the governing relief rate (Steps 1 through 3 of the workflow) is the responsibility of the qualified engineer, guided by API RP 521. FluidFlow's role begins once a relief rate and scenario have been defined: it sizes the orifice and verifies inlet and outlet line hydraulics for that scenario.
Does FluidFlow replace the valve manufacturer's rated capacity data?
No. Selection of the standard orifice size and confirmation of the actual rated capacity is a shared responsibility between the engineer and the valve manufacturer, based on the manufacturer's certified test data. FluidFlow's calculated required area is used to select a standard size and to size the connected piping.
What standards does FluidFlow support for relief valve sizing?
FluidFlow sizes relief valves and rupture discs to API RP 520 Part I for gas and liquid service, with ISO 4126-1 available as an alternative standard. Rupture discs are sized using the Resistance to Flow Method (Kr).
Can FluidFlow evaluate an existing relief valve instead of sizing a new one?
Yes. With auto-sizing switched off (rating mode), FluidFlow evaluates a specific, selected valve against defined relief conditions — useful when re-rating an existing installation after a change in process conditions, piping layout, or throughput.
Why might FluidFlow's calculated orifice area differ slightly from a hand calculation?
Small differences are expected and typically traceable to FluidFlow's use of real-gas equations of state rather than the ideal-gas assumption in the manual API 520 equation, and to its accounting for the effects of the connected inlet and outlet piping rather than treating the valve in isolation. In FluidFlow's published worked examples, both methods consistently select the same standard orifice designation.
Does FluidFlow handle two-phase relief sizing?
FluidFlow supports two-phase relief valve sizing with limitations. Where a relief scenario involves both gas and liquid phases, contact FluidFlow support for guidance on the current capability boundaries for your specific scenario.
Key Takeaways
PSV sizing is a total-system design problem: the required relief rate, orifice area, inlet piping, and outlet/discharge piping must all be verified together against the same governing overpressure scenario — not sized in isolation.
Relief device locations and overpressure scenarios (Steps 1–2) are determined by the qualified engineer using API RP 521 guidance and cannot be automated.
The required orifice area (Step 4) is calculated per API RP 520 Part I or ISO 4126-1, then matched to the next standard API 526 orifice size that equals or exceeds it.
The rated flow through the selected orifice — not the originally required flow — is the correct basis for sizing inlet and outlet piping (Step 5).
Inlet piping pressure drop must stay within 3% of set pressure to prevent valve chatter (Step 6).
Outlet piping back pressure must stay within the allowable limit for the selected valve type: 10% for conventional valves, up to 50% for balanced bellows or pilot-operated valves (Step 7).
Orifice sizing and back-pressure evaluation are iterative (Step 8): the back pressure assumed during orifice sizing must be confirmed by the outlet calculation, and the orifice re-sized if it is not.
FluidFlow automates Steps 4, 6, and 7 inside a solved pipe network model, using real fluid properties and actual piping geometry rather than fixed, assumed pressures.
Step 5 — final orifice selection and rated capacity — remains a shared responsibility between the design engineer and the valve manufacturer.
ASME BPVC Sections I and VIII remain the overriding code requirement; API and ISO standards support the sizing calculations underneath that code compliance.
Engineering Responsibility Notice
This article is provided for general engineering education and does not substitute for a project-specific relief system design review. Final relief device sizing, set-pressure selection, scenario definition, and code compliance are safety-critical activities and must be carried out by a qualified engineer in accordance with ASME BPVC Sections I and VIII, API RP 520, API RP 521, API 526, and ISO 4126-1, as applicable to the jurisdiction and project.
References and Further Reading
API Standard 526, Flanged Steel Pressure-relief Valves, American Petroleum Institute.
API Recommended Practice 520, Part I, Sizing, Selection, and Installation of Pressure-relieving Devices, American Petroleum Institute.
API Recommended Practice 520, Part II, Installation, American Petroleum Institute.
API Recommended Practice 521, Pressure-relieving and Depressuring Systems, American Petroleum Institute.
ASME Boiler and Pressure Vessel Code, Sections I and VIII, American Society of Mechanical Engineers.
ISO 4126-1, Safety devices for protection against excessive pressure — Part 1: Safety valves, International Organization for Standardization.
FluidFlow resources:
Try FluidFlow for Relief Valve Sizing
Model orifice sizing, inlet piping, and outlet piping together in one solved network, using real fluid properties.




