📦 Volume Calculator — Free Online
Free volume calculator: box, cylinder, sphere, cone, tank and pool volume in m³, ft³, litres and US gallons, with formulas and worked examples.
Calculate box, cylinder, sphere and cone volume for tanks, pools, pipes, rooms and packages. Pick meters, centimeters, feet or inches — get cubic meters or feet, liters and US gallons, with every formula shown.
How to use volume calculator
- Pick the shape and input unit — meters, centimeters, feet or inches.
- Enter the dimensions: length × width × height for a box, or radius + height for a cylinder or cone.
- Read the volume in cubic units, liters and US gallons.
Volume formulas for every shape
Volume is the space inside a three-dimensional object. It is measured in cubic units — cubic metres (m³), cubic feet (ft³), cubic centimetres (cm³) — and liquid capacity is usually shown in litres or US gallons. Multiply all dimensions in the same unit before calculating.
| Shape | Formula | Worked example |
|---|---|---|
| Cube | V = a³ | 2 m side → 8 m³ = 8,000 L |
| Box / rectangular tank | V = l × w × h | 1.5 × 1 × 0.8 m → 1.2 m³ = 1,200 L |
| Cylinder | V = π × r² × h | r 1 m, h 2 m → 6.283 m³ = 6,283 L |
| Sphere | V = 4/3 × π × r³ | r 0.5 m → 0.524 m³ = 524 L |
| Cone | V = 1/3 × π × r² × h | r 0.5 m, h 1.5 m → 0.393 m³ = 393 L |
| Rectangular pool | V = l × w × average depth | 8 × 4 × 1.5 m → 48 m³ = 48,000 L |
| Round pool | V = π × r² × depth | r 3 m, depth 1.2 m → 33.93 m³ = 33,929 L |
Use inside dimensions for tanks and pools. Wall thickness and freeboard are not part of the stored volume.
Worked examples in litres and US gallons
These are the four calculations people ask about most often. Every result below is what the calculator returns when you enter the same dimensions.
- Rectangular tank: 1.5 m × 1 m × 0.8 m = 1.2 m³ = 1,200 litres = 317.0 US gallons.
- Cylinder: radius 0.5 m and height 1.2 m = π × 0.25 × 1.2 = 0.942 m³ = 942 litres = 249.0 US gallons.
- Round tank: 2 m diameter (1 m radius) with 2 m water depth = 6.283 m³ = 6,283 litres = 1,660 US gallons.
- Swimming pool: 8 m × 4 m with 1.5 m average depth = 48 m³ = 48,000 litres = 12,680 US gallons. For a pool with a deep end, average the shallow and deep depths first: (1.2 + 1.8) ÷ 2 = 1.5 m.
Volume unit conversions
The calculator converts as it goes, but these exact factors are handy for quick checks. A US gallon is not the same as an imperial gallon — 1 US gallon = 3.78541 L, while 1 imperial gallon = 4.54609 L. The tool reports US gallons.
| Unit | Equivalent |
|---|---|
| 1 cubic metre (m³) | 1,000 L = 264.172 US gal = 35.3147 ft³ |
| 1 litre (L) | 0.001 m³ = 0.264172 US gal = 61.0237 in³ |
| 1 cubic foot (ft³) | 28.3168 L = 7.48052 US gal |
| 1 US gallon | 3.78541 L = 0.133681 ft³ = 231 in³ |
| 1 cubic centimetre (cm³) | 1 mL = 0.001 L |
| 1 cubic inch (in³) | 16.3871 cm³ = 0.0163871 L |
Tank volume vs usable capacity
The geometric volume is the maximum the container could hold. Real capacity is lower: tanks are rarely filled to the brim, aquariums lose volume to substrate and decorations, and fuel tanks keep an air gap for expansion. A 1,200 L tank filled to 90% holds 1,080 L.
For aquariums, subtract roughly 10% for gravel, rock and equipment before choosing a filter or heater. For fuel and water tanks, use the manufacturer’s usable-capacity figure rather than the nominal volume.
Measuring irregular containers
Not every tank is a clean box or cylinder. For an irregular container, use the displacement method: fill it with a measured amount of water, or weigh the water added (1 L of water weighs 1 kg). The volume of water needed to fill the container is its capacity.
For a composite shape, split it into simple parts, calculate each one, then add the results. A capsule, for example, is a cylinder plus two hemispheres. Convert every measurement to the same unit before adding.
Area calculatorUnit converterLength converterWeight converterTemperature converter
Features
- Box, cylinder, sphere and cone volumes
- Meters, centimeters, feet or inches in
- Cubic units, liters + US gallons out
- Every formula shown (V = πr²h, 4/3πr³)
- Tank, pool, pipe and room capacity
- Instant local math, no signup
Privacy
This tool runs entirely in your browser. Your files and text stay on your device — nothing is uploaded, and nothing is sent to analytics. Privacy policy
How this tool is tested
This page is the real tool, not a screenshot: it runs locally in your browser and is verified in current Chrome, Edge, Firefox, and Safari before each release. Your input stays on your device for supported tasks.
By Mccowns.com team · Reviewed
Frequently asked questions
How do you calculate volume?
Volume is the space inside a 3D shape. Box: length × width × height. Cylinder: π × r² × height. Sphere: 4/3 × π × r³. Cone: 1/3 × π × r² × height. Enter your dimensions above and the calculator returns cubic units, liters and US gallons.
How do I calculate the volume of a cylinder?
Volume = π × r² × height. Enter the radius and height above; the calculator shows cubic units, liters and US gallons. Example: radius 1 m, height 2 m → 6.283 m³ = 6,283 L = 1,660 US gallons.
What is the volume formula for a box?
Length × width × height. A 1.5 m × 1 m × 0.8 m tank holds 1.2 m³ = 1,200 L = 317 US gallons. Boxes, pools and rectangular tanks all use this formula.
What is the volume of a sphere?
V = 4/3 × π × r³. A sphere with a 1 m radius has a volume of 4.189 m³ = 4,189 L = 1,107 US gallons. Enter the radius in sphere mode to get the same result.
How do I convert cubic meters to liters?
Multiply by 1,000: 1 m³ = 1,000 L. A 2 m³ tank holds 2,000 liters. The calculator outputs liters and US gallons next to every cubic result, so no manual conversion is needed.
How many liters are in a cubic foot?
1 cubic foot = 28.3168 liters = 7.4805 US gallons. Switch the input unit to feet to see cubic feet, liters and US gallons at the same time.
How do I calculate tank volume?
Rectangular tank: length × width × height. Round tank: π × r² × height. A 1.5 × 1 × 0.8 m tank holds 1.2 m³ = 1,200 L; a round tank with a 1 m radius and 2 m height holds 6.283 m³ = 6,283 L.
How do I calculate pool volume?
Rectangular pool: length × width × average depth. An 8 m × 4 m pool with a 1.5 m average depth holds 48 m³ = 48,000 L = 12,680 US gallons. For a round pool, use the cylinder formula with the radius and depth.
Cylinder: radius or diameter?
Enter the radius — halve the diameter first. Volume = π × r² × height. For a 2 m diameter tank, enter a 1 m radius.
Is the volume calculator free and private?
Yes. It is free, needs no signup, and runs entirely in your browser — your dimensions are never uploaded.