Specialty Volume Calculator
Not everything is a box or a cylinder. This calculator handles the shapes that show up in tanks, gaskets, jewellery, food moulds and industrial parts - torus rings, capsules with rounded ends, curved barrel bodies and tapered frustums - from the few measurements each shape needs.
Formula: Torus: V = 2π² R r²
Volume formulas for the less common shapes
Specialty shapes earn their name because each one carries its own formula, but every result below is a standard solid of known geometry - nothing here is an approximation you have to trust blindly.
Torus - the ring, donut or O-ring
A torus is a circle of radius r swept around an axis at distance R. Its volume is V = 2π²Rr². Unrolled, the ring is a cylinder of length 2πR and cross-section πr² - same number, easier intuition. An O-ring with centre-line radius 10 cm and tube radius 2.5 cm holds 2π² × 10 × 6.25 ≈ 1,234 cm³. Note R is measured to the middle of the tube, not the outside edge.
Capsule - cylinder with hemispherical ends
A pill-shaped tank is a cylinder plus two hemispheres, which combine into one sphere: V = πr²h + (4/3)πr³, with h the length of the cylindrical section only. This is the shape of most pressure vessels and horizontal fuel tanks, where domed ends handle stress far better than flat plates.
Frustum - the tapered cone section
Cut a cone parallel to its base and the remaining piece is a frustum with volume V = (πh/3)(r&sub1;² + r&sub1;r&sub2; + r&sub2;²). Buckets, lampshades, hoppers and the bodies of many tanks are frustums. When the two radii are equal the formula collapses back to a plain cylinder - a useful sanity check.
Wedge - half a cylinder
A cylinder sliced lengthwise through its axis gives half the volume: V = πr²h/2. Troughs, half-pipes and chuted segments use this directly.
How to use this calculator
- Pick the shape. The selector swaps in exactly the fields that shape needs - no unused inputs to confuse the entry.
- Measure to the right reference points. For a torus, R goes to the centre of the tube; for a capsule, h excludes the domed ends; for a frustum, both radii are needed.
- Set units per field. Mixed-unit entry is fine - the tool converts everything to metres internally.
- Read the volume in your unit. The headline shows cm³ for small parts; the table adds litres, ft³ and gallons for tanks and moulds.
Related shapes and when these formulas apply
Curved barrel bodies
A true barrel - bulged staves, not straight taper - has no simple exact formula. Practical estimates use either the frustum formula with mid-diameter substituted, or Simpson’s rule over three diameters: V ≈ h(π/12)(D² + 4D&sub2;² + D&sub1;²) with D&sub2; the mid bulge. For a barrel bulging 10% at the waist, Simpson’s estimate runs a few percent above the straight-taper frustum result.
Elliptical and rounded tanks
Vertical tanks with curved bottoms or tops stack shapes: a cylindrical wall plus a spherical cap on top and possibly a dished base. Compute each piece with its own tool - the spherical cap and cylinder calculators cover the standard stack - and add them.
Objects made of uniform material
Volume times density gives mass, which is the workflow for estimating the weight of castings, extrusions and moulded rings. A steel torus (7,850 kg/m³) of the example dimensions above weighs about 9.7 kg - handy before lifting or costing it.
Partial fills
These formulas give full capacity. A horizontally mounted capsule or barrel partially filled needs the segment-of-circle method for the liquid level - the tank volume calculator handles common partial-fill cases.
Formulas at a glance
| Shape | Formula | Needed measurements |
|---|---|---|
| Torus | 2π²Rr² | Centre radius R, tube radius r |
| Capsule | πr²h + (4/3)πr³ | Radius r, cylinder length h |
| Frustum | (πh/3)(r&sub1;²+r&sub1;r&sub2;+r&sub2;²) | Both radii, height h |
| Wedge | πr²h / 2 | Radius r, length h |
| Sphere | (4/3)πr³ | Radius r |
| Cone | πr²h / 3 | Radius r, height h |
The last two rows are included because frustums and capsules decompose into them: a full cone is a frustum with r&sub2; = 0, and a capsule is a cylinder plus a sphere. Any stacked or composite part can be built up the same way.
Where specialty shapes turn up
O-rings and seals
Seal designers use torus volume to estimate compression set and grease fill: a gasket groove should hold roughly the torus volume of the uncompressed ring plus a small margin. The R-to-the-tube-centre measurement comes straight from standard seal sizing charts.
Horizontal fuel and pressure tanks
Propane bottles, air receivers and tanker ends are capsule-shaped because hemispherical heads distribute pressure evenly. Sizing one from wall radius and cylindrical length gives rated capacity within the tolerance stamped on the vessel.
Food moulds and bundt pans
A bundt pan is a frustum with a torus-shaped hole: calculate the frustum volume, subtract the central tube’s torus volume, and you have batter capacity - the difference between a recipe that fits and one that overflows.
Grain and pellet handling
Grain and pellet handling uses frustum hoppers and wedge troughs throughout. Capacity per metre of trough (the wedge formula) sizes conveyor loading rates directly.
Common mistakes & pro tips
- Measuring the torus R to the outside edge. R must reach the centre of the tube. Using the outer radius inflates the result substantially - convert with R = Router − r.
- Counting the domed ends in capsule length. h is the straight section only; including the ends double-counts volume the sphere term already covers.
- Frustum radii swapped. The formula is symmetric in r&sub1; and r&sub2;, so swapping them changes nothing - but entering the mid-bulge diameter of a barrel as one of them overstates a straight taper.
- Applying these to partial fills. Full-capacity formulas overstate liquid volume in any horizontally mounted vessel below the brim.
- Unit mixing in composite parts. When summing pieces computed separately, convert every result to the same unit first - litres for tanks, cm³ for machined parts.
Frequently asked questions
How do you calculate the volume of a torus or ring?
V = 2π²Rr², where R is the distance from the centre of the hole to the middle of the tube and r is the tube radius. Equivalently, it is a cylinder of length 2πR with cross-section πr².What is the volume of a capsule-shaped tank?
V = πr²h + (4/3)πr³. Measure h between the tangent lines where the domes begin.How do I find the volume of a tapered bucket or hopper?
V = (πh/3)(r&sub1;² + r&sub1;r&sub2; + r&sub2;²) with the bottom and top radii. A frustum calculator mode handles it directly above.