Volume Calculator
Calculate the volume of any 3D shape instantly — cube, sphere, cylinder, cone, rectangular prism, pyramid, ellipsoid and more — with step-by-step solutions.
📦 Volume Calculator — Select a Shape
What Is Volume? A Complete Guide
Volume is the measure of the total three-dimensional space occupied by an object or enclosed within a closed surface. While area measures the flat, two-dimensional space inside a shape, volume extends that concept into the third dimension — adding depth to length and width.
Volume is always expressed in cubic units — for example, cubic meters (m³), cubic centimeters (cm³), cubic feet (ft³), or litres (L). The "cubic" designation comes from the fact that volume results from multiplying three linear measurements together.
Volume is one of the most widely used measurements in science, engineering, construction, cooking, medicine, and everyday life. Whether you are filling a swimming pool, dosing medication, calculating cargo space, or mixing ingredients, volume calculations are essential.
Volume vs. Area vs. Perimeter
These three measurements are related but fundamentally different:
| Measurement | Dimensions | Units | Example Use |
|---|---|---|---|
| Perimeter | 1D (length) | m, ft, cm | Fencing around a garden |
| Area | 2D (length × width) | m², ft², cm² | Carpet for a floor |
| Volume | 3D (length × width × height) | m³, ft³, cm³ | Water to fill a tank |
Why Is Volume Important?
Volume calculations appear in an extraordinary range of real-world contexts:
- Construction: Calculating concrete needed for foundations, columns, and slabs
- Engineering: Determining fuel tank capacity, pipe flow rates, and structural dimensions
- Medicine: Measuring dosages in millilitres, IV fluid volumes, and organ sizes in imaging
- Cooking and food science: Recipe scaling, container sizing, and liquid measurements
- Shipping and logistics: Calculating cargo space, container utilisation, and freight costs
- Hydrology: Measuring reservoir capacity, river flow, and rainfall volume
- Astronomy: Estimating planetary and stellar volumes from observed radii
Volume Formulas for All Common 3D Shapes
Every three-dimensional shape has its own specific formula. Below is a comprehensive guide to the most important ones, with worked examples for each.
1. Cube
A cube has six identical square faces. All edges are equal in length, making it the simplest 3D shape to calculate.
An ice cube has sides of 3 cm. V = 3³ = 3 × 3 × 3 = 27 cm³
2. Rectangular Prism (Cuboid)
A rectangular prism is a box shape with three pairs of identical rectangular faces. It is the most common shape in packaging, construction, and storage.
A shipping box is 50 cm × 40 cm × 30 cm. V = 50 × 40 × 30 = 60,000 cm³ = 60 litres
3. Sphere
A sphere is a perfectly round 3D shape where every point on the surface is equidistant from the centre. Think of a ball, the Earth, or a water droplet.
A basketball has a radius of 12 cm. V = (4/3) × π × 12³ = (4/3) × π × 1728 ≈ 7,238.2 cm³
4. Cylinder
A cylinder has two identical circular bases connected by a curved surface. Common examples include cans, pipes, water tanks, and columns.
A water tank has radius 0.8 m and height 2 m. V = π × 0.64 × 2 ≈ 4.02 m³ (4,021 litres)
5. Cone
A cone has a circular base that tapers to a point (apex). The volume of a cone is exactly one-third of the cylinder with the same base and height.
An ice cream cone has base radius 3 cm and height 12 cm. V = (1/3) × π × 9 × 12 ≈ 113.1 cm³
6. Pyramid
A pyramid has a polygonal base and triangular faces that meet at an apex. Like the cone, its volume is one-third of the corresponding prism.
Base: 230 m × 230 m, Height: 146 m. V = (1/3) × 230 × 230 × 146 ≈ 2,583,283 m³
7. Ellipsoid
An ellipsoid is a sphere that has been stretched or compressed along its three axes. An egg is an approximate ellipsoid shape.
Where a, b, and c are the three semi-axes. When a = b = c = r, this simplifies to the sphere formula.
8. Capsule
A capsule consists of a cylinder with hemispherical caps on both ends — like a medicine capsule or a hot dog roll. Its volume is the sum of the cylinder and a complete sphere.
Complete Volume Formula Reference Table
| Shape | Formula | Variables | Example |
|---|---|---|---|
| Cube | V = a³ | a = side | 5³ = 125 m³ |
| Rectangular Prism | V = L × W × H | L,W,H = dimensions | 4×3×2 = 24 m³ |
| Sphere | V = (4/3)πr³ | r = radius | (4/3)π×3³ ≈ 113.1 m³ |
| Cylinder | V = πr²h | r = radius, h = height | π×4²×10 ≈ 502.7 m³ |
| Cone | V = (1/3)πr²h | r = base radius, h = height | (1/3)π×3²×8 ≈ 75.4 m³ |
| Pyramid | V = (1/3)lwh | l,w = base, h = height | (1/3)×6×6×9 = 108 m³ |
| Ellipsoid | V = (4/3)πabc | a,b,c = semi-axes | (4/3)π×5×4×3 ≈ 251.3 m³ |
| Capsule | V = πr²(h+4r/3) | r = radius, h = cyl. height | π×4²×(10+16/3) ≈ 771.1 m³ |
| Torus | V = 2π²Rr² | R = major radius, r = tube radius | 2π²×5×2² ≈ 394.8 m³ |
| Tetrahedron | V = a³/(6√2) | a = edge length | 6³/(6√2) ≈ 25.46 m³ |
Quick Formula Reference
V = a³V = L × W × HV = (4/3)πr³V = πr²hV = (1/3)πr²hV = (1/3)lwhV = (4/3)πabcV = πr²(h+4r/3)Volume Unit Conversions — Complete Reference
Volume units vary significantly between the metric and imperial systems, and between everyday usage and scientific contexts. Getting unit conversions right is critical — especially in engineering, medicine, and cooking.
Metric Volume Units
| Unit | Symbol | Equivalent in m³ | Common Use |
|---|---|---|---|
| Cubic millimeter | mm³ | 0.000000001 m³ | Tiny medical/technical volumes |
| Cubic centimeter | cm³ (= mL) | 0.000001 m³ | Medicines, small containers |
| Milliliter | mL | 0.000001 m³ | Drinks, cooking, medicine |
| Liter | L | 0.001 m³ | Beverages, fuel, containers |
| Cubic decimeter | dm³ (= L) | 0.001 m³ | Same as 1 litre |
| Cubic meter | m³ | 1 m³ | Construction, large tanks |
| Cubic kilometer | km³ | 1,000,000,000 m³ | Oceans, glaciers, geography |
Imperial / US Volume Units
| Unit | Symbol | US Equivalent | Metric Equivalent |
|---|---|---|---|
| Cubic inch | in³ | — | 16.387 cm³ |
| Fluid ounce (US) | fl oz | — | 29.574 mL |
| Cup (US) | cup | 8 fl oz | 236.6 mL |
| Pint (US) | pt | 2 cups | 473.2 mL |
| Quart (US) | qt | 2 pints | 946.4 mL |
| Gallon (US) | gal | 4 quarts | 3.785 L |
| Cubic foot | ft³ | 7.481 gallons | 28.317 L |
| Cubic yard | yd³ | 27 ft³ | 764.6 L |
Real-World Volume Calculation Examples
Volume calculations arise constantly in professional and everyday contexts. The following worked examples show how to apply the formulas to practical problems.
Example 1 — Concrete for a Foundation Slab
A rectangular foundation slab is 12 m long, 8 m wide, and 0.25 m thick.
- V = L × W × H = 12 × 8 × 0.25 = 24 m³
- Concrete density ≈ 2,400 kg/m³, so total weight ≈ 24 × 2,400 = 57,600 kg (57.6 tonnes)
- At a typical ready-mix price of $150/m³: cost ≈ $3,600
Example 2 — Cylindrical Water Tank
A farm needs a cylindrical water storage tank with diameter 3 m and height 4 m.
- Radius = 3 ÷ 2 = 1.5 m
- V = π × 1.5² × 4 = π × 2.25 × 4 ≈ 28.27 m³
- Since 1 m³ = 1,000 litres: capacity ≈ 28,274 litres
Example 3 — Spherical Gas Storage Vessel
An industrial spherical pressure vessel has an internal diameter of 6 m.
- Radius = 3 m
- V = (4/3) × π × 3³ = (4/3) × π × 27 ≈ 113.1 m³
- Capacity = 113,097 litres
Example 4 — Swimming Pool
An L-shaped pool consists of a rectangular section 10 m × 5 m × 1.5 m deep, and a deeper section 6 m × 5 m × 2 m deep.
- Section 1: 10 × 5 × 1.5 = 75 m³
- Section 2: 6 × 5 × 2 = 60 m³
- Total volume = 135 m³ = 135,000 litres
Example 5 — Cone-Shaped Hopper
A grain hopper in a silo is cone-shaped with base radius 2.5 m and height 3 m.
- V = (1/3) × π × 2.5² × 3 = (1/3) × π × 6.25 × 3 ≈ 19.63 m³
- Grain density ≈ 760 kg/m³, so capacity ≈ 19.63 × 760 ≈ 14,919 kg (≈ 15 tonnes)
Volume in Science and Nature
Volume appears constantly in scientific contexts — from the microscopic to the cosmic:
| Object | Approximate Volume | Notes |
|---|---|---|
| Red blood cell | 90 µm³ (femtolitres) | Biconcave disc shape |
| Tennis ball | ≈ 145 cm³ | Radius ≈ 3.3 cm |
| Human brain | ≈ 1,200–1,500 cm³ | Varies by individual |
| Olympic swimming pool | 2,500 m³ | 50m × 25m × 2m |
| Great Pyramid of Giza | ≈ 2,583,000 m³ | Limestone blocks |
| Mediterranean Sea | ≈ 3.7 million km³ | Average depth 1,500 m |
| Earth | ≈ 1.08 × 10¹² km³ | Radius ≈ 6,371 km |
| Sun | ≈ 1.41 × 10¹⁸ km³ | About 1.3 million Earths |
Advanced Volume Concepts
Cavalieri's Principle
Cavalieri's Principle states that if two solids have the same height and every horizontal cross-section at the same height has the same area, then the two solids have the same volume. This principle is used to derive volume formulas for oblique (slanted) versions of standard shapes — an oblique cylinder has the same volume as a right cylinder with the same base and height.
Volume by Integration
For irregular solids or shapes described by mathematical functions, calculus provides the definitive method. The volume of a solid of revolution (formed by rotating a curve around an axis) is found using the disk or shell method:
This is how engineers calculate volumes of custom-shaped components, and how medical imaging software computes organ volumes from scan data.
Displacement Method
For irregularly shaped solid objects, volume can be measured experimentally using water displacement (Archimedes' principle): submerge the object in water and measure how much the water level rises. The volume of displaced water equals the volume of the object. This method is used in metallurgy, gemology, and quality control.
Scale Factor and Volume
When a 3D shape is scaled by a factor of k in all three dimensions, its volume changes by k³. This has major practical implications:
Packing Efficiency
Packing efficiency describes how much of a container's volume is actually filled with the items inside it. Spheres packed in a box will never fill 100% of the space — the maximum theoretical packing efficiency of identical spheres is approximately 74.05% (face-centred cubic packing). This concept matters in pharmaceutical tablet manufacturing, materials science, and logistics optimization.
Frequently Asked Questions About Volume
Answers to the most commonly searched volume calculation questions — from basic formulas to real-world applications.
Related Calculators
