Volume Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Pick a shape, enter its dimensions in one unit, and get the volume in cubic units, liters and gallons.
Result
Volume (cubic units)
Volume (liters)
- Volume (US gallons)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Shape: choose one of the 7 options in the list.
- Unit of the dimensions: choose Inches, Feet, Centimeters or Meters.
- Dimension A: side, length or radius: enter 0 or more.
- Dimension B: width or height: enter 0 or more.
- Dimension C: height (box only): enter 0 or more.
- Read the result: Volume (cubic units); the panel also shows Volume (liters) and Volume (US gallons).
How this calculator works
Cube a³; box length × width × height; cylinder π r² h; sphere 4/3 π r³; cone π r² h ÷ 3; square pyramid base² × h ÷ 3; hemisphere 2/3 π r³.
Conversions are exact definitions: 1 in³ = 0.016387064 L, 1 ft³ = 28.316846592 L, 1,000 cm³ = 1 L, 1 m³ = 1,000 L, and 1 US gallon = 3.785411784 L (231 in³).
Worked example
| Shape | Rectangular box (A × B × C) |
|---|---|
| Unit of the dimensions | Feet |
| Dimension A: side, length or radius | 10 |
| Dimension B: width or height | 8 |
| Dimension C: height (box only) | 4 |
| Volume (cubic units) | 320 |
|---|---|
| Volume (liters) | 9,061.3909 |
| Volume (US gallons) | 2,393.7662 |
Frequently asked questions
How do you calculate volume?
Multiply length × width × height for a box. Round shapes use π: a cylinder is π × radius² × height.
How many gallons are in a cubic foot?
About 7.48 US gallons.
What is the difference between volume and capacity?
Volume is the space a shape takes up; capacity is how much it holds. For a thin-walled container they are about the same.