Volume Calculator
Quick & Easy Volume Calculator

Online Volume Calculator

Quickly calculate volume for boxes, cylinders, spheres, cubes, and cones. Enter your measurements into our volumetric calculator and volume solver for instant cubic volume and liquid capacity results in gallons, litres, cubic feet, and cubic meters.

Rectangular Box

Calculates the volume of boxes, shipping packages, rooms, and rectangular containers.

Calculated Volume
0.00

Need Tanks, Pipes, Pyramids, or Specialized Shapes?

Explore our complete directory of all 16 dedicated 3D tools with instant step-by-step arithmetic.

Browse All 16 Tools Hub→
Featured calculators and formulas

Popular volume calculators and formulas

Direct access to our most requested geometric calculation and water capacity tools with step-by-step arithmetic.

Kamlesh Choudhary (devxkamlesh)
Kamlesh Choudhary(devxkamlesh)

Full Stack Engineer & AI Systems Architect · Educated at MJRPU Jaipur

Standards reference:NIST SP 811 & ISO 80000-3
Geometric reference and calculation principles

Geometric principles and volume measurement standards

Calculating three-dimensional space accurately requires applying precise mathematical equations to clean physical measurements. Whether you calculate cargo volume for freight shipping, fluid capacity for storage tanks, or structural displacement for building foundations, geometric equations determine spatial capacity. The calculations on this site run in 64-bit floating-point precision, converting linear dimensions into cubic volume and liquid capacity across metric and imperial systems.

Definition of volume and measurement units

In physics and geometry, volume is the total quantity of three-dimensional space enclosed by a boundary or occupied by a substance. Surface area covers an exterior boundary in square units, such as square meters or square feet. Volume measures three linear dimensions at once, producing cubic units such as cubic meters, cubic feet, cubic centimeters, or liquid capacity units such as litres and gallons.

To calculate volume for any standard solid, measure its linear dimensions and apply the mathematical equation for that shape. For polyhedra such as cubes and boxes, volume is the area of the base multiplied by perpendicular height. For circular shapes such as cylinders and spheres, the mathematical constant Pi (π ≈ 3.141592653589793) accounts for boundary curvature. Entering measurements into the calculator provides exact numerical results and formula breakdowns.

Standard volume formulas for 3D geometric shapes

Our multi-shape calculator supports sixteen distinct geometries. Each shape uses a verified equation:

Rectangular boxV = l × w × h

Multiply length by width by height. This formula applies to cardboard packages, rooms, and shipping cartons.

CubeV = s³

All edges of a cube have identical length. Multiply the single edge measurement by itself three times.

Cylinder volumeV = π × r² × h

Multiply circular base area by vertical height. Used for water storage tanks, metal pipes, and industrial barrels.

Sphere formulaV = (4/3) × π × r³

Multiply four-thirds by Pi and the cube of the radius. This equation applies to sports balls, storage globes, and spherical tanks.

ConeV = (1/3) × π × r² × h

Multiply one-third by Pi, base radius squared, and vertical height. Standard for funnels, silos, and hoppers.

Pyramid volume formulaV = (1/3) × a² × h

Multiply one-third by base edge squared and vertical height. Solves capacity for pyramid roofs, monuments, and hoppers.

Horizontal cylinder tankPartial dip-stick calculus

Uses circular segment integration based on liquid fill depth and tank length to calculate remaining fuel or water.

Liquid capacity and water volume calculations

Homeowners and facility managers calculate volume when sizing swimming pools, garden ponds, rainwater collection barrels, and hot tubs. Liquid containers are usually labeled in gallons or litres rather than cubic inches.

Linear measurements convert directly into fluid capacity. For instance, a cylindrical garden pool with a diameter of 12 feet and a water depth of 3 feet has a cubic volume of 339.29 cubic feet. Because one cubic foot of fresh water contains 7.48052 US liquid gallons according to NIST Special Publication 811, the pool holds approximately 2,538 gallons of water, which equals 9,607 litres.

Liquid conversion factors (NIST SP 811 standard)

  • 1 cubic foot equals 7.48052 US liquid gallons, 6.2288 Imperial gallons, and 28.3168 litres
  • 1 cubic meter equals 1,000 litres, 264.172 US liquid gallons, and 219.969 Imperial gallons
  • 1 US gallon equals 231 cubic inches, 3.78541 litres, and 0.13368 cubic feet
  • 1 Imperial gallon equals 4.54609 litres and 1.20095 US gallons
  • 1 litre of fresh water has a mass of 1 kilogram; 1 US gallon weighs approximately 8.34 pounds

Cubic feet measurements in shipping and construction

In North America, cubic feet are standard for shipping packages, renting storage lockers, and purchasing building materials. When packing a trailer or booking freight, calculating cubic feet prevents carrier surcharges and clarifies capacity requirements.

Rulers and tape measures mark dimensions in inches. Because one linear foot equals 12 inches, one cubic foot equals 12 inches multiplied by 12 inches multiplied by 12 inches, which equals 1,728 cubic inches. To calculate cubic feet from measurements in inches, multiply length, width, and height, then divide by 1,728:

Cubic feet = [Length (in) × Width (in) × Height (in)] ÷ 1,728

In landscaping and concrete pouring, suppliers sell materials by the cubic yard. One cubic yard equals 27 cubic feet (3 ft × 3 ft × 3 ft). If an excavation or garden bed requires 81 cubic feet of soil, divide by 27 to find that you need 3 cubic yards of material.

Metric volume scale: cubic meters, litres, and cubic millimeters

The metric system simplifies three-dimensional calculations because its units scale in decimal multiples of ten. The fundamental SI unit of volume is the cubic meter (m³).

One cubic meter equals 1,000 litres, 1,000,000 cubic centimeters, and 1,000,000,000 cubic millimeters. Freight forwarders quote international container space in CBM (cubic meters). A standard 20-foot shipping container holds roughly 33 CBM of cargo, while a 40-foot container accommodates roughly 67 CBM.

Volume unit conversion reference table (NIST SP 811 & ISO 80000-3)

This table displays direct conversion values across metric, imperial, and fluid volume units based on standards published in NIST Special Publication 811 and ISO 80000-3:

UnitSymbolLitres (L)Cubic feet (ft³)US gallons (gal)
Cubic meterm³1,000 L35.3147 ft³264.172 gal
LitreL1 L0.035315 ft³0.264172 gal
US liquid gallongal3.78541 L0.133681 ft³1 gal
Cubic footft³28.3168 L1 ft³7.48052 gal
Cubic yardyd³764.555 L27 ft³201.974 gal
Cubic inchin³0.016387 L0.0005787 ft³0.004329 gal
Cubic millimetermm³0.000001 L3.5315 × 10⁻⁸ ft³2.6417 × 10⁻⁷ gal

Everyday applications of volume calculations

Precise calculations prevent costly errors across domestic, commercial, and engineering tasks:

Freight and shipping

Courier companies bill using dimensional weight, dividing total cubic inches by a dimensional divisor. Calculating package volume accurately prevents re-billing adjustments.

Water and pool treatment

Chlorine dosages, pH balancers, and algaecides require exact liquid measurements. Incorrect volume calculations risk chemical imbalances or wasted treatments.

Heating and cooling sizing

Heating and ventilation systems require capacity ratings based on the total enclosed air volume of a structure, including vaulted ceilings and open halls.

Authoritative answers

Frequently asked questions about volume

Mathematical derivations and conversion answers for common volumetric questions.

1How do you calculate volume for irregular shapes?▼
For irregular three-dimensional solids without uniform geometric symmetry, calculate volume using the Archimedes fluid displacement method. Submerge the solid completely in a graduated container filled with liquid, such as water at 20°C. Measure the change in liquid level: the displaced volume in milliliters equals the solid volume in cubic centimeters (1 mL = 1 cm³). For large objects exceeding container dimensions, calculate volume using 3D photogrammetry or divide the object into a finite mesh of standard prisms and sum their individual capacities.
2How does temperature affect water volume to mass calculations?▼
Water density fluctuates with temperature according to standard thermodynamic tables. Pure water reaches its maximum density of 1,000.00 kg/m³ at 3.98°C (approximately 4°C), where exactly one litre equals one kilogram. At a standard room temperature of 20°C (68°F), water expands: its density decreases to 998.20 kg/m³, meaning one litre weighs 0.9982 kilograms, and one metric ton of water occupies 1.0018 cubic meters. When calculating tank volumes for municipal heating or chemical dosing, temperature adjustments prevent overfilling.
3What is the difference between US liquid gallons, US dry gallons, and Imperial gallons?▼
United States customary units define two distinct gallons, while the British Imperial system defines a third. The US liquid gallon is defined by NIST SP 811 as exactly 231 cubic inches (approximately 3.785411784 litres). The US dry gallon, used historically for agricultural produce like grain and berries, equals exactly 268.8025 cubic inches (approximately 4.40488 litres). The British Imperial gallon, defined under the UK Weights and Measures Act of 1985, equals exactly 4.54609 litres (approximately 277.419 cubic inches). One Imperial gallon holds 20% more liquid volume than a US liquid gallon.
4How is dimensional weight calculated for shipping and freight?▼
Commercial couriers and freight forwarders bill packages using dimensional weight (also called volumetric weight) when a light parcel occupies significant spatial volume. For international air shipments complying with IATA standards, dimensional weight in kilograms equals package length multiplied by width multiplied by height in centimeters, divided by 5,000 (or 6,000 for standard sea freight). For domestic United States express carriers, dimensional weight in pounds equals cubic inches divided by a dimensional factor, typically 139 for daily retail rates or 166 for commercial parcel contracts.