Volume Calculator
Find the volume and surface area of a cube, box, cylinder, cone, sphere, hemisphere, pyramid, capsule, ellipsoid or pipe, and see the volume in litres, gallons and more.
Reviewed 23 November 2026 · Free · No account needed
How to use
- Pick a shape from the list, such as box, cylinder, cone or sphere.
- Choose the length unit, such as metres, feet or inches, and use it for every side.
- Fill in every box. The volume and the surface area appear at once, with the formula above the boxes.
- Read the volume in litres and US gallons, or use the table for cubic feet, cubic yards, UK gallons and more.
Example
Input: Cylinder, radius 3 m, height 10 m
Output: Volume 282.7433 m³, or 282,743 litres
How it works
Each solid has its own formula for volume and, where a simple one exists, for surface area. The tool applies it to your values in the length unit you chose, then converts the volume to cubic metres and on to the other units in the table.
Cube: side³. Box: length × width × height. Cylinder: π × radius² × height. Cone: π × radius² × height ÷ 3. Sphere: 4 ÷ 3 × π × radius³. Hemisphere: 2 ÷ 3 × π × radius³. Pyramid: base length × base width × height ÷ 3. Capsule: π × radius² × height + 4 ÷ 3 × π × radius³. Ellipsoid: 4 ÷ 3 × π × a × b × c. Pipe: π × (outer² − inner²) × length. One cubic metre is 1,000 litres.
A cylinder with radius 3 m and height 10 m has a volume of π × 9 × 10 = 282.7433 m³, which is 282,743 litres or 74,693 US gallons. Its surface area is 2 × π × 3 × (3 + 10) = 245.0442 m².
Limits and edge cases
- Every value must be greater than zero, and all lengths must use the same unit.
- Surface area counts every outer face. For a pipe it includes the inside wall and the two ends.
- An ellipsoid has no simple surface area formula, so none is shown for it.
- Litres and gallons say how much the shape would hold if it were a hollow container filled to the top.
- A cone holds exactly one third of the cylinder with the same base and height.
- A pipe needs an outer radius larger than the inner radius, or the tool says so.
- A US gallon is 3.785 litres and a UK gallon is 4.546 litres, so both are listed in the table.
- Each shape keeps the numbers you typed, so you can switch shapes and come back without retyping.
Privacy
Everything is calculated in this browser tab. The numbers you enter are never sent to a server or stored.
About this page
Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.
Guides that use Volume Calculator
Related tools
Questions about Volume Calculator
How do I find the volume of a cylinder?
Multiply π by the radius squared and by the height. A cylinder with a radius of 3 and a height of 10 holds π × 9 × 10 = 282.74 cubic units.
How do I find the volume of a sphere?
Take four thirds of π times the radius cubed. A sphere with a radius of 5 has a volume of 4 ÷ 3 × π × 125 = 523.6 cubic units.
How many litres are in a cubic metre?
There are 1,000 litres in a cubic metre. One litre is 1,000 cubic centimetres, so a box 10 cm on each side holds exactly one litre.
How many gallons are in a cubic foot?
A cubic foot holds about 7.48 US gallons, or 28.32 litres. UK gallons are bigger, so a cubic foot is about 6.23 of them.
Why is a cone one third of a cylinder?
A cone with the same base and height as a cylinder fills exactly one third of it. The same applies to a pyramid and the box with the same base and height.
Is anything uploaded?
No. Everything is calculated in your browser and nothing is sent anywhere.