Skip to content
OmniCalcX

Volume Calculator

Calculate the volume of common 3D shapes with support for multiple units.

OmnicalcX
Volume
240.00
Formula
V = l × w × h
cm³
240,000,000
liters
240,000
gallons
63,401.3224
ft³
8,475.534

A rectangular prism (cuboid) has six rectangular faces with opposite faces equal and parallel.


How to Use This Volume Calculator

This volume calculator computes the volume of six common three-dimensional shapes. Select a shape, choose your preferred length and volume units, enter the required dimensions, and view the result instantly along with conversions to other units.

Steps:

  1. Select the shape (Cube, Rectangular Prism, Sphere, Cylinder, Cone, or Pyramid)
  2. Choose the length unit for your inputs (cm, m, ft, or in)
  3. Choose the volume unit for the result (cm³, m³, liters, gallons, or ft³)
  4. Enter the required dimensions for your selected shape
  5. View the calculated volume, formula used, and conversions to other units

Volume Formulas

ShapeFormulaRequired Dimensions
CubeV = s³Side length (s)
Rectangular PrismV = l × w × hLength (l), Width (w), Height (h)
SphereV = (4/3) × π × r³Radius (r)
CylinderV = π × r² × hRadius (r), Height (h)
ConeV = (1/3) × π × r² × hBase radius (r), Height (h)
PyramidV = (1/3) × l × w × hBase length (l), Base width (w), Height (h)

Key insight:The volume of a cone is exactly 1/3 the volume of a cylinder with the same base and height. Similarly, a pyramid's volume is 1/3 that of a rectangular prism with the same base and height. This is a fundamental result in geometry.

Volume Units and Conversions

Volume measures three-dimensional space and is expressed in cubic units or specialized units like liters and gallons. This calculator supports five common volume units and shows conversions automatically.

FromToMultiply By
1 m³cm³1,000,000
1 m³liters1,000
1 m³US gallons264.172
1 m³ft³35.3147
1 ft³US gallons7.48052
1 US gallonliters3.78541
1 litercm³ (mL)1,000

Real-World Applications

  • Construction: Calculating the amount of concrete needed for a foundation or the volume of fill material for a trench.
  • Cooking: Determining the capacity of pots, pans, and containers, especially when following recipes from different measurement systems.
  • Swimming pools: Estimating water volume for chemical treatment and heating calculations.
  • Shipping and storage: Calculating container capacity and warehouse space utilization for logistics planning.
  • Science and engineering: Computing displacement, fluid dynamics, and material quantities in manufacturing processes.
  • Aquariums and tanks: Determining water volume for fish stocking and filtration requirements.

Frequently Asked Questions

What is the difference between volume and capacity?

Volume is the total three-dimensional space occupied by an object or enclosed by a container. Capacity refers to how much a container can hold, typically measured in liters or gallons. While related, capacity is usually slightly less than volume because container walls take up space.

How do I calculate the volume of an irregular object?

For irregular objects, you can use the water displacement method: submerge the object in water and measure the volume of water displaced. Archimedes famously used this method. For mathematically defined irregular shapes, integral calculus can compute the volume.

Are US gallons and imperial gallons the same?

No. A US gallon equals 3.78541 liters, while an imperial (UK) gallon equals 4.54609 liters. The imperial gallon is about 20% larger. This calculator uses US gallons.

How many liters are in a cubic meter?

There are exactly 1,000 liters in one cubic meter. This is because a liter is defined as exactly 1 cubic decimeter (1 dm³), and there are 1,000 cubic decimeters in a cubic meter.

Why do cones and pyramids have a 1/3 factor in their formulas?

This comes from calculus (integration). When you integrate the cross-sectional area from the base to the apex, the result is exactly 1/3 of the enclosing prism or cylinder. A visual way to understand this: it takes exactly 3 cones of the same base and height to fill the corresponding cylinder.

Can I use different units for different dimensions?

No. All length dimensions must use the same unit. If your radius is in feet and height in inches, convert one of them first. For example, convert inches to feet by dividing by 12. The calculator ensures all inputs are in the same unit through the unit selector.