Calculators.Life Calculator
Math

Online Volume Calculator

Input Parameters

Scenarios
Length for rectangular prism, side for cube, radius for sphere, cylinder, and cone.
Width (used for rectangular prism only).
Height (used for rectangular prism, cylinder, and cone).

Computed Results

Volume (ft³)
24
Volume (m³)0.6796
Volume (Liters)679.6
Volume (US Gallons)179.53
Volume (in³)41,472

This online volume calculator determines the three-dimensional space enclosed by various geometric shapes, including rectangular prisms, cubes, cylinders, spheres, and cones. By entering your dimensions, you can instantly find the total capacity in cubic feet, cubic meters, liters, and US gallons.

Example Volume Calculations

To understand how different dimensions and shapes impact total capacity, consider these verified examples based on common scenarios.

Standard Rectangular Prism

If you have a rectangular box with a length of 2 feet, a width of 3 feet, and a height of 4 feet, the calculator determines the total volume is 24 cubic feet. This translates to 0.6796 cubic meters or 179.53 US gallons.

Cylinder Water Tank

For a cylindrical water tank with a radius of 2.5 feet and a height of 6 feet, the total volume is 117.81 cubic feet. In metric units, this equals 3.336 cubic meters, which holds exactly 3,336 liters or 881.28 US gallons.

Small Cube in Centimeters

If you are measuring a small cube where each side is 10 centimeters, the volume is exactly 1 liter. This is equivalent to 0.001 cubic meters or 61.02 cubic inches.

How Volume is Calculated

The calculator first converts all entered dimensions into a standard unit (meters) to ensure consistency, especially if mixed units are used. It then applies the specific geometric formula for the selected shape to find the volume in cubic meters before converting it to other units.

Here are the core formulas used for each shape:

Rectangular Prism

Volume = Length × Width × Height

Cube

Volume = Side³

Cylinder

Volume = π × Radius² × Height

Sphere

Volume = (4 ÷ 3) × π × Radius³

Cone

Volume = (1 ÷ 3) × π × Radius² × Height

How to Use the Volume Calculator

Follow these steps to determine the volume of your object or space:

  1. Select the Shape: Choose the geometric shape that best matches your object (e.g., rectangular prism, cylinder, sphere).
  2. Enter the Dimensions: Input the required measurements. For a rectangular prism, you will need length, width, and height. For a cylinder or cone, enter the radius in the length field and the height.
  3. Choose Your Units: Select the appropriate unit of measurement (feet, inches, meters, centimeters, etc.) for each dimension. The calculator supports mixed units.
  4. Review the Results: The calculator instantly displays the total volume across multiple standard units, including cubic feet, cubic meters, liters, and US gallons.

Calculator Inputs and Outputs

The table below outlines the data you can enter and the resulting measurements provided by the calculator.

Input / OutputDescription
ShapeThe geometric form of the object being measured.
Length / Side / RadiusThe primary dimension. Used as length for prisms, side for cubes, and radius for spheres, cylinders, and cones.
WidthThe secondary dimension, required only for rectangular prisms.
HeightThe vertical dimension, required for rectangular prisms, cylinders, and cones.
Volume (ft³)The total three-dimensional space expressed in cubic feet.
Volume (m³)The total three-dimensional space expressed in cubic meters.
Volume (Liters)The liquid capacity equivalent in liters.
Volume (US Gallons)The liquid capacity equivalent in US gallons.

Practical Applications for Volume Calculation

Calculating volume is a fundamental step in various planning and estimation tasks. Common applications include:

Frequently Asked Questions

Can I use different units for length, width, and height?

Yes. The calculator allows you to select different units for each dimension. It automatically converts all inputs into a standardized metric format before calculating the final volume.

How do I calculate the volume of a cylinder?

To find the volume of a cylinder, multiply pi (π) by the square of the radius, and then multiply that result by the height of the cylinder.

What dimension do I enter for a sphere?

For a sphere, you only need to enter the radius in the 'Length / Side / Radius' field. The width and height fields are not used for spherical calculations.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.