
Learning how to calculate cubic feet of a capsule-shaped tank comes down to one geometric fact: a capsule is a cylinder with a half-sphere welded onto each end, so its total volume is the cylindrical mid-section plus two hemispherical caps that together equal one full sphere.
Measure the straight shell length and the diameter, apply two formulas, add the results, and you have the capacity in cubic feet. Everything else in this guide is about getting those two measurements right, handling unit conversions, and knowing where the textbook answer drifts from what the tank actually holds.
Capsule geometry shows up constantly in industrial and agricultural work. Horizontal propane tanks, air receivers, fermenters, road tankers, and a long list of pressure vessels all use the same rounded-cylinder profile because the shape distributes internal stress far better than a flat-ended drum.
When a buyer needs to size a tank, a fabricator needs to quote one, or an operator needs to reconcile a dipstick reading against inventory, the working number is almost always volume in cubic feet. The math is elementary once you understand the anatomy, but the measurement discipline is where most people get burned.
The Two Measurements You Actually Need
A capsule has exactly two independent dimensions. The first is the diameter, which is also the diameter of the spherical caps because the geometry only closes cleanly if the cap radius matches the cylinder radius.
The second is the length of the cylindrical section, meaning the straight run between the point where the shell stops curving and the cap begins. This is not the same as the overall length of the vessel, a distinction that trips up people who read a spec sheet or run a tape measure across the whole body without thinking.
Overall length equals the straight length plus one full diameter, since each cap sticks out by one radius and there are two caps. If you measure end to end and come up with 120 inches on a vessel with a 30 inch diameter, the straight shell length for your formula is 90 inches, not 120.
Recording the wrong figure here inflates your volume by the full sphere component twice over. Fabricators usually stamp the straight length on the nameplate, and that stamped figure is the one the formula wants.
For a true capsule, confirm that the end caps are hemispherical rather than elliptical or dished to a shallower profile. Many pressure vessels use 2:1 ellipsoidal heads, which look similar to a hemisphere at a glance but hold noticeably less volume. If the vessel is a 2:1 elliptical head design, the capsule formula in this article will overstate capacity. Check the head type before you commit a number to a purchase order or a shipping manifest.
The Capsule Volume Formula

Knowing how to calculate cubic feet of a capsule-shaped tank starts with writing the total volume as the sum of a cylinder and a sphere. The cylinder contributes pi times radius squared times the straight length. The two hemispherical caps combine into one sphere, which contributes four thirds of pi times radius cubed. Add them and you get the compact expression below, where r is the radius and L is the straight shell length.
V = (4/3) x pi x r cubed + pi x r squared x L
Because the figure you want is cubic feet, the cleanest path is to convert every measurement to feet before you plug anything in. A radius of 15 inches becomes 1.25 feet. A straight length of 90 inches becomes 7.5 feet. Working in feet from the start eliminates the final conversion step and removes an entire class of arithmetic mistakes. If your source data is in inches, divide by 12 first, then proceed.
Working the Formula in Feet
Take a tank with a 30 inch diameter and a 90 inch straight shell. The radius is 15 inches, or 1.25 feet, and the straight length is 7.5 feet. The sphere portion is 1.3333 times 3.14159 times 1.9531, which comes to about 8.181 cubic feet. The cylindrical portion is 3.14159 times 1.5625 times 7.5, which gives roughly 36.816 cubic feet. Sum the two and the vessel holds about 45.0 cubic feet. Multiply by 7.48052 if you need gallons, and the tank comes in near 336.6 gallons.
Working the Formula in Inches and Converting
Some crews find it easier to measure and compute entirely in inches, then divide the cubic inch total by 1,728 because that is how many cubic inches sit in a cubic foot. Using the same tank, the sphere is 1.3333 times 3.14159 times 3,375, which equals about 14,137 cubic inches.
The cylinder is 3.14159 times 225 times 90, which equals about 63,617 cubic inches. The total lands near 77,754 cubic inches, and dividing by 1,728 returns 45.0 cubic feet. The two methods agree exactly, which is a useful way to audit your own arithmetic when a number looks off.
Capsule Tank Volume Reference Table

The table below gives ballpark capacities for common vessel sizes so you can sanity-check a calculation before trusting it. Straight lengths describe the cylindrical section only, not the overall length from cap tip to cap tip.
| Diameter (in) | Straight Length (in) | Radius (ft) | Sphere Portion (ft3) | Cylinder Portion (ft3) | Total Volume (ft3)
|
|---|---|---|---|---|---|
| 24 | 48 | 1.00 | 4.19 | 12.57 | 16.76 |
| 30 | 60 | 1.25 | 8.18 | 29.45 | 37.63 |
| 30 | 90 | 1.25 | 8.18 | 36.82 | 45.00 |
| 36 | 96 | 1.50 | 14.14 | 56.55 | 70.69 |
| 48 | 120 | 2.00 | 33.51 | 125.66 | 159.17 |
| 60 | 144 | 2.50 | 65.45 | 235.62 | 301.07 |
These figures assume a perfect capsule with no wall thickness, no internal baffles, and no fittings. Real vessels subtract a little from every number in the right-hand column. The table is a cross-check tool, not a substitute for measuring the actual equipment in front of you.
Converting Units Before You Calculate
Dimensions arrive in whatever units the person with the tape measure happened to use. A European spec sheet lists millimetres. An old drawing references feet and inches. A truck driver reports the tank in metres. The safest routine is to normalize everything to feet at the front door, and the conversion factors below cover the cases you will actually encounter on a job site.
- Inches to feet: divide by 12
- Yards to feet: multiply by 3
- Centimetres to feet: divide by 30.48
- Metres to feet: multiply by 3.28084
- Millimetres to feet: divide by 304.8
For a metric tank, a simpler route exists. Compute the volume in cubic metres using the same capsule formula with the radius and length expressed in metres, then multiply by 35.3147 because that is how many cubic feet fit in a cubic metre. The National Institute of Standards and Technology maintains the authoritative definitions for these unit relationships in its unit conversion reference, and it is worth bookmarking when a conversion factor needs a second opinion.
Fractional inches deserve a mention because they cause silent errors. A tape that reads 30 and 3/8 inches is 30.375 inches, not 30.3. Rounding the fraction too early shifts the volume enough to matter on a large vessel, so carry the decimal through to the final step and round only at the end. Measuring in metres or feet directly, when the tape supports it, avoids the issue entirely.
Why Cubic Feet Beats Gallons, Liters, or Barrels
Cubic feet is the default working unit in trucking, storage, and a good deal of industrial purchasing because it converts cleanly to cubic yards and cubic metres without an awkward intermediate step. A freight broker thinks in cubic feet when computing how much space a load consumes. For outdoor drainage projects, calculate gravel needed for a French drain.
A concrete or coatings estimator thinks in cubic feet when quoting surface preparation or fill material. A regulatory report may want gallons, but the underlying measurement almost always starts as a linear dimension, and cubic feet is the most direct resting place for that number.
The Environmental Protection Agency’s greenhouse gas reporting data sets illustrate the principle at scale: equipment and process volumes are routinely expressed in standard cubic feet, and any team reconciling their own tank inventory against a regulatory figure needs to speak the same unit language. Gallons and liters still matter for consumer-facing labels, but the math starts in cubic feet.
Partial Fill: How to Calculate Cubic Feet of a Capsule-Shaped Tank That Is Not Full
A tank rarely sits full, and the operator’s real question is usually how much liquid remains at a given depth. This is where the capsule shape gets interesting because the spherical caps behave differently than the cylindrical shell. Calculating liquid volume at a partial fill requires three separate integrals, one for each section of the vessel, depending on where the liquid line crosses.
The cylinder section alone uses a circular segment formula based on the liquid depth and the radius. The end caps each use a spherical cap formula, also driven by depth. The full derivation is beyond what most crews need on a given afternoon, so the practical routine is to measure depth with a dipstick, consult the tank manufacturer’s strapping chart if one exists, and otherwise use a dedicated partial-volume calculator.
For a first approximation, treat the tank as a plain cylinder and add a correction factor of roughly ten percent; the caps collectively hold just over eight percent of total volume on a typical capsule, so the error from ignoring them stays modest on a partially filled vessel where the liquid does not reach either end.
Precision matters when inventory is reconciled weekly or when product is billed by volume. For those cases, the strapping chart is not optional. A chart exists specifically because the integral is messy and because real vessels have welded seams, nozzles, and stiffening rings that the ideal geometry ignores. Buying a tank without a strapping chart is a paperwork problem waiting to happen.
Wall Thickness and Internal Volume

The capsule formula returns the volume enclosed by the outer shell. A tank with half-inch walls on a 30 inch diameter vessel has an internal diameter of 29 inches, not 30, and that one inch difference changes internal volume by roughly six percent.
On large vessels the gap widens. If the number you need is usable capacity, meaning what actually fits inside, measure the internal diameter where accessible or subtract twice the wall thickness from the outside measurement before calculating.
Internal fittings reduce capacity further. Baffles, heating coils, dip tubes, and manways take up space that the geometric formula does not know about. On a large atmospheric vessel the correction may be one or two percent. On a small pressure vessel with a lot of internal hardware, it can climb higher.
Specification sheets from the manufacturer usually provide a rated capacity that already accounts for these factors, and that rated figure should generally win over your calculated one when the two disagree by more than the expected tolerance.
Common Errors and How to Avoid Them
The single most frequent mistake in how to calculate cubic feet of a capsule-shaped tank is confusing overall length with straight shell length, which inflates the answer by an entire sphere. The second is using the diameter in the sphere formula where the radius belongs, which multiplies the sphere component by eight.
The third is forgetting that there are two caps and treating each one as a hemisphere to be added separately, then double-counting or under-counting depending on which formula the operator remembers.
Unit mismatches are the fourth offender. Mixing inches for length with feet for diameter is easy to do when the tape measure reads inches and the drawing reads feet. Run every dimension through a single conversion step first and the rest of the calculation becomes routine.
If a number feels wrong, recompute the sphere and cylinder components separately and compare them against the reference table above; the ratio between the two reveals almost immediately whether the radius or the length got mistyped.
Rounding errors cause fewer catastrophes but still matter. Carry at least four decimal places through the intermediate steps and round only the final answer, which is standard practice in the engineering community and is spelled out in guidance from the NIST guide for rounding and significant figures. A tank that computes to 44.98 cubic feet and gets rounded up to 45 is fine; a tank that gets rounded twice in the middle of the calculation and lands on 43 is a problem.
When to Use a Calculator Instead of Longhand
The formula is straightforward enough for a single vessel, but teams that handle dozens of measurements during a site survey waste time retyping the same constants. A dedicated tool that accepts dimensions in any unit and returns cubic feet, gallons, and cubic metres in one pass saves the labor and eliminates the rounding errors described above.
The cubic feet calculator on this site handles the capsule shape among its built-in options, accepts feet and inches or metric input, and shows the intermediate steps so the result can be audited rather than just trusted.
For a load of capsules, meaning identical tanks in a shipment or a battery of pressure vessels at a plant, the calculator’s running total feature is genuinely useful. Add each vessel once and the total accumulates, which converts directly into a truckload or storage estimate. The step that would otherwise be tedious, adding twenty near-identical numbers in a spreadsheet and hoping the formulas did not break, disappears.
Practical Uses Beyond the Pressure Vessel
Knowing how to calculate cubic feet of a capsule-shaped tank technique translates to a range of less obvious equipment. Fermentation vessels in a brewery follow the same profile because the rounded ends resist pressure during active fermentation.
Horizontal air receivers on a compressor line use the shape for the same reason pressure vessels do. Road tankers for fuel and chemicals are capsules by design, and freight paperwork often requires their volume in cubic feet even when the cargo itself is measured by weight.
Bulk storage for liquids that settle or separate benefits from the capsule profile because the rounded bottom reduces corners where sediment collects, which is why some agricultural and food-grade vessels adopt it. Even non-liquid uses exist: a horizontal capsule used as a mixer or as a reactor for granular material still needs volume in cubic feet for material loading, and the formula does not care what is inside. The geometry is universal.
The Final Handle on Capsule Volume
Measure the straight shell length, not the overall length, confirm the ends are hemispherical rather than ellipsoidal, and convert every dimension to feet before starting the arithmetic. The sphere portion is the term people forget, and it is worth eight percent or more of total volume on a typical vessel. Store those three habits and the calculation stays correct across every capsule tank the jobsite produces.


