Compute Volume with exact geometric formulas. Enter the required dimensions to see area, perimeter, or volume alongside step-by-step derivations.
Formula
Box: V = L×W×H | Sphere: V = (4/3)πr³
Volume formulas vary by shape. Results given in multiple units including cubic cm, liters, and gallons.
Worked Examples
Example 1: Rectangular Tank
Problem:Calculate the volume and capacity of a tank 2m × 1.5m × 1m.
Solution:Volume = L × W × H
V = 2 × 1.5 × 1 = 3 m³
Capacity in liters:
3 m³ × 1000 = 3000 liters
In gallons:
3000 × 0.264 = 792 gallons
Result:3 m³ = 3000 liters
Example 2: Basketball Volume
Problem:A basketball has diameter 24 cm. Find its volume.
Solution:Radius = 24/2 = 12 cm
V = (4/3)πr³
V = (4/3) × π × 12³
V = (4/3) × π × 1728
V = 7238.2 cm³
V = 7.24 liters
Result:7238 cm³ (7.24 L)
Example 3: Ice Cream Cone
Problem:Cone: radius 3cm, height 12cm. How much ice cream fits?
Solution:V = (1/3)πr²h
V = (1/3) × π × 3² × 12
V = (1/3) × π × 9 × 12
V = (1/3) × 339.3
V = 113.1 cm³ ≈ 113 mL
Result:113 cm³ (113 mL)
Frequently Asked Questions
How do I calculate volume of a box?
Volume = Length × Width × Height. For a box 10cm × 8cm × 6cm: V = 10 × 8 × 6 = 480 cm³ = 0.48 liters.
What is the formula for sphere volume?
V = (4/3)πr³. For a sphere with radius 5cm: V = (4/3) × π × 5³ = 523.6 cm³. The radius is half the diameter.
How do I find cylinder volume?
V = πr²h. For a cylinder with radius 4cm and height 10cm: V = π × 4² × 10 = 502.7 cm³. Think of it as base area × height.
What's the difference between volume and capacity?
Volume is the space an object occupies. Capacity is how much a container can hold. They're equivalent but capacity usually refers to liquids (liters, gallons).
How do I calculate cone volume?
V = (1/3)πr²h. A cone is 1/3 the volume of a cylinder with same base and height. For r=3cm, h=9cm: V = (1/3) × π × 9 × 9 = 84.8 cm³.
What is a cubic meter in liters?
1 cubic meter = 1000 liters. Also 1 m³ = 1,000,000 cm³. A cubic meter is a very large volume—about 264 gallons.
How do I calculate pyramid volume?
V = (1/3) × base area × height. For rectangular pyramid: V = (1/3) × length × width × height. Pyramids are 1/3 of a prism volume.
What's the volume of a swimming pool?
Rectangular pool: L × W × average depth. For 10m × 5m × 1.5m deep: V = 75 m³ = 75,000 liters = ~20,000 gallons.
How do I calculate irregular shape volume?
Use water displacement: submerge object, measure water displaced. Or break into regular shapes, calculate each, and sum. Integration for complex shapes.
Background & Theory
Volume is the measure of three-dimensional space enclosed by or occupied by an object. Unlike area (which measures a flat, two-dimensional surface), volume accounts for all three spatial dimensions — length, width, and depth. Volume is expressed in cubic units: cubic centimeters (cm³), cubic meters (m³), cubic inches (in³), cubic feet (ft³), liters (L), or gallons (gal), depending on the context and the measurement system used.
**Fundamental Volume Formulas:**
**Rectangular Prism (Box or Cuboid):**
V = length × width × height
The most common shape for rooms, boxes, tanks, and shipping containers. All three dimensions must be in the same unit before multiplying.
**Sphere:**
V = (4/3) × π × r³
The sphere formula was derived by Archimedes. The radius r is half the diameter. Because radius is cubed, small changes in radius produce large changes in volume — doubling the radius increases volume by a factor of 8.
**Cylinder:**
V = π × r² × h
A cylinder is essentially a circle (base area = πr²) extruded along its height. Useful for calculating the volume of pipes, tanks, cans, and columns.
**Cone:**
V = (1/3) × π × r² × h
A cone holds exactly one-third the volume of a cylinder with the same base radius and height. This relationship was proven by Archimedes and Euclid.
**Pyramid (Rectangular Base):**
V = (1/3) × length × width × height
Similarly, a pyramid contains one-third the volume of a rectangular prism (box) with the same base dimensions and height. This applies to pyramids with any polygonal base when the appropriate base area is used.
**Hemisphere:**
V = (2/3) × π × r³
Half a sphere. A hemisphere with radius r holds exactly half the volume of a full sphere.
**Understanding the Formulas Geometrically:**
The factor of 1/3 in the cone and pyramid formulas can be understood intuitively: you can fit exactly 3 cones (or pyramids) worth of material into the corresponding cylinder (or prism) of the same base and height. This is demonstrated by filling a cone with water and pouring it into an equal-base cylinder exactly three times to fill it.
**Unit Conversions:**
Volume units are cubic, meaning conversion factors are cubed: 1 foot = 12 inches, so 1 cubic foot = 12³ = 1,728 cubic inches. 1 meter = 100 centimeters, so 1 m³ = 100³ = 1,000,000 cm³ = 1,000 liters. The US liquid gallon equals 231 cubic inches = 3.785 liters. The imperial (UK) gallon equals 4.546 liters — about 20% larger than the US gallon.
Key equivalencies: 1 mL = 1 cm³ (exactly, by definition). 1 liter = 1,000 mL = 1,000 cm³. 1 m³ = 1,000 liters = 1 kiloliter. 1 US gallon = 3.785 liters. 1 ft³ = 28.317 liters. 1 in³ = 16.387 cm³.
**Practical Applications:**
Volume calculations are essential for: determining how much concrete, water, or fill material a container holds; calculating shipping dimensions and freight class; dosing medications (ml and mg/ml); sizing HVAC systems (room air volume); designing tanks, pools, and reservoirs; and solving chemistry problems involving molar volume and concentration. The displacement method — measuring volume by submerging an object in water and measuring the displaced volume — extends these techniques to irregular shapes that have no simple geometric formula.
History
The measurement of volume has been essential to human civilization from the earliest settlements, arising from practical needs like taxing grain, trading liquids, constructing buildings, and managing water supplies.
Ancient Egyptian civilization developed standardized volume units as early as 3000 BCE. The hekat (approximately 4.8 liters) was the primary unit for measuring grain, crucial for the distribution of food and for calculating tax obligations to the pharaoh. Egyptian scribes used fractional subdivisions of the hekat, including the hin, ro, and oipe, allowing precise measurement of commodities. The Rhind Mathematical Papyrus (c. 1650 BCE) contains problems involving calculating the volume of cylindrical granaries.
Babylonian mathematicians also worked with volume calculations, particularly for irrigation canals and grain storage. Their sexagesimal (base-60) number system made it convenient to work with fractions of standard volumes.
The most celebrated breakthrough in volume mathematics came from Archimedes of Syracuse (287–212 BCE). He proved that the volume of a sphere is exactly two-thirds that of the smallest cylinder that can contain it — a result he considered his greatest achievement and requested be inscribed on his tombstone. Archimedes also developed the water displacement method for measuring the volume of irregular objects, famously (according to legend) discovering the principle while stepping into a bath and exclaiming "Eureka!" (I have found it!). His systematic approach to deriving volume formulas for spheres, cones, and paraboloids was centuries ahead of its time.
Euclid's Elements (c. 300 BCE) established rigorous geometric proofs for the volumes of prisms and pyramids, proving that a pyramid has one-third the volume of a prism with the same base and height. These results were extended and generalized by later Greek mathematicians including Eudoxus of Cnidus, whose method of exhaustion was an early form of integral calculus.
Bonaventura Cavalieri (1598–1647) formalized Cavalieri's principle in the 17th century: two solids of equal height with equal cross-sectional areas at every height have equal volumes. This powerful principle allows complex volume calculations to be reduced to simpler ones and was a key precursor to integral calculus as developed by Newton and Leibniz.
The French Revolution brought the metric system and the standardization of the liter. Originally defined (1795) as the volume of 1 kilogram of water at its maximum density (approximately 4°C), the liter was later redefined as exactly 1000 cubic centimeters (1 dm³) for practical consistency. The US customary gallon (3.785 liters) and the imperial gallon (4.546 liters) reflect separate historical evolutions from English medieval liquid measures.
Today, volume calculation is fundamental to engineering, architecture, manufacturing, chemistry, medicine (drug dosing), shipping (freight volume), and environmental science (reservoir and groundwater management).
Essential site storage stays on. Analytics, performance, and marketing cookies remain off until you choose. Calculator inputs stay on your device, and we do not sell your personal data.
We use essential cookies only. Analytics cookies require your consent.