Piping Toolset
HomeTools › Relief Valve Sizing in the Browser — API 520 Orifice Area, B31.1 App. II Reaction

Relief Valve Sizing in the Browser — API 520 Orifice Area, B31.1 App. II Reaction

Size the relief orifice per API 520 Part I — gas or vapor in critical or subcritical flow, steam with the Napier correction, liquid through a certified valve — then take the ASME B31.1 Appendix II open-discharge reaction force with the embedded steam-constant table, and route any of 26 API 521 contingencies to the paragraph that governs it. Everything computes in your browser on the Pro tier; the method write-up below is free to read.

Content last reviewed · page regenerated 2026-09-03 at build.

Worked example — API 520 §5.6.3.2, the tool's default case

PiperPSV opens pre-loaded with the standard's own printed sizing example, so the first number it shows is one you can check against your copy:

InputValueInputValue
Required rate W (gas)53,500 lb/hCoefficient C328 (Table 11 value, entered)
Relieving T · Z · M627 °R · 0.90 · 51Kd · Kb · Kc0.975 · 0.88 · 1.0
Relieving pressure P197.2 psiaFlow regimecritical (k not supplied — assumed, and the card says so)
A = W / (C·Kd·P1·Kb·Kc) · √(T·Z/M) = 53,500 / (328 × 0.975 × 97.2 × 0.88 × 1.0) · √(627 × 0.90 / 51)

Required effective discharge area A = 6.50573 in² — the standard prints 6.51 in². This exact case is a CI fixture and an end-to-end test asserts it on every deploy; pick the covering orifice letter from your API 526.

Open the tool → Pricing

What it does

Four cards, in the order an overpressure problem actually moves:

API 521 scenario router

Pick the overpressure contingency — blocked outlet, control-valve failure, exterior fire, tube rupture, any of the 26 items in the standard's contingency list — and the router names the API 521 7th Edition section that governs it, so you establish the required relieving rate in your copy of the standard and come back with a number. It is deliberately a routing index and nothing more: relieving-rate guidance is copyrighted standard content, and the required relief load is your determination from the standard.

API 520 sizing

The published equation set from API 520 Part I, 10th Edition: Eq. 6 with the Eq. 12 coefficient C for critical gas flow, Eq. 16 with the Eq. 22 F2 coefficient for subcritical, Eq. 25 with the Eq. 27/28 Napier correction for steam, Eq. 32 for liquid service with a certified valve. The card computes the critical-flow pressure Pcf from Eq. 5 and picks the gas regime itself — critical or subcritical is not a dropdown you can get wrong. Corrections Kd, Kb, Kc, Kw, Kv and KSH are inputs with cited guidance, and the output is the required effective discharge area to five decimals.

B31.1 Appendix II reaction force

The open-discharge reaction at the elbow per ¶II-2.3.1.1: F1 = ṁV1/gc + (P1 − Pa)A1, with the exit state solved from stagnation enthalpy per ¶II-2.2.1 and the mass flow taken at 1.11 × stamped capacity. The Table II-2.2.1-1 steam constants are embedded and applied through a picker that cites the table and row; the card multiplies F1 by your dynamic load factor per ¶II-3.5.1.3 and reminds you that vent-pipe blowback (¶II-2.3.1.2) is a separate verification.

Section XIII device guide

A reference card mapping device types and capacity-certification paths (Part 9), with the honest note that set-pressure and accumulation limits belong to the referencing code — Section VIII or Section I rules for the equipment being protected.

What is embedded, and what stays in your copy of the standard

The same data firewall as every calculator on this site: published equations live in code; copyrighted table values do not — except for the reference tables named below.

That split is what makes the output auditable: every number in the report is either a published equation or a value you chose and can defend to a reviewer.

A typical run: contingency to reaction load

The sizing card's default state is the standard's own §5.6.3.2 worked example — 6.50573 in² — locked as a CI fixture and asserted by an end-to-end test on every deploy, so the first number you see is one you can check.

What it deliberately does not do

Stated plainly, the way the rest of this site states limits:

For the piping around the valve, the free calculators carry the adjacent checks: MAOP / MOP for the pressure ceiling the relief protects, water hammer / surge for the transient that may be your contingency, and B31.1 wall thickness for the discharge piping itself.

What's free and what needs Pro

This page — the method, the equations, the limits — is free to read, like every write-up on the site, and the 49 code calculators stay free permanently. The live PiperPSV tool is on the Pro tier — the entry paid tier, $2.99/month:

The full matrix and billing FAQ are at /pricing/.

Demo video

Video demo: Relief Valve Sizing in the Browser - PiperPSV API 520 Orifice Area and B31.1 Reaction Force Relief Valve Sizing in the Browser - PiperPSV API 520 Orifice Area and B31.1 Reaction Force (1:06) — The four-card run: route the contingency in the API 521 index, size the orifice per API 520 with the flow regime picked automatically from Pcf, and take the B31.1 App. II reaction force with the embedded steam-constant picker. Watch on YouTube.

Open the tool

Open PiperPSV — it loads in this tab on any paid account, defaults loaded with the standard's own worked example so you can verify before you trust it. If you are sizing against a contingency you have not routed yet, start with the API 521 router card and let the standard tell you where the rate comes from.

FAQ

Which API 520 sizing equations are implemented?

The published equation set from API 520 Part I, 10th Edition: Eq. 6 with the Eq. 12 coefficient C for gas or vapor in critical flow, Eq. 5 for the critical-flow pressure Pcf, Eq. 16 with the Eq. 22 F2 coefficient for subcritical flow, Eq. 25 for steam with the Eq. 27/28 Napier correction KN above 1,500 psia, and Eq. 32 for liquid service with a certified valve. The regime choice is not a dropdown you can get wrong: the card computes Pcf from k and the relieving pressure, compares the backpressure against it, and selects critical or subcritical automatically — if k is not supplied it assumes critical flow and says so in a warning rather than guessing silently. Every input the equations need beyond that — Kd, Kb, Kc, Kw, Kv, KSH, and the fluid properties — is yours to supply, because those values come from the standard's tables, not from equations it publishes.

Does it select the API 526 orifice letter for me?

No. The output is the required effective discharge area A in square inches, computed to five decimals — for the standard's own §5.6.3.2 example that is 6.50573 in², and that case is locked as a fixture and asserted by an end-to-end test on every deploy. Choosing the letter designation that covers A is a lookup in API 526's orifice-area table, which this tool does not embed; you read the table in your copy, pick the first orifice at or above the required area, and confirm it against the valve vendor's certified capacity. That is a one-line step, but it is deliberately your step: publishing the D-through-T areas would cross the same line the rest of this site is built to respect — equations live in code, copyrighted table values do not. If that table is ever embedded, letter selection is the first feature it unblocks.

Where do the fluid properties and correction factors come from?

From your copy of the standard, entered as inputs — that is the data firewall the whole site runs on. The card embeds the published equations; it does not embed Table 10 gas properties, the Table 11 C coefficients (though a computed C from k is standard and an override field accepts the table value directly), the Table 12/13 superheat-correction grid, or the viscosity chart behind Kv. The Kd field's own label carries the standard defaults — 0.975 for a valve, 0.62 for a bare rupture disk, 0.65 for liquid — and the card warns you wherever a default is doing work: KSH stays 1.0 until you supply the superheat value, and Kv 1.0 is only valid at or below 100 cP. The result is auditable rather than convenient: every number in the report is either a published equation or a value you chose and can defend.

How is the discharge reaction force calculated?

Per ASME B31.1-2024 Nonmandatory Appendix II, the open-discharge case: the exit velocity V1 and exit static pressure P1 come from the ¶II-2.2.1 energy balance on stagnation enthalpy h0 using the steam constants a and b, and the steady-state reaction at the discharge elbow is F1 = ṁ·V1/gc + (P1 − Pa)·A1 per ¶II-2.3.1.1, with the mass flow taken as 1.11 times stamped capacity — the code's built-in margin over the nameplate. The Table II-2.2.1-1 constants are embedded and applied through a cited picker: wet steam below 90 percent quality, saturated to 1,000 psia, superheated to 2,000 psia, each row carrying its applicability note. You then apply the dynamic load factor per ¶II-3.5.1.3 — the card multiplies F1 × DLF but leaves choosing the factor to you, and it reminds you that vent-pipe blowback under ¶II-2.3.1.2 is a separate verification.

What tier is PiperPSV on, and what exactly do I get?

PiperPSV is a Pro tool — $2.99/month or $29/year, the entry paid tier — alongside PiperSIF, the Report Manager, .pcp project files and the cited code-table pickers. Everything computes in your browser: inputs never leave the tab, there is no per-run cost, and the same inputs produce the same report forever. The card set is the API 520 sizing engine, the B31.1 Appendix II reaction card with the embedded steam-constant picker, the 26-contingency API 521 scenario router, and a Section XIII device-type guide; Add to report captures any card into the Report Manager with a titleblock, printable output and .pcp project files. The default state of the sizing card is the standard's own §5.6.3.2 worked example, so the first thing you see is a number you can check against your copy — 6.50573 square inches — before you trust it with your own relief case.

Open the tool → All calculators