COC

Volume Calculator – Cube, Sphere, Cylinder, Cone & More | Free Tool
Free Geometry Tool

Volume Calculator

Volume is the amount of three-dimensional space a solid object occupies, and getting it right matters whenever you're pouring concrete, sizing a water tank, filling out a shipping label, or finishing geometry homework. This calculator supports nine common 3D shapes — cube, rectangular prism, cylinder, sphere, cone, square pyramid, triangular prism, hemisphere and ellipsoid — so students, teachers, engineers, architects, builders, manufacturers, logistics professionals and DIY users can all find exactly the formula they need. Beyond volume, the calculator also returns surface area, base area, lateral or curved surface area, slant height and space diagonal where applicable, all updated instantly as you type.

Volume Calculator

The illustration updates as you change shape and dimensions.

What Is Volume?

The geometry behind every 3D measurement.

Volume is the measure of how much three-dimensional space a solid object occupies, or equivalently, how much a hollow object can hold inside it. Unlike length, which is a single dimension, or area, which combines two dimensions, volume is built from three linear measurements multiplied together, which is why every volume calculation is ultimately rooted in geometry. Whether you're calculating the capacity of a water tank, the amount of concrete needed for a foundation, or the space inside a shipping carton, you are working with volume.

It helps to clearly separate area from volume, since the two are frequently confused. Area describes the size of a flat, two-dimensional surface — the floor of a room, the face of a box, or the cross-section of a pipe — and is always expressed in square units such as square meters or square feet. Volume, on the other hand, describes the three-dimensional space enclosed by a solid, and is always expressed in cubic units such as cubic meters or cubic feet. A square meter tells you how much floor a tile covers; a cubic meter tells you how much air fills a room from floor to ceiling.

The reason volume is always measured in cubic units comes directly from the mathematics behind it. Every volume formula multiplies three linear dimensions together — length, width and height, or radius and height, or some combination depending on the shape — and multiplying three units of the same kind together produces a unit raised to the third power. A centimeter multiplied by a centimeter multiplied by a centimeter becomes a cubic centimeter, not three separate centimeters. This is a common stumbling block for students first learning geometry, but once understood, it becomes intuitive: volume is "space," and space requires three dimensions to describe.

Metric and imperial systems both handle volume, but they scale very differently. In the metric system, volume units like cubic millimeters, cubic centimeters and cubic meters scale by powers of ten, and liquid volume is conveniently linked to solid volume through the liter, where one cubic decimeter equals exactly one liter. In the imperial system, cubic inches, cubic feet and cubic yards do not scale as neatly, and liquid capacity is tracked through a separate system of fluid ounces, pints, quarts and gallons that doesn't translate directly from cubic measurements without a conversion factor. This is one of the most common sources of error in real-world volume work, particularly in construction and shipping, where metric and imperial measurements often appear side by side.

In mathematics and geometry education, volume calculations are typically introduced shape by shape, starting with the cube and rectangular prism before progressing to cylinders, cones, spheres and pyramids. Each shape has a formula derived from its underlying geometry — for example, a cylinder's volume comes from multiplying the circular base area by its height, while a cone's volume is exactly one-third of a cylinder with the same base and height. Understanding why these formulas work, rather than simply memorizing them, builds the spatial reasoning skills that carry over into engineering, architecture and physics.

In engineering, volume calculations underpin everything from fluid dynamics and material stress analysis to the sizing of mechanical components and pressure vessels. Engineers routinely calculate the volume of cylindrical tanks, spherical pressure vessels, conical hoppers and complex composite shapes to determine capacity, weight, and material requirements before a single physical prototype is built.

In architecture, volume calculations determine how much enclosed space a building provides, which directly affects heating and cooling requirements, ventilation system sizing, and compliance with building codes that often specify minimum air volume per occupant. Architects also use volume to estimate material quantities for poured elements like concrete columns, footings and slabs.

Construction planning depends heavily on accurate volume estimation. Concrete is ordered by the cubic meter or cubic yard, excavation is measured in cubic units to estimate how much soil must be removed and trucked away, and fill material for grading is calculated the same way. An error in volume calculation on a construction site can mean ordering far too much or too little material, leading to costly delays or waste.

Manufacturing relies on volume calculations to determine material usage for molded or cast parts, the capacity of mixing vessels and storage tanks, and the amount of raw material — plastic, metal, or liquid — needed to produce a given quantity of finished product. Even injection molding processes depend on precise volume calculations to ensure each mold cavity is filled correctly without overflow or shortage.

Packaging and shipping industries use volume constantly to determine carton sizing, optimize pallet loading, and calculate dimensional weight, which many carriers use to price shipments based on the space a package occupies rather than its actual physical weight. Minimizing wasted volume inside a shipping carton directly reduces freight costs at scale.

It's also worth distinguishing liquid capacity from solid volume, even though the underlying mathematics is identical. Solid volume describes the space occupied by a physical object, like a block of wood or a metal casting. Liquid capacity describes how much fluid a container can hold, like a water tank or a fuel drum. The geometric formulas are exactly the same in both cases — what changes is simply whether you're measuring a solid shape or the empty space available for liquid inside a container.

Finally, choosing the correct shape for your calculation is the single most important step in getting an accurate result. A water tank might genuinely be a cylinder, but a swimming pool with sloped sides might better approximate a more complex composite shape. A grain silo might combine a cylinder with a cone. Always start by identifying which of the common geometric shapes — or combination of shapes — most closely matches the real object you're measuring, since even small mismatches in shape selection can produce significantly inaccurate volume results.

How This Calculator Works

From shape selection to instant results.

1

Choose a Shape

Select from nine common 3D shapes — cube, rectangular prism, cylinder, sphere, cone, square pyramid, triangular prism, hemisphere or ellipsoid.

2

Enter Dimensions

Only the measurements required for your chosen shape are shown, so you never have to guess which fields apply.

3

Automatic Calculations

The calculator instantly applies the correct standard geometric formula to compute volume and any related measurements.

4

Review Results

Use the results directly for education, engineering, construction, logistics and manufacturing projects.

Volume Formulas for Every Shape

Each formula explained with a simple example.

Cube

Volume = Side³

Side = 4 cm → Volume = 4³ = 64 cm³

Rectangular Prism

Volume = L × W × H

4×3×2 = 24 cm³

Cylinder

Volume = πr²h

r=3, h=5 → π×9×5 ≈ 141.37 cm³

Sphere

Volume = (4/3)πr³

r=3 → (4/3)π×27 ≈ 113.10 cm³

Cone

Volume = (1/3)πr²h

r=3, h=6 → (1/3)π×9×6 ≈ 56.55 cm³

Square Pyramid

Volume = (Base² × H) ÷ 3

Base=4, H=6 → (16×6)/3 = 32 cm³

Triangular Prism

Volume = (½ Bt × Ht) × L

Bt=4, Ht=3, L=8 → (0.5×4×3)×8 = 48 cm³

Hemisphere

Volume = (2/3)πr³

r=3 → (2/3)π×27 ≈ 56.55 cm³

Ellipsoid

Volume = (4/3)πabc

a=3,b=4,c=5 → (4/3)π×60 ≈ 251.33 cm³

Worked Examples

Step-by-step calculations for five common shapes.

Example 1 — Cube, Side = 5 cm

Volume = 5³ = 125 cm³ Surface Area = 6 × 5² = 150 cm²

This is the basic case used to introduce volume in geometry classrooms, since all six faces and all three dimensions are identical.

Example 2 — Cylinder, Radius = 5 cm, Height = 10 cm

Volume = π × 5² × 10 = π × 250 ≈ 785.40 cm³ Base Area = π × 5² ≈ 78.54 cm² Surface Area = 2π × 5 × (5+10) = 2π × 75 ≈ 471.24 cm²

These proportions are typical of a storage drum or pipe section, where base area helps determine footprint and surface area helps estimate material coating.

Example 3 — Sphere, Radius = 6 cm

Volume = (4/3)π × 6³ = (4/3)π × 216 ≈ 904.78 cm³ Surface Area = 4π × 6² = 4π × 36 ≈ 452.39 cm²

Sphere calculations like this are common for tanks, balls and pressure vessels, where the surface area determines material needed to enclose the volume.

Example 4 — Rectangular Prism, L = 10 cm, W = 8 cm, H = 6 cm

Volume = 10 × 8 × 6 = 480 cm³ Surface Area = 2(10×8 + 10×6 + 8×6) = 2(80+60+48) = 376 cm² Space Diagonal = √(10²+8²+6²) = √200 ≈ 14.14 cm

The space diagonal confirms the longest item that could fit inside the box from corner to corner — useful when packing irregular contents.

Example 5 — Cone, Radius = 5 cm, Height = 12 cm

Slant Height = √(5²+12²) = √169 = 13 cm Volume = (1/3)π × 5² × 12 = (1/3)π × 300 ≈ 314.16 cm³ Surface Area = π × 5 × (5+13) = π × 90 ≈ 282.74 cm²

This 5-12-13 right triangle is a classic example that produces a clean slant height, making it a popular teaching example for the Pythagorean theorem applied to 3D shapes.

Quick Reference Tables

Formulas, units and sample results at a glance.

ShapeVolume Formula
CubeSide³
Rectangular PrismLength × Width × Height
Cylinderπr²h
Sphere(4/3)πr³
Cone(1/3)πr²h
Square Pyramid(Base² × Height) ÷ 3
Triangular Prism(½ × Base × Height) × Length
Hemisphere(2/3)πr³
Ellipsoid(4/3)πabc
LengthAreaVolume
mmmm²mm³
cmcm²cm³
m
inin²in³
ftft²ft³
ydyd²yd³
ShapeDimensionsVolume
CubeSide = 5125
Cuboid10 × 8 × 6480
Cylinderr = 5, h = 10785.40
Spherer = 6904.78
Coner = 5, h = 12314.16

Benefits of Using This Calculator

Why students and professionals rely on this tool.

📐

Supports Multiple 3D Shapes

Nine shapes covered in one tool, from simple cubes to ellipsoids — no need to hunt for separate calculators.

Instant Calculations

Results update the moment you click Calculate, with no manual formula entry required.

✔️

Accurate Geometric Formulas

Every result is computed using standard, verified mathematical formulas.

🌐

Multiple Unit Support

Switch between metric and imperial units without re-entering your measurements.

🎓

Education & Professional Use

Equally suited to classroom homework and real-world engineering or construction work.

📱

Mobile-Friendly

Fully responsive design works smoothly on phones, tablets and desktops.

Real-World Applications

Where volume calculations matter most.

Construction

Estimating poured concrete, footings and excavation volume before materials are ordered.

Civil Engineering

Sizing culverts, drainage pipes and retaining structures based on cylindrical and prism volumes.

Mechanical Engineering

Calculating component volumes for material weight, stress analysis and fluid displacement.

Architecture

Determining enclosed building volume for HVAC sizing and building code compliance.

Packaging

Optimizing carton and container dimensions to minimize wasted space and shipping cost.

Warehousing

Calculating storage capacity for racking systems and bulk containers.

Manufacturing

Determining raw material quantities needed for molded, cast or extruded parts.

Water Tanks & Containers

Calculating holding capacity for cylindrical, spherical and rectangular tanks.

Logistics

Calculating dimensional weight and optimizing pallet and container loading.

Education

Helping students visualize and verify geometry homework across multiple shapes.

3D Printing

Estimating filament or resin volume needed to print a given solid model.

Common Mistakes to Avoid

Get accurate results by avoiding these classic errors.

Confusing area with volume

Area measures a flat surface in square units; volume measures enclosed space in cubic units. They are never interchangeable.

Mixing measurement units

Combining feet and inches, or metric and imperial values, in the same calculation produces an incorrect result. Convert everything to one unit first.

Using incorrect dimensions

Entering the wrong dimension into the wrong field — such as swapping radius and height — changes the result significantly.

Forgetting cubic units

Volume results must always carry a cubed unit, such as cm³ or ft³, never a plain or squared unit.

Selecting the wrong shape

Approximating an irregular object with the wrong geometric shape produces a volume that doesn't reflect reality, even if the math itself is correct.

Rounding values too early

Rounding intermediate results before the final calculation compounds small errors. Keep full precision until the last step.

Using diameter instead of radius

Most volume formulas require radius, not diameter. Forgetting to divide diameter by two is one of the most common input errors.

Entering invalid measurements

Negative numbers, zero, or non-numeric input will always produce an invalid or meaningless result — always double-check your entries.

Frequently Asked Questions

Everything you need to know about volume calculations.

What is volume?

Volume is the amount of three-dimensional space a solid object occupies, measured in cubic units such as cm³, m³ or ft³.

How do you calculate volume?

Volume is calculated using a formula specific to the shape, such as side cubed for a cube or πr²h for a cylinder.

What is the difference between area and volume?

Area measures a two-dimensional surface in square units, while volume measures three-dimensional space in cubic units.

Why is volume measured in cubic units?

Because volume combines three linear dimensions multiplied together, the resulting unit is cubed, such as centimeters cubed.

How do I calculate the volume of a cube?

Cube up the length of one side: Volume = Side³.

How do I calculate the volume of a cylinder?

Multiply pi by the radius squared by the height: Volume = πr²h.

How do I calculate the volume of a sphere?

Volume of a sphere equals four-thirds multiplied by pi multiplied by the radius cubed: Volume = (4/3)πr³.

What is the formula for the volume of a cone?

A cone's volume is one-third of a cylinder with the same base and height: Volume = (1/3)πr²h.

What is a rectangular prism?

A rectangular prism, or cuboid, is a six-faced solid where every angle is 90 degrees, with volume calculated as Length × Width × Height.

What units are used for volume?

Common units include cubic millimeters, cubic centimeters, cubic meters, cubic inches, cubic feet and cubic yards.

Can I calculate volume in feet and inches?

Yes. This calculator supports millimeters, centimeters, meters, inches, feet and yards, applying the correct cubic unit automatically.

What industries use volume calculations?

Construction, civil and mechanical engineering, architecture, packaging, warehousing, manufacturing, logistics and education all rely on volume calculations regularly.

Is this calculator accurate?

Yes. It uses exact standard geometric formulas, so results are as accurate as the dimensions you enter.

Can students use this calculator?

Yes. It's designed to help students check geometry homework and visualize results with the included shape illustration.

Is this calculator free?

Yes, this Volume Calculator is completely free to use with no signup required.

Ready to Calculate Volume Instantly?

Calculate the volume of cubes, cylinders, spheres, cones, prisms, pyramids and other 3D shapes accurately for school, engineering, construction, manufacturing, logistics and everyday projects.