Volume from dimensions
A rectangular prism uses three edges. Two meters by three meters by four meters is 24 cubic meters. Because a cubic meter is 1,000 liters, that prism is 24,000 L.
A cube that is 1 cm on each edge is 1 cubic centimeter. That is 0.000001 cubic meters and 0.001 L, which is 1 mL. A cube that is 1 foot on each edge is 1 cubic foot. One foot is 0.3048 m, so one cubic foot is exactly 0.028316846592 cubic meters.
Changing the length unit scales the volume by the cube of the conversion, not by the conversion itself. Two hundred centimeters is two meters, and a 200 cm cube has the same volume as a 2 m cube.
Cylinder, sphere, and cone
The cylinder formula is π times radius squared times height. A radius of 1 m and a height of 2 m is about 6.28318530718 cubic meters.
The sphere formula is 4/3 times π times radius cubed. A radius of 1 m is about 4.18879020479 cubic meters.
The cone formula is 1/3 times π times radius squared times height. A radius of 1 m and a height of 3 m is about 3.14159265359 cubic meters.
The mathematical volume of a cylinder, sphere, or cone is a rational coefficient times π. Those readings use the same 50-digit approximation of π as the area calculator: 3.14159265358979323846264338327950288419716939937510. They are rounded half up to 11 decimal places, so the displayed decimal is approximate. OpenStax Prealgebra states these solid-volume formulas. A typed zero for any required dimension makes the volume zero.
Equivalent measures
Each result includes the selected unit cubed, cubic meters, liters, cubic feet, and U.S. liquid gallons. A U.S. liquid gallon is 3.785411784 L. It is not an imperial gallon. The length factors follow NIST SP 811.
An exact prism volume keeps a terminating decimal of up to 12 places. A π volume is labeled approximate. A nonzero volume that would otherwise display as 0 is shown in scientific notation.
Dimensions run from 0 through 1,000,000, with at most four decimal places. The page shows only the fields the selected shape uses.
A known volume is a different question
If you already know a volume and want another unit, use the unit converter. If you need bags of concrete for a pour, the concrete calculator is a materials estimate, not this geometric volume. This page does not duplicate that estimating workflow.
Frequently asked questions
Is the cylinder result exact?
The mathematical result is a rational coefficient times π. The displayed
decimal is approximate because it uses a 50-digit approximation of π and
rounds half up. The rectangular prism result is exact because its formula does
not use π.
Why is one cubic centimeter not zero cubic meters?
One cubic centimeter is 0.000001 cubic meters. The page keeps that decimal
instead of rounding it to 0.
Sources & review
- Prealgebra 2e, 9.6 Solve Geometry Applications: Volume and Surface Area — OpenStax
- NIST Special Publication 811, Guide for the Use of the International System of Units — NIST
Last reviewed: . The formula is reproduced above so you can check the math independently.
Geometric volume from dimensions. Not a unit conversion of a known volume, and not a concrete, paint, or flooring estimate.