Free to Use

📐 Volume Calculator

Calculate the volume of common 3D shapes including cubes, rectangular prisms, spheres, cylinders, and cones. Get step-by-step solutions with detailed explanations.

🧊
📦
🌐
🥫
🍦

Real-World Volume Examples

🧊 Shipping Container (Rectangular Prism)

A standard shipping container measures 20 feet long, 8 feet wide, and 8.5 feet high.

Volume: V = 20 × 8 × 8.5 = 1,360 cubic feet

This is the interior volume of a standard 20-foot TEU (Twenty-foot Equivalent Unit) shipping container.

🏀 Basketball (Sphere)

A regulation men's basketball has a diameter of 9.55 inches (radius ≈ 4.775 inches).

Volume: V = ⁴⁄₃ × π × (4.775)³ = ≈ 456 cubic inches

The volume determines how much air is needed to inflate the ball to the correct pressure.

🥫 Soup Can (Cylinder)

A standard soup can has a radius of 1.5 inches and a height of 4 inches.

Volume: V = π × (1.5)² × 4 = ≈ 28.27 cubic inches

A typical 10.75 oz soup can holds about 28.27 cubic inches of liquid.

🍦 Ice Cream Cone (Cone)

A waffle cone has a radius of 1.5 inches and a height of 6 inches.

Volume: V = ⅓ × π × (1.5)² × 6 = ≈ 14.14 cubic inches

That's about 14.14 cubic inches of ice cream capacity — or roughly 8 fluid ounces!

🎲 Dice (Cube)

A standard 16mm dice has a side length of 16 mm (1.6 cm).

Volume: V = (1.6)³ = 4.096 cm³

A set of 7 polyhedral dice has a total volume of roughly 15-20 cm³ depending on the set.

Volume Formulas for 3D Shapes

Volume measures the amount of three-dimensional space occupied by an object. It is expressed in cubic units (e.g., cm³, m³, in³, ft³). Each 3D shape has a specific formula for calculating its volume.

🧊 Cube

V = s³
Where s is the length of one side of the cube.

A cube is a special case of a rectangular prism where all sides are equal. Since length = width = height = s, the volume is s × s × s = s³.

📦 Rectangular Prism (Box)

V = l × w × h
Where l = length, w = width, h = height. Also: V = base area × height.

The volume of a rectangular prism is found by multiplying its three dimensions. The surface area is: A = 2(lw + lh + wh).

🌐 Sphere

V = ⁴⁄₃πr³
Where r is the radius of the sphere. π ≈ 3.14159...

A sphere is a perfectly round three-dimensional object. The formula uses the cube of the radius multiplied by 4/3 and π. The surface area of a sphere is A = 4πr².

🥫 Cylinder

V = πr²h
Where r = radius of the circular base, h = height of the cylinder.

A cylinder has two parallel circular bases. The volume is the area of the base (πr²) multiplied by the height. The surface area is A = 2πr² + 2πrh.

🍦 Cone

V = ⅓πr²h
Where r = radius of the circular base, h = height of the cone.

A cone has a circular base that tapers to a point (apex). Its volume is exactly one-third of a cylinder with the same base and height. The surface area is A = πr² + πrl, where l is the slant height.

Step-by-Step: How to Calculate Volume

1
Identify the shape: Determine which 3D shape you're working with (cube, sphere, cylinder, etc.)
2
Measure the dimensions: Gather the required measurements — side length, radius, height, etc.
3
Select the formula: Use the correct formula for your shape (see formulas above)
4
Substitute and calculate: Plug in your measurements and compute the result
5
State the result: Express the volume in appropriate cubic units

Quick Tips for Volume Calculations

📏 Use Consistent Units

All measurements must be in the same unit before calculating volume. Convert if needed — the result will be in cubic versions of that unit.

🔢 Remember π

For cylindrical and spherical shapes, π (pi) is approximately 3.14159. Our calculator uses the full precision of JavaScript's Math.PI.

🧮 Half-Sphere or Half-Cylinder

For half-spheres (hemispheres) or half-cylinders, calculate the full volume and divide by 2. A hemisphere volume = ⅔πr³.

📐 Check Your Units

Volume is always in cubic units. If your input is in inches, the volume is in cubic inches (in³). For meters, it's cubic meters (m³).

🧊
Multiple 3D Shapes
Calculate volume for cubes, rectangular prisms, spheres, cylinders, and cones — all in one convenient tool.
📝
Step-by-Step Solutions
See the complete calculation process with each step explained clearly, including the formula and substitution.
💡
Real-World Examples
Explore example problems from everyday life — shipping containers, sports equipment, food packaging, and more.
📖
Formula Reference
All volume formulas are explained in detail with descriptions of each variable and how to apply them.

What Is Volume?

Volume is a measure of the amount of three-dimensional space occupied by a solid object or enclosed by a surface. It is one of the most fundamental concepts in geometry and has countless practical applications in science, engineering, construction, and everyday life.

Volume is always expressed in cubic units — cubic meters (m³), cubic centimeters (cm³), cubic inches (in³), cubic feet (ft³), etc. For liquids, volume is often measured in liters, gallons, or fluid ounces. The relationship between liquid and solid volume is: 1 liter = 1,000 cm³ = 0.0353 ft³.

Every three-dimensional shape has a unique formula for calculating its volume. These formulas are derived from the shape's geometry — for example, a cylinder's volume is the area of its circular base multiplied by its height, while a cone's volume is exactly one-third of a cylinder with the same base and height.

Why Volume Calculations Matter

How to Use This Volume Calculator

Using the Volume Calculator is simple. Follow these steps:

Step 1: Select the shape you want to calculate from the tabs at the top — Cube, Box (Rectangular Prism), Sphere, Cylinder, or Cone.

Step 2: Enter the required dimensions for your chosen shape. Each shape requires different inputs — for example, a cube needs only the side length, while a cylinder needs both radius and height.

Step 3: Click the "Calculate" button to compute the volume instantly. The result will display with the volume value, the formula used, and any additional information like base area or surface area.

Step 4: View the step-by-step solution that shows exactly how the calculation was performed, including the formula substitution and each arithmetic step.

You can also explore the Examples tab for real-world volume problems, and the Formula & Guide tab for a complete reference of all volume formulas.

Understanding Your Results

The volume result is displayed with up to 3 decimal places for precision. The result is followed by "cubic units" — replace "units" with whatever measurement unit you used (e.g., if you entered inches, the volume is in cubic inches). The step-by-step solution shows the raw calculation so you can verify every step.

Volume Formulas Quick Reference

🧊 Cube

V = s³
Volume = side × side × side
Surface Area = 6s²

📦 Rectangular Prism

V = l × w × h
Volume = length × width × height
Surface Area = 2(lw + lh + wh)

🌐 Sphere

V = ⁴⁄₃πr³
Volume = 4/3 × π × radius³
Surface Area = 4πr²

🥫 Cylinder

V = πr²h
Volume = π × radius² × height
Surface Area = 2πr² + 2πrh

🍦 Cone

V = ⅓πr²h
Volume = 1/3 × π × radius² × height
Surface Area = πr² + πrl

🔷 Pyramid

V = ⅓ × base area × height
For a square pyramid with base side a: V = ⅓a²h

Frequently Asked Questions

What is the difference between volume and surface area?
Volume measures the amount of space inside a 3D object — it's the capacity or how much the object can hold. Surface area measures the total area of all the outer surfaces of the object. For example, a cube with side length 3 has a volume of 27 cubic units (the space inside) and a surface area of 54 square units (the area of all six faces). Volume is measured in cubic units (³), while surface area is measured in square units (²).
How do I convert between different volume units?
To convert between volume units, you must account for the cubic relationship. For length conversions, multiply by the conversion factor cubed. For example: 1 meter = 100 cm, so 1 m³ = 100³ = 1,000,000 cm³. Common conversions: 1 gallon = 231 in³, 1 liter = 1,000 cm³, 1 ft³ = 1,728 in³. Our Volume Calculator on todaycalculator.com handles cubic unit conversions automatically when you use consistent input units.
What if I only know the diameter, not the radius?
If you know the diameter of a sphere, cylinder, or cone, simply divide it by 2 to get the radius: r = d ÷ 2. For example, if a sphere has a diameter of 10 inches, the radius is 5 inches. Then use the standard formula with the radius. This works because the diameter is twice the radius, and the volume formulas all use the radius.
Can I calculate volume with mixed units?
No — all dimensions must be in the same unit before calculating volume. If your measurements are in different units (e.g., length in feet and width in inches), convert them to the same unit first. The easiest approach is to convert everything to the smallest unit before calculating. After you get the volume result, you can convert to whatever unit you prefer.
What is the volume of a pyramid and how is it different from a prism?
A pyramid has a base (any polygon) that tapers to a point (apex). Its volume is V = ⅓ × base area × height. A prism has two parallel, congruent bases and its volume is V = base area × height. The key difference is that a pyramid's volume is exactly one-third of a prism with the same base and height. A cone is essentially a pyramid with a circular base, so the same ⅓ relationship applies between a cone and a cylinder.
How accurate are the volume calculations?
Our Volume Calculator uses JavaScript's built-in Math.PI for π (accurate to approximately 15 decimal places) and performs double-precision floating-point arithmetic. Results are displayed rounded to 3 decimal places for readability. The actual calculation is accurate to the limits of JavaScript's number precision (about 15-17 significant digits), which is more than sufficient for all practical purposes including engineering, construction, and scientific applications.

⚠️ Important Note: This Volume Calculator is for educational and informational purposes only. While every effort has been made to ensure accuracy, results should be verified independently for critical applications such as construction, engineering, medical dosing, or manufacturing. Always consult a qualified professional for volume-related decisions in high-stakes contexts.