Volume Calculator
Calculate volumes of common three-dimensional solids.
Free online tool by SOCE. Check inputs and results before using them for important decisions.
Volume Calculator – Free Online 3D Shape Formulas and Examples
The SOCE Volume Calculator page provides a mathematical guide to finding the volume of common three-dimensional shapes, including cubes, cuboids, cylinders, cones, spheres, pyramids, prisms, and hemispheres.
Volume measures the amount of three-dimensional space occupied by a solid or enclosed within a container. It is commonly expressed in cubic millimetres (mm³), cubic centimetres (cm³), cubic metres (m³), cubic inches (in³), or cubic feet (ft³).
Volume calculations are essential in mathematics, civil engineering, architecture, manufacturing, construction, packaging, and storage-capacity estimation.
This Volume Calculator guide explains standard formulas, worked examples, unit conversions, and practical applications.
What Is a Volume Calculator?
A Volume Calculator is a mathematical tool used to determine the volume of a three-dimensional shape from its known dimensions.
Different shapes require different measurements and formulas.
For example:
- A cube requires its edge length.
- A cuboid requires length, width, and height.
- A cylinder requires base radius and perpendicular height.
- A cone requires base radius and perpendicular height.
- A sphere requires its radius.
- A pyramid requires base area and perpendicular height.
- A prism requires base area and perpendicular height.
The selected formula must match the geometry of the solid.
Understanding Volume in Geometry
Volume describes three-dimensional space.
For a solid object, volume represents the space occupied by the object.
For a hollow container, internal volume represents its ideal geometric capacity.
Volume vs Area
Area measures two-dimensional regions, while volume measures three-dimensional space.
A rectangular area is calculated using length and width.
A rectangular solid requires an additional dimension: height.
Volume vs Surface Area
Surface area measures the area covering the boundary of a solid.
Volume measures the space enclosed or occupied by the solid.
For a cube with edge length a:
Surface area = 6a²
Volume = a³
These quantities have different units and physical meanings.
Volume Calculator Formulas for 3D Shapes
The following formulas apply to the specified geometric shapes.
| Shape | Volume formula |
|---|---|
| Cube | V = a³ |
| Cuboid / rectangular prism | V = lwh |
| Right circular cylinder | V = πr²h |
| Right circular cone | V = πr²h/3 |
| Sphere | V = 4πr³/3 |
| Pyramid | V = Bh/3 |
| Prism | V = Bh |
| Hemisphere | V = 2πr³/3 |
| Conical frustum | V = πh(R² + Rr + r²)/3 |
| Ellipsoid | V = 4πabc/3 |
Where:
- V = volume.
- a = cube edge or ellipsoid semiaxis, depending on context.
- l = length.
- w = width.
- h = perpendicular height.
- r = radius.
- R = larger frustum radius.
- B = base area.
- b and c = remaining ellipsoid semiaxes.
- π ≈ 3.141592653589793.
All dimensions must be expressed in consistent units.
How to Use a Volume Calculator
The general calculation procedure is:
- Identify the three-dimensional shape.
- Determine its required dimensions.
- Convert all measurements to consistent units.
- Select the correct volume formula.
- Substitute the measured values.
- Perform the calculation.
- Express the answer in cubic units.
- Check whether the dimensions describe the intended solid or internal container space.
For example, a rectangular box measuring 8 cm × 5 cm × 3 cm has volume:
V = 8 × 5 × 3
Volume = 120 cm³
Cube Volume Calculator
A cube has six congruent square faces and 12 equal edges.
Cube Volume Formula
V = a³
Where a is the edge length.
Worked Example
Edge length = 5 cm
V = 5³
Answer = 125 cm³
Finding Cube Edge from Volume
Rearranging:
a = ∛V
If V = 216 cm³:
a = ∛216
Answer = 6 cm
Cuboid Volume Calculator
A cuboid, also called a rectangular prism, has three mutually perpendicular dimensions.
Cuboid Volume Formula
V = lwh
Where:
l = length.
w = width.
h = height.
Worked Example
Length = 12 cm
Width = 8 cm
Height = 5 cm
V = 12 × 8 × 5
Answer = 480 cm³
Finding a Missing Dimension
If volume, width, and height are known:
l = V/(wh)
Similarly:
w = V/(lh)
h = V/(lw)
These relationships are useful in rectangular tank and box calculations.
Cylinder Volume Calculator
A right circular cylinder has two parallel circular bases.
Cylinder Volume Formula
V = πr²h
Where:
r = base radius.
h = perpendicular height.
Worked Example
Radius = 5 cm
Height = 10 cm
V = π × 5² × 10
V = 250π
Answer ≈ 785.40 cm³
Cylinder Volume from Diameter
Since r = d/2:
V = πd²h/4
Finding Cylinder Height from Volume
h = V/(πr²)
Finding Cylinder Radius from Volume
r = √[V/(πh)]
Cone Volume Calculator
A right circular cone has a circular base and an apex.
Cone Volume Formula
V = πr²h/3
Where h is the perpendicular height, not the slant height.
Worked Example
Radius = 3 cm
Height = 4 cm
V = π × 3² × 4/3
V = 12π
Answer ≈ 37.70 cm³
Cone Volume from Diameter
V = πd²h/12
Finding Cone Height
h = 3V/(πr²)
Finding Cone Radius
r = √[3V/(πh)]
Cone vs Cylinder Volume
For equal base radius and perpendicular height:
Cone volume = Cylinder volume/3
This is an important relationship in solid geometry.
Sphere Volume Calculator
A sphere is a three-dimensional solid whose surface points are equidistant from its centre.
Sphere Volume Formula
V = 4πr³/3
Worked Example
Radius = 6 cm
V = 4π × 6³/3
V = 288π
Answer ≈ 904.78 cm³
Sphere Volume from Diameter
Since r = d/2:
V = πd³/6
Finding Sphere Radius from Volume
r = ∛[3V/(4π)]
Pyramid Volume Calculator
A pyramid has a polygonal base and triangular lateral faces meeting at an apex.
General Pyramid Volume Formula
V = Bh/3
Where:
B = base area.
h = perpendicular height.
This formula applies to right and oblique pyramids.
Square Pyramid Volume
For a square base of side a:
V = a²h/3
Worked Example
Base side = 6 cm
Height = 4 cm
Base area:
B = 6² = 36 cm²
Volume:
V = 36 × 4/3
Answer = 48 cm³
Rectangular Pyramid Volume
For a rectangular base with length l and width w:
V = lwh/3
Finding Pyramid Height
h = 3V/B
Prism Volume Calculator
A prism has two parallel, congruent polygonal bases.
Prism Volume Formula
V = Bh
Where B is the base area and h is the perpendicular distance between the base planes.
Triangular Prism Example
A right triangular prism has a triangular base with:
Triangle base = 6 cm
Triangle altitude = 4 cm
Prism height = 10 cm
Triangular base area:
B = 6 × 4/2
B = 12 cm²
Prism volume:
V = 12 × 10
Answer = 120 cm³
The triangle altitude and prism height are different measurements.
Hemisphere Volume Calculator
A hemisphere is half of a sphere.
Hemisphere Volume Formula
V = 2πr³/3
Worked Example
Radius = 3 cm
V = 2π × 3³/3
V = 18π
Answer ≈ 56.55 cm³
The hemisphere volume is exactly half the volume of a sphere with the same radius.
Truncated Cone Volume Calculator
A conical frustum is formed by cutting a cone with a plane parallel to its base.
Let:
R = larger radius.
r = smaller radius.
h = perpendicular height.
Frustum Volume Formula
V = (πh/3)(R² + Rr + r²)
Worked Example
Larger radius = 6 cm
Smaller radius = 3 cm
Height = 8 cm
V = (8π/3)(36 + 18 + 9)
V = 168π
Answer ≈ 527.79 cm³
This formula applies to a circular conical frustum with parallel end faces.
Ellipsoid Volume Calculator
An ellipsoid is a three-dimensional surface whose principal semiaxes may have different lengths.
Ellipsoid Volume Formula
V = 4πabc/3
Where a, b, and c are the three semiaxis lengths.
Worked Example
a = 3 cm
b = 4 cm
c = 5 cm
V = 4π × 3 × 4 × 5/3
V = 80π
Answer ≈ 251.33 cm³
When all three semiaxes are equal, the ellipsoid becomes a sphere.
Volume Unit Conversion
Volume uses cubic units because it measures three-dimensional space.
Common Volume Units
- Cubic millimetre (mm³).
- Cubic centimetre (cm³).
- Cubic metre (m³).
- Cubic inch (in³).
- Cubic foot (ft³).
- Litre (L).
- Millilitre (mL).
Important Conversion Factors
1 cm³ = 1 mL
1,000 cm³ = 1 L
1 m³ = 1,000 L
1 m³ = 1,000,000 cm³
1 ft³ = 1,728 in³
1 in = 2.54 cm exactly
1 ft = 0.3048 m exactly
Cubic Metres to Litres
Litres = cubic metres × 1,000
Example:
2.5 m³ = 2,500 L
Cubic Centimetres to Litres
Litres = cubic centimetres/1,000
Example:
7,500 cm³ = 7.5 L
Cubic Feet to Cubic Metres
1 ft³ = 0.028316846592 m³ exactly.
Example:
10 ft³ = 0.28316846592 m³.
Important Unit Conversion Rule
When converting a length unit, cube the linear conversion factor for volume.
Since:
1 m = 100 cm
Then:
1 m³ = 100³ cm³
Therefore:
1 m³ = 1,000,000 cm³
Volume Calculator for Civil Engineering
Volume calculations are important in civil engineering, construction, structural design, and material quantity estimation.
Concrete Volume Calculator
For a rectangular concrete element:
V = length × width × thickness
Rectangular Footing Example
Length = 2 m
Width = 1.5 m
Thickness = 0.5 m
V = 2 × 1.5 × 0.5
Answer = 1.5 m³
This is the ideal gross geometric volume.
Concrete Column Volume
For a prismatic rectangular column:
V = bdh
Where:
b = width.
d = depth.
h = column height.
Worked Example
b = 0.3 m
d = 0.4 m
h = 3 m
V = 0.3 × 0.4 × 3
Answer = 0.36 m³
Concrete Beam Volume
For a prismatic rectangular beam:
V = bdL
Actual quantity measurements may require deductions or adjustments at structural intersections.
Cylindrical Concrete Element
For an ideal solid circular cylinder:
V = πr²h
This may be used for preliminary geometric volume estimation of cylindrical components.
Water Tank Capacity
For a rectangular tank:
V = lwh
For a cylindrical tank:
V = πr²h
Use internal dimensions to calculate ideal storage capacity.
Excavation Volume
For a rectangular excavation with uniform dimensions:
V = lwh
Actual excavation quantities depend on the excavation geometry, side slopes, and survey measurements.
Earthwork and Embankment Quantities
Volume estimation is essential for excavation, filling, and embankment calculations.
Complex site geometry may require cross-sectional, surface-based, or numerical methods rather than a single elementary formula.
Structural Analysis and Modelling
Geometric volume is useful in estimating material quantities, mass, and self-weight.
For a homogeneous material:
Mass = density × volume
Weight is then:
Weight = mass × gravitational acceleration
The density and gravitational acceleration must be expressed in consistent units.
Volume vs Capacity
Volume and capacity are related but not identical concepts.
Volume describes three-dimensional space.
Capacity commonly describes how much a container can hold.
For a rectangular tank, ideal full capacity is calculated from internal length, width, and height.
For example:
Internal length = 2 m
Internal width = 1 m
Internal height = 1.5 m
Volume:
V = 2 × 1 × 1.5
V = 3 m³
Capacity:
3 × 1,000 = 3,000 L
Ideal full capacity = 3,000 litres
Actual usable capacity may be smaller because of freeboard, fittings, or operational requirements.
How Scaling Affects Volume
If every linear dimension of a three-dimensional solid is multiplied by a scale factor k, its volume is multiplied by k³.
For example:
Doubling all dimensions gives:
New volume = 2³ × original volume = 8 × original volume
Tripling all dimensions gives:
New volume = 3³ × original volume = 27 × original volume
This relationship is important in geometric similarity, model testing, and engineering scaling.
Common Mistakes in Volume Calculations
- Using square units instead of cubic units.
- Confusing volume with surface area.
- Forgetting the one-third factor for cones and pyramids.
- Using diameter instead of radius without conversion.
- Using slant height instead of perpendicular height.
- Mixing centimetres, millimetres, and metres.
- Failing to cube the linear unit conversion factor.
- Using external dimensions to calculate internal tank capacity.
- Applying full-cone formulas to truncated cones.
- Assuming a complex solid is a perfect geometric shape.
- Ignoring project-specific quantity deductions.
- Rounding intermediate calculations too early.
Frequently Asked Questions About Volume Calculator
1. What is a Volume Calculator?
A Volume Calculator is a mathematical tool used to calculate the volume of three-dimensional shapes from their known dimensions.
2. What is the formula for volume?
The formula depends on the shape. For a rectangular prism, V = lwh. For a cylinder, V = πr²h.
3. How do you calculate cube volume?
Use V = a³, where a is the cube edge length.
4. How do you calculate cuboid volume?
Use V = lwh.
5. What is the cylinder volume formula?
V = πr²h.
6. What is the cone volume formula?
V = πr²h/3.
7. What is the sphere volume formula?
V = 4πr³/3.
8. What is the pyramid volume formula?
V = Bh/3.
9. What is the prism volume formula?
V = Bh.
10. What is the hemisphere volume formula?
V = 2πr³/3.
11. What is the difference between volume and surface area?
Volume measures three-dimensional space, while surface area measures the area covering a solid’s boundary.
12. How many litres are in one cubic metre?
One cubic metre equals 1,000 litres.
13. How many cubic centimetres are in one litre?
One litre equals 1,000 cubic centimetres.
14. How do you calculate concrete volume?
For a rectangular concrete element, multiply its length, width, and thickness using consistent units.
15. How do you calculate rectangular tank capacity?
Multiply the internal length, width, and height, then convert the resulting cubic volume to the desired capacity unit.
16. Why is volume important in engineering?
Volume is used in concrete quantity estimation, excavation, material planning, storage capacity, geometric modelling, and mass calculations.
Explore Volume Formulas with SOCE
The SOCE Volume Calculator page provides a mathematical reference for understanding the volume of common three-dimensional shapes.
Use this Volume Calculator guide to study cube, cuboid, cylinder, cone, sphere, pyramid, prism, hemisphere, and frustum volume formulas.
Explore additional mathematics and engineering resources through the SOCE Geometry Calculators collection.