Field Service Cost Compare prices

Home/Calculators/Volume calculator

Volume calculator: box, cylinder, sphere, cone and pyramid

You are standing on site with dimensions jotted on a scrap of paper and need to know how much material a footing, tank or pile will take before you order, and guessing from memory leaves you unsure of the figure. Volume calculator. Nothing was tested for this page; the numbers come from the formula shown below and the inputs you enter.

CalculatorBuilt 27 November 2026Example inputs, not industry averages

Box (rectangular prism), cylinder, sphere, cone or rectangular pyramid.
Use one unit for every dimension.
Used by the box and the pyramid.
Used by the box and the pyramid.
Used by the box, cylinder, cone and pyramid. For a cone or pyramid, the straight-up height, not the slanted side.
Used by the cylinder, sphere and cone. Across the widest point.
Number of identical pieces. Leave 1 for one.

Volume, cubic units of your measurement

—

Volume of one piece, cubic units of your measurement
—
Cubic feet
—
Cubic yards
—
Cubic meters
—
Liters
—
US gallons
—

An estimate from the formula below and the numbers you typed. Check quantities against your plan and your supplier before you order.

Put it into a job estimate

Pick a shape, a unit and the dimensions that shape needs, then set how many of them you have. The calculator returns the volume in cubic units plus cubic feet, cubic yards, cubic meters, liters and US gallons.

The automatic calculation needs JavaScript. With scripting off, the fields above do nothing and the result area stays empty. The formula is written out below, so you can do the same arithmetic on paper.

Volume calculator: how to measure

  1. Choose the shape that matches the object you are measuring.
  2. Measure length, width and height for a box or pyramid, or the diameter and height for a cylinder or cone.
  3. Measure the diameter across the widest point and the height straight up for round shapes.
  4. Take every measurement in the same unit, then enter the count of identical items.

Volume calculator formula, written out

  • box: volume = length x width x height
  • cylinder: volume = pi x radius squared x height
  • sphere: volume = 4/3 x pi x radius cubed
  • cone: volume = 1/3 x pi x radius squared x height
  • pyramid: volume = 1/3 x length x width x height
  • radius = diameter / 2; total = volume x quantity
  • cubic feet, yards, meters, liters and gallons by unit conversion

Volume calculator worked example

With the inputs already in the form (shape Box (rectangular prism), unit of the measurements Feet, length 10, width 5, height 2, quantity (optional) 1) the result is: volume, cubic units of your measurement: 100.000; volume of one piece, cubic units of your measurement: 100.000; cubic feet: 100.000; cubic yards: 3.704; cubic meters: 2.832; liters: 2,831.68; us gallons: 748.05.

  1. Volume = length x width x height = 10.000 x 5.000 x 2.000 = 100.000 cubic ft
  2. Total volume = 100.000 cubic ft
  3. Cubic feet = 100.000; cubic yards = 3.704; cubic meters = 2.832
  4. Liters = 2,831.68; US gallons = 748.05

For a round tank with a liquid level, use the cylinder volume calculator in gallons. To turn a room volume into airflow, use the CFM calculator for room airflow.

What the volume calculator assumes

  • Every measurement is entered in the same unit you select for the shape.
  • Round shapes use the diameter you enter, halved to get the radius.
  • The shape is solid and regular, with no hollow sections or cutouts.
  • Surface area is not calculated, and irregular shapes are not supported.

Volume calculator questions people ask

Which shapes can I calculate?

You can pick a box, cylinder, sphere, cone or rectangular pyramid. Each shape uses only the dimensions it needs, such as length, width, height or diameter, and ignores the other fields.

What formulas does it use?

A box uses length times width times height. A cylinder uses pi times radius squared times height, a sphere uses four thirds of pi times radius cubed, a cone uses one third of pi times radius squared times height, and a rectangular pyramid uses one third of length times width times height.

What units can I enter and what do I get back?

You can enter inches, feet, yards, centimeters or meters. The result is given in cubic units, cubic feet, cubic yards, cubic meters, liters and US gallons.

Can it handle more than one item?

Yes. Enter the quantity and the volume is worked out for that many identical shapes. Hollow shapes, irregular shapes and surface area are not covered.

This calculator belongs to the measuring and geometry calculators. To price the whole job, not just this part, use the job costing calculator and the pricing guide below.

How this site makes money. Affiliate links on this site are marked before you click them, and a commission will never change a price, a test result or a ranking. Details in the affiliate disclosure.