Volume & Capacity Calculator for 3D Solids

Calculate volume for boxes, cylinders, cones, spherical caps and other solids, with cubic units, litres and US gallons.

Example: 1,250.50. Use a period for decimals.

Result

Enter values and select Calculate.

How is this calculated?

Convert lengths to a common unit, apply the selected shape formula, then convert the result using cubic units.

Worked example: Find the geometric capacity of a rectangular tank

Inside measurements of 2 m × 1.5 m × 0.5 m give a capacity of 1.5 m³, or 1,500 litres. The actual fill limit may be lower.

Method and limits

Capsule length excludes both round ends. Ellipsoid lengths are semi-axes. For a cap provide any two measurements and use the short or tall solution appropriate for your shape.

How to use this calculator

  1. Choose the shape whose interior or material you are measuring. Set the unit for each length, and enter heights perpendicular to the base.
  2. Choose a cubic output unit, then compare it with the capacity in litres or US gallons. For a spherical cap, enter exactly two of base radius, sphere radius and height.
Spherical cap cross-section, not to scale: cap height runs straight from the cut to the top of the sphere. Base radius runs from the center of the cut face to its edge; sphere radius starts at the center of the sphere.

Estimate a tank’s internal capacity

Internal dimensions of 2 m by 1.5 m by 0.5 m give 1.5 m³, which is 1,500 litres. Use inside measurements if the walls are thick.

Capacity versus the amount of material

Use interior dimensions for the amount a tank can hold, and exterior dimensions for space it occupies. For straight tube material, set both diameters and choose Tube wall; the answer excludes the hollow core.

Recognize the radius and the straight section

Measure a cylinder’s radius from its center to the wall: it is half the full width. A capsule is a cylinder between two rounded ends. Enter only the straight portion as the middle length, not the total tip-to-tip length.

Interpreting cubic units

Length conversion factors are cubed when applied to volume: one cubic foot is 12 × 12 × 12, or 1,728 cubic inches. Litres measure the same volume on a different scale; 1 m³ equals 1,000 litres.

Frequently asked questions

Does a litre mean the same volume as a kilogram?
No. A litre measures volume and a kilogram measures mass. Conversion to mass requires the material density.
Can I use the full width of an ellipsoid?
Use its semi-axis lengths from center to edge, so halve each full width. The result is for a full ellipsoid.
Which gallon is displayed?
The output uses US liquid gallons. It is not an imperial-gallon conversion.
What if the shape is partly filled?
Use dimensions for the filled portion only if it still matches one of the available shapes. The full-tank output does not account for a safe fill line, tilt or unusable volume.

Common mistakes and limits

Sources & methodology

Related calculators