Home / Resources / Blog / API 6X vs. ASME BPVC Section VIII Division 2: Which Code Governs Your Pressure Equipment Analysis?

API 6X vs. ASME BPVC Section VIII Division 2: Which Code Governs Your Pressure Equipment Analysis?

Two codes get named on almost every pressure-equipment analysis scope in this industry — API 6X and ASME BPVC Section VIII Division 2 — and it’s a fair question why you’d need both, or which one actually governs a given job. The short answer: they’re not competitors. One is a general pressure-vessel design code; the other adapts it specifically for wellhead and Christmas tree equipment.

ASME BPVC Section VIII Division 2 — the general-purpose code

ASME’s Boiler and Pressure Vessel Code, Section VIII Division 2, is the design-by-analysis route for pressure vessels across every industry that uses them — refining, chemical processing, power generation, and oil and gas alike. Part 5 specifically sets out the design-by-analysis rules: protection against plastic collapse, protection against local failure, protection against collapse from buckling, and fatigue evaluation, each with defined acceptance criteria an FEA result has to satisfy. It’s thorough, well-established, and industry-agnostic — which is exactly why wellhead equipment needs something more specific layered on top.

API 6X — wellhead and tree equipment specifically

API 6X (“Design Calculations for Pressure-Containing Equipment”) exists because wellhead and Christmas tree equipment has loading and geometry that general pressure-vessel rules don’t fully anticipate — combined pressure, temperature, and external structural loads from wellhead growth and casing loads, complex bodies with multiple bores and outlets, and API 6A’s own pressure and temperature rating system. API 6X builds directly on ASME Section VIII Division 2’s design-by-analysis methodology, but applies it in the context of API 6A equipment: its rating classes, its combined-load cases, and its acceptance criteria for the specific failure modes wellhead components actually see.

So which one governs?

In practice, both do — at different levels:

  • API 6A/6X governs the equipment classification, rating, and load cases — what pressure and temperature class the component is rated to, and what combination of pressure, temperature, and structural load it has to be checked against.
  • ASME Section VIII Division 2 Part 5 supplies the analysis method and acceptance criteria — how the FEA is actually evaluated once the load cases are defined: which stress categories to check, how to assess plastic collapse and local failure, and how to run the fatigue evaluation.

A defensible wellhead analysis report cites both: the API 6A/6X basis for what’s being checked and under what loads, and the ASME VIII-2 Part 5 basis for how the result is judged acceptable. Other API standards layer on the same way for other equipment — API 17D for subsea production systems, API 16A for drill-through equipment — each defining the equipment-specific rating and load cases while still relying on ASME’s design-by-analysis framework underneath.

Why this distinction matters in practice

Getting this wrong shows up two ways. Running an analysis to ASME VIII-2 alone, without applying API 6A/6X’s load combinations and rating classes, can pass a component against the wrong loads entirely — technically compliant with a code, but not the code that actually governs wellhead service. Running it to API 6X’s load cases but without ASME VIII-2 Part 5’s acceptance criteria leaves you without a rigorous, code-recognized basis for calling the result “acceptable” at all. Both halves need to be there, and a reviewer or certifying body checking the report will expect to see both cited explicitly.

We run pressure-boundary and elastic-plastic analysis to API 6A, 6X, and 17D, evaluated against ASME BPVC Section VIII Division 2 Part 5 acceptance criteria, for wellhead, valve, and subsea equipment. See our FEA & Simulation services, or talk to an engineer about which codes apply to your equipment.