How to use the volume and surface area calculator
Pick one of 19 solids: boxes and prisms, round solids from cylinders to tori, and pyramids and regular polyhedra. Type the dimensions, adding units where you like (1.2 m, 45 cm, 2 ft 6 in). For round shapes, tick Enter diameters if that is what you measured. The results give:
- the volume, with an exact value in terms of π when there is one
- the volume in litres, gallons and cubic feet or metres
- the total and side surface areas
- shape-specific measurements such as slant height or space diagonal
- step-by-step working and a labelled sketch
Two extra tools cover common jobs. Choose a material to see what the solid weighs, or what it holds if you fill it with water, sand or gravel. Switch I want to to work backwards from a volume or area you need, for example the height a tank must be to hold 500 litres.
Volume or surface area?
Volume is the space inside a solid, measured in cubic units such as m³ or cm³. It is what you need to fill something, whether with concrete, soil, water or air. Surface area is the total area of the outside, in square units. It is what you cover with paint, cladding, insulation or wrapping. Lateral surface area counts only the sides, leaving out the top and bottom. Use it for the label on a tin, the walls of a round tank, or an open-topped container.
Volume and surface area formulas
| Solid | Volume | Surface area |
|---|---|---|
| Cube, edge a | a³ | 6a² |
| Box l × w × h | lwh | 2(lw + lh + wh) |
| Any prism | end area × length | 2 × end area + end perimeter × length |
| Cylinder | πr²h | 2πr² + 2πrh |
| Cone | ⅓πr²h | πr² + πrs, with slant s = √(r² + h²) |
| Frustum | ⅓πh(R² + Rr + r²) | πR² + πr² + π(R + r)s |
| Sphere | ⁴⁄₃πr³ | 4πr² |
| Hemisphere | ⅔πr³ | 3πr² (2πr² curved + πr² base) |
| Spherical cap | ⅓πh²(3R − h) | 2πRh curved, plus the base |
| Pyramid | ⅓ × base area × h | base + four triangular faces |
| Torus | 2π²Rr² | 4π²Rr |
| Ellipsoid | ⁴⁄₃πabc | no exact simple formula (approximated) |
Why the formulas look the way they do
Prisms and cylinders are the same cross-section stacked up, so their volume is that area times the length. A cylinder is just a prism with a circular end.
Pyramids and cones taper to a point, and they hold exactly a third of the prism or cylinder with the same base and height. Three square pyramids with their tips at one corner fit together to make a cube. That is where the ⅓ comes from.
Spheres follow a result Archimedes was proud of. A sphere fills two-thirds of the smallest cylinder that contains it, and its surface is two-thirds of that cylinder’s total surface. Its curved surface also matches the cylinder’s side exactly.
A torus is a circle swept around a loop. Its volume is the circle’s area times the distance its centre travels, πr² × 2πR. Its surface is the circle’s circumference times the same distance. This shortcut is called Pappus’s theorem.
Size, scaling and working backwards
Double every dimension of a solid and its surface area grows four times, but its volume grows eight times. That is why large animals lose heat more slowly than small ones, why crushed ice melts faster than a block, and why a tank twice as wide holds four times as much. It also makes guessing sizes hard, which is where the reverse mode helps. A cube that holds exactly 1 litre has 10 cm edges. A round tub 30 cm across must be about 28.3 cm deep to hold 20 litres.
Units, litres and gallons
Volume units are cubed, so conversion factors are cubed too: 1 m = 100 cm, but 1 m³ = 1,000,000 cm³. The everyday links are 1 litre = 1,000 cm³ and 1 m³ = 1,000 litres. In imperial units, 1 ft³ ≈ 28.3 litres ≈ 7.48 US gallons, and 1 yd³ ≈ 0.765 m³. A US gallon is 3.785 litres and a UK gallon 4.546 litres, so check which one a product means. The calculator lists both.
From volume to weight
Weight is volume times density. Water is 1,000 kg/m³, so a litre weighs a kilogram. Concrete is about 2.4 tonnes per cubic metre, steel about 7.85 and dry sand about 1.6. Densities of natural materials vary with moisture and grading, so treat those results as estimates and check the supplier’s figure for ordering.
Worked examples
Concrete for a slab. A 4.5 m × 3.2 m slab, 12 cm thick, needs 4.5 × 3.2 × 0.12 ≈ 1.73 m³ of concrete. That is about 4.1 tonnes. Order 5–10% extra for uneven ground and spillage.
A rain barrel. A barrel 58 cm across and 90 cm tall holds π × 29² × 90 ≈ 237,800 cm³, or about 238 litres.
A heap of gravel. A cone-shaped pile 3 m across and 1.2 m high holds ⅓ × π × 1.5² × 1.2 ≈ 2.83 m³. At about 1.7 t/m³, that is roughly 4.8 tonnes.
A bucket. Buckets are frustums, not cylinders. One with a 25 cm base, a 30 cm rim and a depth of 35 cm holds ⅓ × π × 35 × (12.5² + 12.5 × 15 + 15²) ≈ 20.8 litres.
The weight of a pipe. A steel tube 60.3 mm outside and 52.5 mm inside has a cross-section of π(30.15² − 26.25²) ≈ 691 mm². A 6 m length is about 0.0041 m³ of steel, or roughly 32.5 kg.
Where these calculations are used
- Building and landscaping: concrete for slabs, footings and post holes, topsoil and mulch, and gravel or sand deliveries.
- Tanks and containers: water tanks, aquariums, fuel and gas tanks, silos and storage bins.
- Painting and cladding: the surface of tanks, domes, columns and pipework.
- Packaging and shipping: box volume, cartons per pallet, and the card needed to make a box.
- Engineering and making: the weight of pipes, bars and castings, and the material for 3D prints.
- Science and cooking: cells and droplets, where the surface area to volume ratio matters, and pans, moulds and cake tins.
Common mistakes
- Using the diameter as the radius. This makes the volume of a cylinder or sphere four or eight times too big. Tick the diameter box instead of halving the measurement by hand.
- Converting cubic units like lengths. 1 m³ is 1,000,000 cm³, not 100.
- Using the slant height as the height. Cone and pyramid volumes need the vertical height, straight up from the base to the tip.
- Forgetting the wall. A tank’s capacity uses its inside dimensions, but its weight depends on the material between the inside and the outside.
- Counting faces that are not there. An open-topped tank or a pipe without ends needs less paint or material than the total surface area suggests.