Home › Math › Volume Calculator

Volume and Surface Area Calculator

Choose a shape and enter its dimensions in any unit. Volume comes out in that unit cubed, with a conversion to US gallons if you measured in inches and liters if you measured in centimetres.

Volume

—

Surface area
—
If inches: US gallons
—
If centimetres: liters
—

How much does it hold, and how much material wraps it?

Volume tells you capacity: how much water fills a tank or how much soil fills a planter. Surface area tells you how much material covers it: paint, sheet metal or insulation. This calculator gives both for four common shapes.

A cylinder with a radius of 3 and a height of 5 holds 141.3717 cubic units and has 150.7964 square units of surface. If those were inches, it would hold 0.612 US gallons. The same radius gives a cone of 47.1239 cubic units and a sphere of 113.0973 cubic units.

Volume by shape, same radius and heightSphere113 units³Cylinder141 units³Cone47.1 units³
Volume of a sphere, cylinder and cone using your radius (and your height for the cylinder and cone). Your selected shape is highlighted.

Which measurement goes where

  • Radius is half the diameter. Measure across the widest part and halve it; a common slip is entering the diameter and getting four times the volume.
  • Height is the straight distance from base to top, not the sloped side of a cone.
  • Box: the radius field is used as the length, so enter length, width and height.

Formulas

Sphere: V = 4/3 × π × r³; A = 4 × π × r²
Cylinder: V = π × r² × h; A = 2 × π × r × (r + h)
Cone: V = π × r² × h ÷ 3; A = π × r × (r + l), where l = √(r² + h²)
Box: V = length × width × height; A = 2 × (lw + lh + wh)

Surface areas are for closed shapes, including the base and lid. For an open-topped tank, subtract one end (π × r² for a cylinder).

Same radius, different shapes

Archimedes worked out two neat relationships. A cone holds exactly one third of the cylinder with the same base and height, which the chart shows directly. A sphere holds two thirds of the cylinder that just encloses it (height equal to the diameter).

Everyday containers (measurements in inches)
ItemVolumeUS gallons
Soup can: cylinder, r 1.5, h 4.531.8086 cubic units0.1377
Bucket: cylinder, r 5.5, h 12.21,159.4048 cubic units5.0191
Basketball: sphere, r 4.7434.8928 cubic units1.8827
Planter: box, 24 × 12 × 102,880 cubic units12.4675

Converting the result

Volume comes out in cubic units of whatever you measured in.

  • Cubic inches to US gallons: divide by 231 (exact).
  • Cubic centimeters to liters: divide by 1,000.
  • Cubic feet to US gallons: multiply by about 7.48.
  • Cubic meters to liters: multiply by 1,000.

Only one of the gallon or liter outputs applies to your units: ignore the other.

Mistakes to avoid

  • Mixing units. A radius in inches and a height in feet gives nonsense. Convert first with the length converter.
  • Using outside dimensions for capacity. A tank's walls take up space; use inside measurements for what it holds.
  • Confusing doubling. Double the radius and a cylinder's volume quadruples; double the height and it only doubles.

For slabs and footings, the concrete calculator adds waste and bag counts. For walls and surfaces, see the paint calculator. Flat shapes with three known sides are covered by the triangle calculator.

Volume and surface area questions

How do I find the volume of a cylinder?

Multiply π by the radius squared and by the height. Radius 3 and height 5 gives about 141.37 cubic units.

What is the volume of a sphere?

4/3 × π × r³. A sphere with a radius of 3 holds about 113.1 cubic units.

Why is a cone one third of a cylinder?

A cone tapers evenly to a point. Integrating its circular slices gives exactly one third of the cylinder with the same base and height.

How many cubic inches are in a gallon?

A US gallon is exactly 231 cubic inches. A UK gallon is larger, about 277.4.

Related guide

Related calculators