Volume Calculator - Sphere, Cube, Cylinder & 14 Shapes

Illustration of a free online volume calculator tool showing 3D geometric shapes like sphere, cube, cylinder, and cone with labeled dimensions, used to calculate volume, weight, and unit conversions instantly

 

V

Volume Calculator

14 shapes · unit conversion · weight, cost & more

Calculate the volume of 14 different shapes instantly

Pick a shape below, enter its dimensions in any unit, and get an instant result with step-by-step working, liter/gallon equivalents, and optional weight and cost estimates. Everything runs in your browser — nothing is uploaded anywhere.

Common Volume Units Reference Table

UnitIn LitersIn Cubic MetersIn Gallons (US)In Cubic Inches
1 Milliliter0.001 L0.000001 m³0.000264 gal0.061 in³
1 Cubic Inch0.0164 L0.0000164 m³0.00433 gal1 in³
1 Pint (US)0.473 L0.000473 m³0.125 gal28.875 in³
1 Quart (US)0.946 L0.000946 m³0.25 gal57.75 in³
1 Liter1 L0.001 m³0.264 gal61.024 in³
1 Gallon (US)3.785 L0.003785 m³1 gal231 in³
1 Cubic Foot28.317 L0.0283 m³7.48 gal1728 in³
1 Cubic Yard764.55 L0.7646 m³201.97 gal46656 in³
1 Cubic Meter1000 L1 m³264.17 gal61024 in³
1 Cubic Kilometer10¹² L10⁹ m³2.642×10¹¹ gal6.1×10¹³ in³

3D Rotation Preview

A simple spinning wireframe, purely visual — pick a shape to preview.

Cube
Cylinder (ends)
Sphere

Extra Tools & Converters

⚖️ Volume → Weight

💰 Cost Estimator

General reference only — not a professional quote.

📦 Shipping Box Fit Checker

🐠 Aquarium / Tank Water Calculator

🖨️ 3D Printing Filament Estimator

Rough estimate only — ignores infill % and printer settings.

🏊 Swimming Pool Volume

Chemical dosage varies by product — always follow the manufacturer's label, not a generic ratio.

🎨 Room Paint / Area Helper

💧 Percentage Fill Calculator

⚖️ Shape Comparison Tool

🔄 Reverse Solver

📐 Scale This Shape

➕ Composite Shape Calculator

Add up volumes from any calculations above.

📋 Multi-Shape Batch Calculator

One shape per line: sphere r=3 · cylinder r=2 h=5 · cube a=4

🎲 Random Dimension Generator

Share / Export

Understanding Volume: The Complete Guide to Measuring Three-Dimensional Space

Volume is one of the first mathematical ideas we run into outside a classroom, usually without realizing it. Filling a water bottle, figuring out how many boxes fit in a car trunk, or wondering whether a fish tank is big enough for a new pet — these are all volume problems in disguise. In simple terms, volume is the amount of three-dimensional space that an object or a container occupies or can hold. Where length measures a single direction and area measures a flat surface, volume adds a third dimension, which is why it's expressed in cubic units like cubic meters, cubic feet, or liters rather than square units.

Volume vs. Surface Area: Two Different Questions

People often mix up volume and surface area because both describe the "size" of a shape, but they answer very different questions. Surface area tells you how much material would be needed to cover the outside of an object — think of wrapping paper around a gift box. Volume tells you how much the object can hold or how much space it fills internally — think of how much sand could fit inside that same box. A tall, thin cylinder and a short, wide cylinder can have the exact same volume while having very different surface areas, and vice versa. If you also need to work with flat measurements or general math conversions alongside volume, the Ultimate Unit Converter Pro is useful for switching between area, length, and other unit types in the same project.

Where Volume Formulas Actually Come From

Every volume formula is really a shortcut for a much slower idea: slicing a shape into infinitely thin layers and adding them all up. For a cylinder, imagine stacking an enormous number of paper-thin circular discs on top of each other — each disc has an area of πr², and stacking "h" of them (h being the height) gives πr²h. A cone follows the same slicing logic, except each disc gets smaller as you move toward the tip, and the mathematics of that shrinkage is exactly why a cone's volume works out to one-third of a cylinder with the same base and height — not one-half, which is the most common guess people make. A sphere's formula, (4/3)πr³, comes from a similar slicing approach but in a more complex way since every cross-section is a circle whose radius keeps changing with position. You don't need calculus to use these formulas day-to-day, but understanding that they come from "adding up thin slices" makes it much easier to remember which formula belongs to which shape, and why doubling one dimension doesn't just double the volume.

Real-World Applications of Volume Calculations

Volume calculations show up constantly across very different fields: construction and engineering, where concrete and gravel are ordered by cubic meter or cubic yard; shipping and packaging, where freight is priced partly by the space it occupies rather than only its weight; cooking and food science, where recipes and batch sizes scale using volume ratios; laboratory work, where reagents and samples are measured precisely in milliliters and liters; 3D printing, where filament use starts with the object's raw volume; aquariums and swimming pools, where tank and pool volume drives both water capacity and chemical dosing; and interior work, where paint volume is calculated from a room's wall area.

How Unit Conversion Works for Volume — and Why It's Trickier Than Length

Converting a length is simple multiplication: 1 meter is always 100 centimeters, a straight linear relationship. Volume conversion isn't linear in the same way, because volume is a cubed quantity. Converting a length from meters to centimeters means multiplying by 100 — but converting a volume from cubic meters to cubic centimeters means multiplying by 100³, or 1,000,000. This is one of the most common sources of error in real-world volume work: applying a linear conversion factor to a cubic quantity, which throws the answer off by several orders of magnitude. The safest habit is to convert every linear dimension to your target unit first, and only then apply the volume formula — or use a calculator, like the shape tools above or a general-purpose tool such as the Scientific Calculator, that keeps the cubing consistent automatically.

Why Volume Scales With the Cube of Linear Dimensions

This is one of the more counterintuitive ideas in geometry: if you double every dimension of a 3D shape, the volume doesn't double — it increases by a factor of eight (2³). Triple the dimensions, and volume increases 27 times over. This scaling explains a lot of everyday surprises: why a slightly bigger moving box holds far more than it looks like it should, or why scaling up a mold or a 3D-printed part by "just a bit" can use far more material than expected. Any time you're resizing a shape, it's worth recalculating the volume directly rather than guessing proportionally from the linear change — the "scale this shape" tool above does exactly that.

Worked Examples for Every Shape

Formulas are easier to trust once you've seen them applied to a real situation. Below is one original worked example for each of the 14 shapes supported by the calculator above, showing the formula, the substituted numbers, and the final result.

Sphere

Amara is packing handmade bath bombs into gift boxes and rolls each one into a perfect sphere with a radius of 4 cm. To know how much mix she needs per bath bomb, she calculates:

volume = (4/3) × π × 4³ = 268.08 cm³

Cone

Tariq is filling paper party-hat cones with confetti for a birthday event. Each cone has a base radius of 3 inches and a height of 8 inches:

volume = (1/3) × π × 3² × 8 = 75.40 in³

Cube

Noor is designing a cube-shaped gift box with an edge length of 5 inches and needs to know how much tissue paper filling it will take:

volume = 5³ = 125 in³

Cylinder

Devon is setting up a cylindrical rain barrel with a base radius of 1.5 ft and a height of 4 ft to catch runoff from his roof:

volume = π × 1.5² × 4 = 28.27 ft³

Rectangular Tank

Priya is packing a moving box that measures 2 ft long, 1.5 ft wide, and 1 ft high, and wants to know how much it can hold before taping it shut:

volume = 2 × 1.5 × 1 = 3 ft³

Capsule

A rural water-supply team is installing a capsule-shaped storage tank with a cylindrical body of radius 1 m and height 3 m, capped by two hemispherical ends of the same radius:

volume = π × 1² × 3 + (4/3) × π × 1³ = 9.42 + 4.19 = 13.61 m³

Spherical Cap

An architect is designing a small glass dome skylight cut from a sphere with a radius of 2 m, where the dome itself rises to a height of 0.5 m above its circular base:

volume = (π × 0.5²/3) × (3×2 − 0.5) = 0.2618 × 5.5 = 1.44 m³

Conical Frustum

A carpenter is building a tapered wooden bucket with a bottom radius of 15 cm, a top radius of 10 cm, and a height of 25 cm, and needs the internal volume to size a liner:

volume = (1/3) × π × 25 × (15² + 15×10 + 10²) = (1/3) × π × 25 × 475 = 12,435.97 cm³ (≈12.44 L)

Ellipsoid

A sporting-goods designer is modeling a rugby-ball-shaped item with semi-axes of 5 cm, 5 cm, and 11 cm to estimate how much internal padding foam it will need:

volume = (4/3) × π × 5 × 5 × 11 = 1,151.92 cm³

Square Pyramid

A scout troop is building a pyramid-shaped canvas tent frame with a square base edge of 3 m and a height of 2.5 m, and wants to know the enclosed air volume for ventilation planning:

volume = (1/3) × 3² × 2.5 = 7.5 m³

Tube (Hollow Cylinder)

A plumber is measuring a length of pipe with an outer diameter of 10 cm, an inner diameter of 8 cm, and a length of 200 cm, to figure out how much water the pipe segment holds versus how much material makes up its wall:

volume = π × (5² − 4²) × 200 = π × 9 × 200 = 5,654.87 cm³ (≈5.65 L)

Triangular Prism

A chocolatier is casting a triangular-prism-shaped chocolate bar with a triangular cross-section of base 4 cm and height 3 cm, extruded along a length of 20 cm:

volume = (1/2) × 4 × 3 × 20 = 120 cm³

Hexagonal Prism

A candle maker is pouring wax into a hexagonal-prism mold with a side length of 3 cm and a height of 10 cm:

volume = (3√3/2) × 3² × 10 = 233.83 cm³

Torus

A workshop is estimating rubber needed for a donut-shaped inner tube with a center-to-tube-center radius of 15 cm and a tube radius of 4 cm:

volume = 2 × π² × 15 × 4² = 4,737.41 cm³ (≈4.74 L)

Estimating Volume for Composite and Irregular Shapes

Most real objects aren't a single textbook shape — a garden shed might be a rectangular box topped with a triangular-prism roof. The standard approach is decomposition: break the irregular object into the simplest set of standard shapes, calculate each one separately, then add (or subtract, for hollowed-out sections) the individual volumes together. This is exactly the logic behind the composite shape calculator above — treat each recognizable piece independently, keep units consistent, and combine at the end.

Common Mistakes People Make When Calculating Volume

Radius vs. diameter confusion: plugging a diameter into a formula that expects radius overstates the volume by a factor of eight, since the error gets cubed.

Mixed units within one calculation: measuring length in meters and height in centimeters in the same formula without converting first is one of the most frequent sources of wildly wrong results.

Forgetting that volume conversion isn't linear: applying a linear conversion factor to a cubic value silently produces answers off by huge multiples.

Rounding too early: rounding intermediate values before completing a multi-step calculation compounds small errors.

Treating estimates as exact: real containers have wall thickness and real objects have irregularities, so geometric formulas describe an idealized version of the shape, not the manufactured reality.

If your project also involves other kinds of math, tools like the Percentage & Academic Calculator, the Fraction Calculator, or the Ratio Calculator can help with the surrounding arithmetic, while students juggling academic results might find the CGPA Calculator or the Age Calculator useful for other everyday number-crunching, and anyone analyzing a batch of measurements might turn to the Standard Deviation Calculator to understand how much those measurements vary.

Frequently Asked Questions

What's the difference between volume and capacity?

They're closely related but not identical: volume is the total three-dimensional space a shape occupies, while capacity usually refers specifically to how much liquid or material a container can hold on the inside. For a simple hollow container, internal capacity is calculated the same way as volume — using the inner dimensions rather than the outer ones.

Why do cones and pyramids use one-third in their formula?

Because a cone or pyramid tapers evenly to a point, its cross-sectional slices shrink at a steady rate from base to apex. Working through that shrinkage mathematically shows the total volume comes out to exactly one-third of a cylinder or prism sharing the same base and height.

How do I convert liters to cubic meters?

One cubic meter equals exactly 1,000 liters, so divide a liter value by 1,000 to get cubic meters, or multiply a cubic-meter value by 1,000 to get liters.

Does doubling the radius of a sphere double its volume?

No — doubling the radius increases volume by a factor of eight, since volume scales with the cube of linear dimensions. This applies to any 3D shape, not just spheres.

Why does my calculated tank volume not match how much water it actually holds?

Idealized formulas assume perfectly thin, rigid walls and exact dimensions. Real tanks have wall thickness, may not be perfectly shaped, and are rarely filled to the brim, so usable volume is usually a bit less than the theoretical geometric volume.

How is volume used to estimate weight?

Weight is estimated by multiplying volume by the material's density. Since density varies enormously between materials, the same volume can correspond to very different weights depending on what it's made of.

Can I calculate the volume of an irregular, non-standard shape?

Yes, using decomposition: break the irregular object into the closest combination of standard shapes, calculate each piece's volume separately, then add or subtract them to get an approximate total.

Disclaimer: All volume calculations provided by this tool are mathematical estimates based on the dimensions you enter and idealized geometric formulas. Real-world objects with irregularities, wall thickness, or variable material properties may require professional measurement or engineering calculation for critical applications. The cost, chemical dosage, and 3D-printing filament estimates shown are general references only and are not professional quotes, engineering guidance, or a substitute for manufacturer instructions.

🔗 Embed This Tool on Your Website

Copy the code below and paste it into any website's HTML to embed this Volume Calculator as an iframe.

Comments

Popular posts from this blog

Ideal Weight Calculator 2026

Focus Resume Suite: Free PDF, Word & Image Resume Builder