Volume Calculator

📦 Free Geometry Tool

Volume
Calculator

Calculate the volume of cubes, cylinders, spheres, cones, and more instantly — with step-by-step solutions, unit conversions, and interactive shape diagrams.

⚡ Fast Geometry Calculations
📚 Student & Engineering Friendly
📐 Accurate 3D Measurements
Select 3D shape
V = a³

Volume Calculator: Calculate 3D Shape Volume Instantly

A volume calculator is one of the most practical mathematical tools available to students, engineers, architects, scientists, and everyday problem-solvers. Whether you’re calculating how much water a tank holds, determining the material needed for a construction project, solving a geometry homework problem, or figuring out the capacity of a container — knowing how to calculate volume quickly and accurately is an essential skill. This free online volume calculator handles eight common 3D shapes with step-by-step solutions and unit conversions built in.

📦 Most common volume formula: For a rectangular box (prism), V = Length × Width × Height. For a cylinder, V = π × r² × h. For a sphere, V = (4/3) × π × r³. Select your shape above for the exact formula and instant calculation.

What is Volume?

Volume is the measure of three-dimensional space occupied by an object or enclosed within a container. Unlike area (which measures two-dimensional space in square units), volume is measured in cubic units — cubic inches, cubic centimeters, cubic meters, and so on. Volume tells you how much a container can hold, how much material is needed to fill a space, or how much a solid object displaces.

Understanding volume is foundational to mathematics, physics, chemistry (where it governs concentration and reaction quantities), engineering (material estimation and structural calculations), medicine (dosage and body measurements), and countless everyday applications from cooking to construction.

Volume Formulas Explained

ShapeFormulaVariables
CubeV = a³a = side length
Rectangular PrismV = l × w × hl = length, w = width, h = height
CylinderV = π r² hr = radius, h = height
SphereV = (4/3) π r³r = radius
ConeV = (1/3) π r² hr = base radius, h = height
Square PyramidV = (1/3) a² ha = base side, h = height
Triangular PrismV = (1/2) b h_t × Lb = base, h_t = tri. height, L = length
EllipsoidV = (4/3) π a b ca, b, c = semi-axes

How to Calculate Cube Volume

A cube is the simplest 3D shape — all six faces are identical squares and all edges are equal length. Volume = a³ (side cubed). A cube with 5 cm sides: V = 5³ = 125 cm³. This simplicity makes the cube the foundation of all volume measurement — the “cubic centimeter” unit itself is defined as the volume of a 1 cm cube.

Cylinder and Sphere Volume

Cylinders appear everywhere — water tanks, pipes, cans, engine cylinders, grain silos. V = π r² h multiplies the circular base area (π r²) by the height. A cylinder with radius 4 cm and height 10 cm: V = π × 16 × 10 = 502.65 cm³.

Spheres are uniquely defined by a single measurement — the radius. V = (4/3)π r³. A sphere of radius 6 cm: V = (4/3) × π × 216 = 904.78 cm³. Notice how volume grows with the cube of the radius — doubling the radius increases volume by 8×, not 2×.

💡 Key insight: A sphere has the maximum volume for a given surface area of any 3D shape. This is why soap bubbles and water droplets form spheres — nature minimises surface area for a given volume.

Engineering and Construction Applications

🏗️

Concrete estimation

Calculate rectangular prism volume to determine cubic yards of concrete needed for foundations, slabs, and footings.

💧

Tank capacity

Cylinder volume tells you exactly how many gallons or liters a water tank, fuel tank, or storage vessel holds.

📦

Shipping and packaging

Rectangular prism volume determines shipping box capacity, warehouse space planning, and container loading calculations.

🏠

HVAC calculations

Room volume (rectangular prism) determines heating and cooling load requirements for accurate HVAC system sizing.

Volume vs Surface Area

Volume and surface area are often confused but measure fundamentally different things. Volume measures the interior space of a 3D shape (cubic units). Surface area measures the total area of all outer faces (square units). A 10 cm cube has volume = 1,000 cm³ but surface area = 600 cm². For a cylinder with r=4, h=10: volume = 502.65 cm³ but surface area = 351.86 cm².

The ratio of surface area to volume has profound practical implications: small cells have high SA:V ratios (efficient nutrient absorption), large animals have low SA:V ratios (better heat retention), and packaging designers optimise this ratio to minimise material cost.

Metric vs Imperial Volume Units

FromTo LitersTo Cubic FeetTo US Gallons
1 cubic meter (m³)1,000 L35.315 ft³264.17 gal
1 cubic foot (ft³)28.317 L17.481 gal
1 liter (L)10.0353 ft³0.2642 gal
1 cubic inch (in³)0.01639 L0.000579 ft³0.004329 gal

Related Tools

Frequently Asked Questions

What is a volume calculator?
A volume calculator is an online tool that computes the three-dimensional space inside a geometric shape using mathematical formulas. Enter the shape’s dimensions (length, width, height, radius, etc.) and the calculator instantly applies the correct formula — V = πr²h for cylinders, V = (4/3)πr³ for spheres, and so on. The calculator above handles 8 common 3D shapes with step-by-step solutions, unit conversions, and surface area calculations.
How do I calculate volume?
Select your shape, enter the required dimensions, and click Calculate Volume. Each shape has a specific formula — for a rectangular box: V = l × w × h. For a cylinder: V = π × r² × h. For a sphere: V = (4/3) × π × r³. The calculator applies the formula automatically, shows step-by-step working, and converts the result to liters, gallons, and other units.
What is the formula for cylinder volume?
Cylinder volume = π × r² × h, where r is the radius of the circular base and h is the height (or length) of the cylinder. This formula multiplies the area of the circular cross-section (π r²) by the cylinder’s length. Example: a cylinder with radius 5 cm and height 12 cm has volume = π × 25 × 12 = 942.48 cm³.
How do I calculate sphere volume?
Sphere volume = (4/3) × π × r³, where r is the radius. If you know the diameter, divide by 2 to get radius first. Example: sphere with radius 8 cm → V = (4/3) × π × 512 = 2,144.66 cm³. Note that volume scales with the cube of radius — a sphere twice as large in radius has 8× the volume.
What units are supported?
The calculator supports inches, feet, yards, centimeters, meters, and millimeters. All input dimensions must use the same unit. The result is shown in cubic units of your selection (e.g., cubic inches or cubic centimeters) and automatically converted to liters, US gallons, UK gallons, cubic feet, and cubic meters where applicable.
Can I convert cubic units?
Yes — enable the “Show unit conversions” toggle to see your volume result expressed in multiple units simultaneously. The calculator converts between cubic centimeters, cubic inches, cubic feet, cubic meters, liters, US gallons, UK gallons, and milliliters. This is especially useful for engineering (converting design dimensions to tank capacity in gallons) and cooking or science (converting cubic centimeters to milliliters).
What is the difference between area and volume?
Area measures two-dimensional space — the size of a flat surface — in square units (cm², ft², m²). Volume measures three-dimensional space — the interior of a solid object — in cubic units (cm³, ft³, m³). A square with 5 cm sides has area = 25 cm². A cube with 5 cm sides has volume = 125 cm³. Surface area is the total area of all faces of a 3D object, different from both area and volume.
How accurate is this calculator?
The calculator uses JavaScript’s native Math functions with double-precision floating-point accuracy (15–16 significant digits), and π is computed to maximum precision. Results are rounded to your selected decimal places (0–4). For all educational and most engineering purposes, this accuracy is excellent. For critical precision engineering calculations, verify with dedicated CAD or engineering software.
Can I calculate liquid volume?
Yes — after calculating the geometric volume, the calculator automatically converts to liters and US gallons. Since 1 liter = 1,000 cm³ = 61.024 in³, converting from cubic centimeters to liters simply divides by 1,000. For a cylinder tank in inches, the calculator converts cubic inches → liters → gallons. This is especially useful for calculating tank capacity, aquarium volume, and fluid storage.
Why is volume important in engineering?
Volume is fundamental to engineering because it determines material quantities (concrete, steel, earth), container capacities (tanks, vessels, pipes), structural load calculations (mass = volume × density), fluid flow rates, thermal performance, and cost estimation. Engineers calculate volume for everything from concrete foundation pours to fuel tank specifications to HVAC duct sizing. Accurate volume calculation directly impacts project cost, safety, and performance.

Calculate your shape volume now

Free volume calculator — 8 shapes, step-by-step solutions, unit conversions. No sign-up required.

📦 Calculate Volume ↑ 📐 Solve Geometry ↑