Home › Math Calculators › Volume Calculator

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

a³
All sides are equal
L×W×H
r
r h
r h
base h
a b
h r
Radius of the cylindrical body and hemispherical caps
Height of the straight cylindrical section only
Volume
—
Advertisement
240 × 600
Ad Space
Paste your ad tag here

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.

Key Definition: Volume = the number of unit cubes that fit inside a 3D shape. A shape with a volume of 30 cm³ can hold exactly 30 cubes, each measuring 1 cm × 1 cm × 1 cm.

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.

3D
Three Dimensions
m³
Cubic Units
L×W×H
Box Formula
πr²h
Cylinder Formula

Volume vs. Area vs. Perimeter

These three measurements are related but fundamentally different:

MeasurementDimensionsUnitsExample Use
Perimeter1D (length)m, ft, cmFencing around a garden
Area2D (length × width)m², ft², cm²Carpet for a floor
Volume3D (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.

V = a³    (where a = side length)
✔ Example

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.

V = L × W × H
✔ Example

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.

V = (4/3) × π × r³
✔ Example

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.

V = π × r² × h
✔ Example

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.

V = (1/3) × π × r² × h
✔ Example

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.

V = (1/3) × Base Area × h    →    V = (1/3) × l × w × h (rectangular base)
✔ Example — Great Pyramid of Giza (approximate)

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.

V = (4/3) × π × a × b × c

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.

V = π × r² × h + (4/3) × π × r³    =    π × r² × (h + 4r/3)

Complete Volume Formula Reference Table

ShapeFormulaVariablesExample
CubeV = a³a = side5³ = 125 m³
Rectangular PrismV = L × W × HL,W,H = dimensions4×3×2 = 24 m³
SphereV = (4/3)πr³r = radius(4/3)π×3³ ≈ 113.1 m³
CylinderV = πr²hr = radius, h = heightπ×4²×10 ≈ 502.7 m³
ConeV = (1/3)πr²hr = base radius, h = height(1/3)π×3²×8 ≈ 75.4 m³
PyramidV = (1/3)lwhl,w = base, h = height(1/3)×6×6×9 = 108 m³
EllipsoidV = (4/3)πabca,b,c = semi-axes(4/3)π×5×4×3 ≈ 251.3 m³
CapsuleV = πr²(h+4r/3)r = radius, h = cyl. heightπ×4²×(10+16/3) ≈ 771.1 m³
TorusV = 2π²Rr²R = major radius, r = tube radius2π²×5×2² ≈ 394.8 m³
TetrahedronV = a³/(6√2)a = edge length6³/(6√2) ≈ 25.46 m³

Quick Formula Reference

Cube
V = a³
Rect. Prism
V = L × W × H
Sphere
V = (4/3)πr³
Cylinder
V = πr²h
Cone
V = (1/3)πr²h
Pyramid
V = (1/3)lwh
Ellipsoid
V = (4/3)πabc
Capsule
V = π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

UnitSymbolEquivalent in m³Common Use
Cubic millimetermm³0.000000001 m³Tiny medical/technical volumes
Cubic centimetercm³ (= mL)0.000001 m³Medicines, small containers
MillilitermL0.000001 m³Drinks, cooking, medicine
LiterL0.001 m³Beverages, fuel, containers
Cubic decimeterdm³ (= L)0.001 m³Same as 1 litre
Cubic meterm³1 m³Construction, large tanks
Cubic kilometerkm³1,000,000,000 m³Oceans, glaciers, geography

Imperial / US Volume Units

UnitSymbolUS EquivalentMetric Equivalent
Cubic inchin³—16.387 cm³
Fluid ounce (US)fl oz—29.574 mL
Cup (US)cup8 fl oz236.6 mL
Pint (US)pt2 cups473.2 mL
Quart (US)qt2 pints946.4 mL
Gallon (US)gal4 quarts3.785 L
Cubic footft³7.481 gallons28.317 L
Cubic yardyd³27 ft³764.6 L
Volume Unit Scale Comparison (relative size, log scale)

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 Comparison: Same Height (10 units), Same Base Radius (5 units)

Volume in Science and Nature

Volume appears constantly in scientific contexts — from the microscopic to the cosmic:

ObjectApproximate VolumeNotes
Red blood cell90 µ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 pool2,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:

V = π ∫ₐᵇ [f(x)]² dx    (disk 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:

Example: Doubling all dimensions of a container (k = 2) increases its volume by 2³ = 8 times, not 2 times. A container that holds 10 litres will hold 80 litres if all its dimensions are doubled. This is why large tanks are disproportionately more efficient than small ones.

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.

The volume of a cylinder is V = π × r² × h, where r is the radius of the circular base and h is the height. For example, a cylinder with radius 5 m and height 10 m has a volume of π × 25 × 10 ≈ 785.4 m³ (785,398 litres).
The volume of a sphere is V = (4/3) × π × r³. If you know the diameter, divide by 2 to get the radius first. Example: a sphere with radius 6 cm has V = (4/3) × π × 216 ≈ 904.8 cm³. The sphere has the smallest surface area for any given volume — which is why bubbles are spherical.
V = Length × Width × Height. Make sure all dimensions are in the same unit before calculating. Example: a storage box 8 m × 5 m × 3 m has a volume of 120 m³. In everyday terms this equals 120,000 litres — about 48 standard bathtubs.
V = (1/3) × π × r² × h, where r is the base radius and h is the perpendicular height. The cone holds exactly one-third as much as a cylinder with the same base and height. Example: cone with r = 4 cm, h = 9 cm → V = (1/3) × π × 16 × 9 ≈ 150.8 cm³.
Volume is always measured in cubic units. Metric: mm³, cm³ (= mL), dm³ (= L), m³, km³. Imperial: in³, ft³, yd³, fluid ounces, pints, quarts, gallons. Key: 1 m³ = 1,000 litres = 1,000,000 cm³. Choose the unit that fits the scale — cm³ for small objects, m³ for tanks and rooms, km³ for oceans.
Exactly 1,000 litres = 1 m³. This is because 1 litre = 1 dm³ (cubic decimetre), and there are 1,000 dm³ in 1 m³. This conversion is essential in water supply, irrigation, tank engineering, and any situation involving large liquid volumes.
V = a³ (side length cubed). Since all edges of a cube are equal, you only need one measurement. Example: a cube with sides of 4 m → V = 4 × 4 × 4 = 64 m³. A sugar cube (≈1.2 cm sides) has a volume of about 1.73 cm³.
Volume is the total 3D space an object takes up (including material). Capacity is the usable interior space of a hollow container. A thick-walled tank has a volume (total) greater than its capacity (what it holds). For thin-walled containers the difference is negligible and the terms are used interchangeably.
Two practical methods: (1) Decomposition — break the shape into standard solids, calculate each volume separately, add them up. (2) Water displacement — submerge the object in a known volume of water and measure how much the water level rises; that rise × container cross-section area = object volume. For mathematical curves, integration gives an exact answer.
Volume scales with the cube of the scale factor (k³). Doubling all dimensions multiplies volume by 2³ = 8×. Tripling multiplies by 27×. A box holding 10 L will hold 80 L if every dimension is doubled. This is why large storage tanks are far more efficient per litre than small ones — and why organisms have size limits based on surface-area-to-volume ratios.

Related Calculators