Home / Secondary containment calculator
Free tool: 40 CFR 112.6(a)(3)(ii) and 112.8(c)(2), with EPA's calculation method
Secondary containment calculator
Check whether a dike, curbed pad or containment room holds your largest container plus room for rain. Enter inside dimensions in feet; the result updates as you type.
Calculating…
Factors used: 7.48 gallons per cubic foot and the 110% rule of thumb (EPA SPCC Guidance for Regional Inspectors sec. 4.3.2 and Figures 4-5 and 4-6, pp. 4-19 to 4-22); indoor sizing at 100% of the largest container (40 CFR 112.6(a)(3)(ii)). The result is a calculation, not an engineering assessment of the structure; check that walls and floor are sound and impervious (40 CFR 112.7(c)).
What the rule actually requires
- Tier I plans: Secondary containment for the bulk storage containers (including mobile or portable oil storage containers, but not mobile refuelers or other non-transportation-related tank trucks) holds the capacity of the largest container plus additional capacity to contain precipitation. (40 CFR 112.6(a)(3)(ii))
- Tier II plans: Each bulk storage container installation (except mobile refuelers and other non-transportation-related tank trucks) has a secondary means of containment for the entire capacity of the largest single container and sufficient freeboard to contain precipitation. (40 CFR 112.8(c)(2))
- The rule requires containment for the entire capacity of the largest single container plus room for precipitation ("sufficient freeboard to contain precipitation" in 40 CFR 112.8(c)(2); "additional capacity to contain precipitation" in 40 CFR 112.6(a)(3)(ii) for Tier I Plans), but does not define that volume or prescribe a calculation. The person certifying this Plan decides what volume is sufficient and documents in the Plan how that was determined. (40 CFR 112.8(c)(2))
The often-quoted "110%" is not in the regulation. It is a rule of thumb from EPA's guidance to inspectors, and your plan has to state the design criterion the certifier chose. Our plans state it like this:
Containment capacity is calculated from interior dimensions: length x width x wall height for a rectangular dike (pi x diameter squared / 4 x height for a circular one), converted at 7.48 gallons per cubic foot. The volume displaced below the top of the wall by every other container, foundation or structure inside the containment is subtracted. The rule requires the entire capacity of the largest single container plus capacity for precipitation and does not set a precipitation amount. This Plan uses the following design criterion for outdoor containment: the net capacity is at least 110% of the largest container's capacity, a rule of thumb EPA guidance says may be acceptable in many situations but may not hold enough precipitation in others. EPA guidance suggests considering precipitation from a 25-year, 24-hour storm where data are available; EPA states that this is not enforceable as a standard. Under EPA guidance (section 4.4.4), when secondary containment is provided inside a building, freeboard calculations for precipitation are typically not applicable, and the net capacity must hold at least the entire capacity of the largest single container. (EPA SPCC Guidance for Regional Inspectors sec. 4.3.2 and Figures 4-5 and 4-6, pp. 4-19 to 4-22)
Special cases
- Indoors: Where the containment is inside a building, a precipitation allowance is typically not applicable; no allowance for precipitation is added in this Plan where the certifier has confirmed that precipitation cannot enter the containment. A building used as containment has no open floor drains or automated sump pump, unless the drainage system is purposefully equipped to treat any discharge (for example an adequately sized, designed and maintained oil-water separator). Doorways, windows and other openings that would let oil flow out of the building are taken into account, and the capacity calculation takes into account the volume displaced by other containers, equipment and items sharing the containment. (40 CFR 112.8(c)(2))
- Double-wall tanks: Following EPA guidance (SPCC Guidance for Regional Inspectors, section 4.4.5), a shop-fabricated double-wall aboveground tank is relied on as its own secondary containment (an equivalent system under 40 CFR 112.7(c), and for sized bulk storage containment) because: it is shop fabricated; the inner tank is a UL-listed steel tank; the outer tank is constructed in accordance with nationally accepted industry standards; it is equipped with an overfill alarm and an automatic flow restrictor or flow shut-off (or, as an alternative, active or passive secondary containment for the typical failure mode and most likely quantity of oil discharged from the tank's vents during transfer operations); and all product transfers are constantly monitored. (EPA SPCC Guidance for Regional Inspectors sec. 4.4.5, pp. 4-37 to 4-38)
- Several tanks in one dike: size for the largest single container, and subtract the others' displacement. Tanks manifolded so they act as one are treated as one container: Following EPA's interpretation (SPCC Guidance for Regional Inspectors, section 4.3, citing 67 FR 47122), tanks permanently manifolded together so that they function as a single storage unit are treated as one container: their combined capacity is used as the largest single container when sizing secondary containment. (40 CFR 112.8(c)(2))
- Drums and totes: Mobile or portable oil storage containers are positioned or located to prevent a discharge as described in 40 CFR 112.1(b). Except for mobile refuelers and other non-transportation-related tank trucks, they are inside secondary containment that holds the entire capacity of the largest single container plus additional capacity to contain precipitation (see the bulk storage containment requirement). (40 CFR 112.6(a)(3)(ii))
- Transfer areas, piping and oil-filled equipment: no sizing formula; General secondary containment (for piping, transfer areas, oil-filled equipment and other areas without a sizing rule) is designed for the typical failure mode and the most likely quantity of oil that would be discharged. It may be active (deployed when needed, such as sorbents or spill mats) or passive (permanently in place, such as curbs and dikes). (40 CFR 112.7(c))
- Draining rainwater out of the dike: Uncontaminated rainwater is drained from a diked area into a storm drain, or effluent is discharged into an open watercourse, lake or pond bypassing the facility treatment system, only if: the bypass valve is normally kept sealed closed; the retained rainwater is inspected to ensure its presence will not cause a discharge as described in 40 CFR 112.1(b); the bypass valve is opened and resealed following drainage under responsible supervision; and adequate records of each drainage event are kept in the dike drainage log. (40 CFR 112.8(c)(3))
Not big enough?
Options include raising the walls, enlarging the dike, moving a tank out, replacing a tank with a double-wall unit that meets the conditions above, or moving drums onto spill pallets. In a Tier I plan you cannot simply declare containment impracticable: A Tier I Plan cannot rely on a determination that secondary containment is impracticable. Every container and area that needs containment must have it, or the facility must use a Tier II Plan with a PE-certified impracticability determination, or a full PE Plan. (40 CFR 112.6(a)(1)(vii))
Your SPCC plan from this tool runs this calculation for every container and lists any shortfall as a corrective action with a target date.
Find out in a few questions whether you need a plan, and which tier
The eligibility check is free and needs no account. You see your result, why, and the rule behind it, before anything is for sale. If you need an engineer, it says so.
Start the free eligibility checkRelated
A document tool, not engineering or legal advice. You, the owner or operator, certify the plan.
Sources cited on this page
Regulation text from the eCFR, quoted verbatim, with the date we last checked it. See how we check sources.
- 40 CFR 112.6(a)(1)(vii): Tier I: impracticability is not available. Checked 2026-11-21.
“The Plan does not deviate from any requirement of this part as allowed by § 112.7(a)(2) and 112.7(d) or include measures pursuant to § 112.9(c)(6) for produced water containers and any associated piping; and”
- 40 CFR 112.6(a)(3)(ii): Bulk storage and mobile containers: largest container plus precipitation (Tier I). Checked 2026-11-21.
“Construct all bulk storage container installations (except mobile refuelers and other non-transportation-related tank trucks), including mobile or portable oil storage containers, so that you provide a secondary means of containment for the entire capacity of the largest single container plus additional capacity to contain precipitation.”
- 40 CFR 112.6(a)(3)(ii): Mobile and portable containers: positioned to prevent a discharge (Tier I). Checked 2026-11-21.
“Position or locate mobile or portable oil storage containers to prevent a discharge as described in § 112.1(b).”
- 40 CFR 112.7(c): Containment walls and floor must hold oil until cleanup. Checked 2026-11-21.
“The entire containment system, including walls and floor, must be capable of containing oil and must be constructed so that any discharge from a primary containment system, such as a tank, will not escape the containment system before cleanup occurs.”
- 40 CFR 112.7(c): General containment is sized for the typical failure mode. Checked 2026-11-21.
“In determining the method, design, and capacity for secondary containment, you need only to address the typical failure mode, and the most likely quantity of oil that would be discharged. Secondary containment may be either active or passive in design.”
- 40 CFR 112.8(c)(2): Bulk storage: largest container plus freeboard for precipitation (Tier II). Checked 2026-11-21.
“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.”
- 40 CFR 112.8(c)(2): 'Sufficient freeboard' is not defined by the rule. Checked 2026-11-21.
“sufficient freeboard to contain precipitation”
- 40 CFR 112.8(c)(2): Containment inside a building: no precipitation allowance; drains and openings. Checked 2026-11-21.
“sufficient freeboard to contain precipitation”
- 40 CFR 112.8(c)(2): Manifolded tanks count as one container for sizing. Checked 2026-11-21.
“a secondary means of containment for the entire capacity of the largest single container”
- 40 CFR 112.8(c)(3): Draining rainwater from diked areas. Checked 2026-11-21.
“Not allow drainage of uncontaminated rainwater from the diked area into a storm drain or discharge of an effluent into an open watercourse, lake, or pond, bypassing the facility treatment system unless you: (i) Normally keep the bypass valve sealed closed. (ii) Inspect the retained rainwater to ensure that its presence will not cause a discharge as described in § 112.1(b). (iii) Open the bypass valve and reseal it following drainage under responsible supervision; and (iv) Keep adequate records of such events”
- EPA SPCC Guidance for Regional Inspectors sec. 4.3.2 and Figures 4-5 and 4-6, pp. 4-19 to 4-22: Containment sizing calculation (EPA guidance method). Checked 2026-11-21.
“A “110 percent of storage tank capacity” rule of thumb may be an acceptable design criterion in many situations”
- EPA SPCC Guidance for Regional Inspectors sec. 4.4.5, pp. 4-37 to 4-38: Shop-built double-wall tanks as secondary containment. Checked 2026-11-21.
“Shop-fabricated double-wall ASTs, regardless of size, may generally satisfy not only the secondary containment requirements of §112.7(c), but also the specific secondary containment requirements for sizing secondary containment for bulk storage containers found at §112.8(c)(2).”