Free Online Volume Calculator - Calculate 3D Shape Volumes Instantly
Calculate the volume and surface area of any 3D shape with our free, easy-to-use volume calculator. Supports spheres, cylinders, cones, cubes, rectangular tanks, capsules, ellipsoids, and pyramids with step-by-step solutions.
What Is Volume?
Volume is the amount of three-dimensional space a solid object occupies. Measured in cubic units, volume tells you how much liquid, gas, or material can fit inside a container or how much space an object takes up. Whether you are filling a swimming pool, packaging a product, or solving a geometry problem, calculating volume is essential.
Volume Formulas for Common 3D Shapes
Below is a complete reference table of volume formulas for all supported shapes:
| Shape | Formula | Variables |
|---|---|---|
| Sphere | V = (4/3)πr³ | r = radius |
| Cone | V = (1/3)πr²h | r = base radius, h = height |
| Cube | V = s³ | s = side length |
| Cylinder | V = πr²h | r = radius, h = height |
| Rectangular Tank | V = l × w × h | l = length, w = width, h = height |
| Capsule | V = πr²h + (4/3)πr³ | r = radius, h = cylinder height |
| Ellipsoid | V = (4/3)πabc | a, b, c = semi-axes |
| Pyramid (Square Base) | V = (1/3) × s² × h | s = base side, h = height |
How to Use the Volume Calculator
Our volume calculator makes it simple to find the volume of any supported 3D shape:
- Select a shape from the visual grid at the top of the calculator.
- Enter the dimensions — the input fields update dynamically based on the selected shape.
- Choose your output unit from the dropdown — pick from metric, imperial, or liquid volume units.
- View instant results — volume, surface area, and step-by-step calculations are displayed immediately.
Supported Volume Units
Our calculator converts between the following units seamlessly:
Metric Volume Units:
mm³(cubic millimeters)cm³(cubic centimeters)m³(cubic meters)km³(cubic kilometers)
Liquid Volume Units:
mL(milliliters, equivalent to cm³)L(liters)Gallons(US liquid gallons)fl oz(US fluid ounces)
Imperial Volume Units:
in³(cubic inches)ft³(cubic feet)yd³(cubic yards)
Common Unit Conversions
Here are some frequently needed volume conversions:
1 liter = 1000 cm³ = 1000 mL1 cubic meter = 1000 liters1 US gallon = 3.78541 liters = 231 in³1 cubic foot = 28.3168 liters = 7.48052 gallons1 cubic yard = 27 cubic feet = 0.764555 cubic meters1 fluid ounce (US) = 29.5735 mL
Understanding Each 3D Shape
Sphere Volume
A sphere is a perfectly round 3D object where every point on its surface is equidistant from the center. The volume formula V = (4/3)πr³ shows that volume scales with the cube of the radius. Doubling the radius increases volume by a factor of 8.
Cone Volume
A cone has a circular base that tapers to a single point called the apex. The volume V = (1/3)πr²h is exactly one-third the volume of a cylinder with the same base and height. This relationship was first proven by Archimedes.
Cube Volume
A cube has six equal square faces. The volume V = s³ is simply the side length cubed. Cubes are the simplest 3D shape to calculate and form the basis for understanding cubic units.
Cylinder Volume
A cylinder has two parallel circular bases connected by a curved surface. The volume V = πr²h equals the area of the circular base multiplied by the height. Cylinders are one of the most commonly encountered shapes in everyday life.
Rectangular Tank/Box Volume
A rectangular prism (or box/tank) has six rectangular faces at right angles. The volume V = l × w × h is the product of its three dimensions. This is the most practical shape for containers, rooms, and shipping boxes.
Capsule Volume
A capsule is a cylinder with hemispherical ends. Its volume V = πr²h + (4/3)πr³ combines the cylinder portion with the two hemisphere caps. Capsules are common in pharmaceutical design and pressure vessel engineering.
Ellipsoid Volume
An ellipsoid is a stretched or compressed sphere with three different semi-axes. The volume V = (4/3)πabc generalizes the sphere formula by replacing the single radius with three semi-axes. Planets and many natural objects approximate ellipsoids.
Pyramid Volume (Square Base)
A pyramid with a square base tapers from a flat square to an apex point. The volume V = (1/3) × base_area × h is one-third the area of the base times the height, similar to how a cone relates to a cylinder.
Surface Area Formulas
The calculator also displays surface area for each shape:
| Shape | Surface Area Formula |
|---|---|
| Sphere | SA = 4πr² |
| Cone | SA = πr(r + l) where l is slant height |
| Cube | SA = 6s² |
| Cylinder | SA = 2πr(r + h) |
| Rectangular Tank | SA = 2(lw + lh + wh) |
| Capsule | SA = 2πr(2r + h) |
| Ellipsoid | SA ≈ 4π[(ab)^1.6075 + (ac)^1.6075 + (bc)^1.6075]^(1/1.6075) / 3 (approximate) |
| Pyramid | SA = s² + 2sl where l is slant height |
Real-World Applications
Swimming Pools and Spas
Calculating pool volume is critical for water treatment, heating costs, and filling estimates. A rectangular pool measuring 20 ft × 10 ft × 5 ft holds 20 × 10 × 5 = 1000 ft³ or approximately 7,481 gallons of water.
Water Tanks and Reservoirs
Cylindrical water tanks are standard in agriculture and industry. A tank with a 3-meter radius and 5-meter height holds π × 3² × 5 ≈ 141.37 m³ or about 141,372 liters of water.
Cooking and Baking
Volume conversions are essential in the kitchen. Converting between cups, fluid ounces, milliliters, and liters ensures recipe accuracy, especially when working with international recipes.
Construction and Concrete
Estimating concrete volume for foundations, pillars, and slabs requires accurate calculations. A cylindrical pillar with a 0.3m radius and 3m height needs π × 0.3² × 3 ≈ 0.848 m³ of concrete.
Shipping and Logistics
Package volume determines shipping costs and container utilization. Knowing the cubic dimensions of boxes helps optimize warehouse space and freight planning.
Pharmaceuticals
Capsule and pill design uses precise volume calculations to ensure correct dosages. The capsule formula accounts for both the cylindrical body and hemispherical ends.
Aquariums and Fish Tanks
Proper water volume is essential for fish health, filtration sizing, and medication dosing. Rectangular tank calculations help aquarium owners maintain ideal conditions.
Engineering and Manufacturing
From pressure vessels to storage silos, engineers use volume formulas daily. Accurate calculations prevent material waste and ensure structural integrity.
Frequently Asked Questions
How do I calculate the volume of an irregular shape?
For irregular shapes, break them down into combinations of standard shapes (cylinders, rectangular prisms, spheres), calculate each volume separately, then add or subtract as needed. Water displacement is another practical method for physical objects.
What is the difference between volume and capacity?
Volume measures the total space an object occupies, while capacity refers to how much a container can hold. A solid steel sphere has volume but no capacity. An empty tank has both — its volume (material) and its capacity (how much it holds inside).
How accurate is the ellipsoid surface area calculation?
The surface area of an ellipsoid has no exact closed-form formula. Our calculator uses Knud Thomsen's approximation, which is accurate to within 1.061% for any ellipsoid. For most practical applications, this is more than sufficient.
Why does the capsule formula add two terms?
The capsule formula V = πr²h + (4/3)πr³ adds the volume of the cylindrical body (πr²h) to the volume of a complete sphere ((4/3)πr³). This is because the two hemispherical ends together form a full sphere of the same radius.
Can I use this calculator for liquid measurements?
Yes. Select liquid units like mL, L, gallons, or fluid ounces from the unit dropdown. The calculator converts from cubic centimeters to your chosen unit automatically. Remember that 1 cm³ equals 1 mL.
How do I convert cubic feet to gallons?
One cubic foot equals approximately 7.48052 US gallons. Simply multiply the volume in cubic feet by 7.48052 to get the equivalent in gallons. Our calculator handles this conversion automatically when you select gallons as the output unit.
What is the relationship between cone and cylinder volume?
A cone has exactly one-third the volume of a cylinder with the same base radius and height. This relationship, discovered by Archimedes, means V(cone) = V(cylinder) / 3. Similarly, a pyramid has one-third the volume of a prism with the same base and height.
Why is pi (π) used in volume formulas?
Pi (π ≈ 3.14159) appears in formulas for shapes with circular cross-sections because it relates a circle's radius to its area (A = πr²). Any shape derived from circles — spheres, cylinders, cones — naturally includes π in its volume formula.
Tips for Accurate Volume Calculations
- Always use consistent units for all dimensions before calculating
- Double-check measurements to avoid costly errors in construction or manufacturing
- Remember that volume scales cubically — doubling all dimensions multiplies volume by 8
- When measuring containers, measure the inside dimensions for capacity calculations
- Account for irregularities in real-world objects by adding a safety margin
Start Calculating Volume Now
Use our free volume calculator above to instantly compute the volume and surface area of any supported 3D shape. Select your shape, enter the dimensions, choose your preferred units, and get results with full step-by-step breakdowns. No sign-up required.