Tools › Environmental › Spill Prevention › Secondary Containment Sizing


Secondary Containment Sizing

Size or check the secondary containment of bulk oil storage tanks under the U.S. SPCC rule (40 CFR part 112): the containment must hold the entire capacity of the largest single container and sufficient freeboard to contain precipitation. The tool follows the sample calculations and worksheets of the U.S. EPA's SPCC Guidance for Regional Inspectors: gross volume of a dike, sloped berm or remote impoundment, less the volume displaced by the other tanks below the top of the wall, against the largest container plus the rain from an entered design storm. It reports the net volume, the percent of the largest container, the freeboard, the wall height needed, and a capacity screen of the facility against the rule's thresholds. A calculation aid: whether the freeboard is sufficient is a matter of good engineering practice decided by the person who certifies the Plan.

  • Largest single container plus freeboard for precipitation, as 40 CFR 112.8(c)(2) words it

  • Rectangular dike, berm with sloped faces or remote impoundment; vertical, horizontal and rectangular tanks; manifolded tanks as one container

  • Displacement of the other tanks by EPA's worksheet method; wall height and length needed, solved exactly

  • Checked against Figures 4-5 and 4-6 and the Appendix H worksheets of EPA's SPCC Guidance for Regional Inspectors

Secondary Containment Sizing


Unit System: /

Containment






Freeboard for Precipitation





Volumes and Displacement




Tanks (capacity in the unit chosen above; rows without a capacity are ignored)

1
2
3

Facility Capacity Screen (same capacity unit)



×

Secondary Containment Sizing

The SPCC Rule's Sizing Requirement, EPA's Worksheets, What It Assumes and When It Misleads

Scope

The page sizes or checks the secondary containment of bulk oil storage containers under the U.S. Spill Prevention, Control, and Countermeasure (SPCC) rule, 40 CFR part 112, by the sample calculations of the U.S. Environmental Protection Agency's SPCC Guidance for Regional Inspectors (EPA 550-B-13-001, 2013): Figures 4-5 and 4-6 of its chapter 4 and the four secondary containment worksheets of its Appendix H (dated July 2011). It also compares the storage capacity of the facility with the capacity figures of the rule.

Not covered: loading and unloading racks (112.7(h)), the general containment of piping and transfer areas (112.7(c), sized for the most likely discharge), oil-filled operational equipment, oil production facilities' flow-through process vessels, the strength, imperviousness and drainage of the dike, and any state or local requirement.

What the rule asks for

For bulk storage containers at onshore facilities, 40 CFR 112.8(c)(2) reads: "Construct all bulk storage tank installations (except mobile refuelers and other non-transportation-related tank trucks) so that you provide a secondary means of containment for the entire capacity of the largest single container and sufficient freeboard to contain precipitation." Section 112.8(c)(11) asks the same of mobile or portable containers ("the capacity of the largest single compartment or container with sufficient freeboard to contain precipitation"), 112.12(c)(2) and (c)(11) repeat both for animal fats and vegetable oils, and 112.9(c)(2) for tank batteries at production facilities. The general provision 112.7(c) requires that "the entire containment system, including walls and floor, must be capable of containing oil". The storage capacity of a container is its shell capacity (112.2).

The rule gives no number for the freeboard. In the preamble to the 2002 amendments EPA wrote that "the proper standard of 'sufficient freeboard' to contain precipitation is that amount necessary to contain precipitation from a 25-year, 24-hour storm event" (67 FR 47117), and in the same place that it was not making this a rule standard. The guidance (section 4.3.2) therefore says that the 25-year, 24-hour storm is not enforceable as a standard, that a "110 percent of storage tank capacity" rule of thumb may be acceptable in many situations but may not provide enough volume for storm events, and that the adequacy of the freeboard is an engineering determination made by the Professional Engineer and certified in the Plan (by the owner or operator, for a qualified facility). The page takes the storm depth as an input and fetches no data; precipitation-frequency depths for most of the United States are published by NOAA (Atlas 14).

Tanks that are permanently manifolded together so that they function as one storage unit count as one container (guidance, section 4.3): give them the same entry in the Manifold column and their capacities are added.

The calculation

For a containment with a rectangular floor L × W, wall height H and inside faces sloping z horizontal to 1 vertical on all four sides (z = 0 for a vertical wall), the gross volume and the plan area inside the top of the wall are

Vgross = L W H + z (L + W) H² + (4/3) z² H³,   Atop = (L + 2 z H)(W + 2 z H)

With z = 0 this is the length × width × height of the worksheets. From it the volume that the other tanks occupy below the top of the wall is deducted, as in Figure 4-6 of the guidance and the worksheets:

  • vertical cylinder: footprint π D²/4 times the height below the top of the wall;
  • rectangular tank: length × width times the height below the top of the wall;
  • horizontal cylinder: tank volume times the fraction of a circle's area below the depth h, f = (θ − sin θ)/(2π) with cos(θ/2) = 1 − 2h/D. The worksheets read this fraction from a printed table at h/D rounded to two decimals; the table is within 0.002 of the exact value and is offered as an option. The tank volume is π D²/4 times the length when a length is entered, the shell capacity otherwise (the worksheets' choice when the capacity is known).

A tank on legs or saddles is entered with the height of its bottom above the floor and displaces only below the wall; a vertical or rectangular tank shorter than the wall is deducted to its own height (shell capacity ÷ footprint). The largest container itself is not deducted: when it fails, the part of its shell below the liquid level still holds oil. A remote impoundment holds no tanks, so nothing is deducted. Then

Vnet = Vgross − Σ displacement of the other tanks − other displacement entered

Vrequired = Vlargest + P (Atop + Adrain)

where P is the design precipitation depth and Adrain any area outside the walls that drains into the containment (the worksheet for a remote impoundment adds the rain of its drainage area in this way). With the percent-of-largest basis the second term is (p/100 − 1) Vlargest; "larger of the two" takes the greater allowance. The page reports the net volume as a percent of the largest container, the freeboard volume Vnet − Vlargest, the precipitation depth that this freeboard holds (freeboard volume ÷ area collecting rain, as in Figure 4-6), and the liquid level after the largest container has emptied into a dry containment.

Dimensions needed. The wall height at which Vnet = Vrequired is found by bisection, with the displacement of the other tanks and the rain recomputed at every trial height; likewise the length needed at the entered width and wall height. EPA's worksheet "Construct New Secondary Containment" does this in one pass and then notes that the rain and the displacements must be recalculated when the dimensions change; the page carries that recalculation to the end, so its dimension is the larger one (see below).

Each container as the failed one. The rule names the largest single container. When a smaller tank fails, the larger tanks stay in the containment and displace volume, so with large tanks in a low dike a smaller container can leave less surplus than the largest. The page checks every container in turn, says so when another one governs, and reports the wall height that satisfies all of them. This goes beyond the worksheets and is the page's own addition.

Facility capacity screen

Figures of 40 CFR part 112 as read in the eCFR on 13 November 2026: the rule does not apply to a facility whose completely buried storage capacity is 42,000 U.S. gallons or less and whose aggregate aboveground storage capacity is 1,320 U.S. gallons or less, counting only containers of 55 U.S. gallons or greater (112.1(d)(2), 112.1(d)(5)). A qualified facility, which may self-certify its Plan, has an aggregate aboveground capacity of 10,000 U.S. gallons or less (Tier II, 112.3(g)(2)) and, for Tier I, no individual aboveground container above 5,000 U.S. gallons (112.3(g)(1)), with conditions on its discharge history that the page does not judge. The screen compares capacities only: whether the facility could reasonably be expected to discharge oil to navigable waters or adjoining shorelines (112.1(b), 112.1(d)(1)(i)), and which containers the rule excludes from the count, are for the user to settle.

Double-walled tanks

Section 4.4.5 of the guidance says that shop-fabricated double-wall aboveground tanks, regardless of size, may generally satisfy both the general containment requirement of 112.7(c) and the sizing requirement of 112.8(c)(2), and that they typically need no additional freeboard when the interstice is not exposed to precipitation; overfills from the vent during transfers are not contained by the outer wall. With that containment type the page prints the note and the capacity screen and computes no volume.

Checks against the guidance

The library reproduces Figure 4-5 (wall heights 2.97, 3.27 and 3.35 ft), Figure 4-6 (24,235 and 22,473 gallons, 112 percent, 0.15 ft of freeboard; the default case of the page), and the worksheet examples for a single vertical tank, several horizontal tanks, a remote impoundment and a new containment, within the rounding of the printed arithmetic. The worksheets round 1/7.48 to 0.1337 ft³ per gallon, π to 3.14 and 7 inches to 0.6 ft; the page uses 231 cubic inches to the gallon exactly, so its gallon figures differ from the printed ones in the fourth or fifth digit (24,237 against 24,235 gallons).

A finding on the worksheet for a new containment. Its example ends with a dike 15.3 ft × 10 ft × 6 ft. That length comes from the rain on the first trial footprint (10.7 ft long) and the displacements at the first trial wall height (5 ft). Recalculated for the final dimensions, as the worksheet itself says is necessary, the same method gives a required length of about 17.3 ft: the 15.3-ft dike is roughly 110 ft³ short of holding the 4,000-gallon tank, the 6-inch rain and the displacement of the two other tanks. The page reports the recalculated dimension.

What it assumes

A flat floor, a single wall height (enter the lowest point of the top of the wall), square corners and, for a berm, the same slope on all four faces; a containment that is dry and empty when the container fails (accumulated rainwater drained, as 112.8(c)(3) regulates); walls and floor impervious to oil; all rain on the area collecting it reaching the containment with no loss; shell capacity as the volume released, with no allowance for the dynamic surge of a sudden failure overtopping the wall; no displacement by foundations, piping or equipment unless it is entered.

When it misleads

When the floor slopes or the wall top is uneven (the usable volume is set by the lowest point); when rainwater or snowmelt is left standing; when the storm depth entered is a typical rain and not the design event; when a percent rule is used for a small tank in a large dike, where the rain on the dike can exceed 10 percent of the tank many times over; when tanks are piped together and not entered as manifolded; when a tank fails suddenly close to a low wall; when earthen berms have eroded below their design height; and when a state rule, a fire code or a permit sets a larger volume, a wall-height limit or separation distances. The result is a calculation aid, not a compliance determination: the rule text and the person who certifies the Plan govern.




References

U.S. Environmental Protection Agency (2013). SPCC Guidance for Regional Inspectors. EPA 550-B-13-001, Office of Emergency Management, Washington, DC.

U.S. Environmental Protection Agency (2026). Oil Pollution Prevention. Code of Federal Regulations, Title 40, Part 112, Office of the Federal Register, Washington, DC.

U.S. Environmental Protection Agency (2002). "Oil Pollution Prevention and Response; Non-Transportation-Related Onshore and Offshore Facilities; Final Rule." Federal Register, Vol. 67, pp. 47042–47152.

National Oceanic and Atmospheric Administration (2004–2024). Precipitation-Frequency Atlas of the United States. NOAA Atlas 14, National Weather Service, Silver Spring, MD.

American Petroleum Institute (2011). Suggested Procedure for Development of a Spill Prevention Control and Countermeasure Plan, 5th ed. API Bulletin D16, API, Washington, DC.

Worked Examples

Published examples this tool reproduces; each page lists the inputs to enter and the printed answers.

All worked examples


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.