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
—

Tips for using the volume calculator

  • Measure the diameter and halve it if the radius is hard to reach.
  • For open-topped containers, subtract one end (πr²) from the surface area.
  • For concrete or mulch, use the concrete calculator, which converts to cubic yards.

How the volume calculator works

Each shape has a standard formula. Here r is the radius (half the diameter) and h the height.

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), slant l = √(r² + h²)
Box: V = l × w × h · A = 2(lw + lh + wh)

Surface area includes the ends or base (the closed shape). Volume is in cubic units of whatever you measured with. A US gallon is 231 cubic inches and a liter is 1,000 cubic centimetres, so those conversions are shown for convenience. For a box, the radius field is used as the length.

Worked example

A cylindrical can with a radius of 3 in and a height of 5 in holds π × 9 × 5 = 141.37 cubic inches, about 0.61 US gallons, and has 150.8 square inches of surface area. A cone with radius 3 and height 4 has a slant height of 5, a volume of 37.70 and a surface area of 75.40. A sphere of radius 3 has a volume of 113.1.

Frequently asked questions

How do I find the volume of a cylinder?

Multiply π by the radius squared and by the height: V = πr²h.

Why is a cone one third of a cylinder?

A cone with the same base and height holds exactly one third of the cylinder's volume, a result known since Archimedes and Eudoxus.

How many gallons is a cubic foot?

About 7.48 US gallons (1,728 cubic inches ÷ 231).

Does surface area include the top and bottom?

Yes, the results are for closed shapes.

Updated October 2026. Results are estimates for education, not financial or medical advice. All math runs in your browser; nothing you type is sent anywhere.

Related calculators