SmartCalc
FinancialHealthHome & EngineeringMathematicsTime & DateConvertersEducationGeneratorsGeneral
  1. Home
  2. /Mathematics
  3. /Geometry & volume
  4. /Volume Calculator

Volume Calculator

Free volume calculator for cubes, boxes, cylinders, spheres and cones. Get instant results in cm³, liters, gallons, cubic feet and cubic inches. Select a shape.

Volume is how much space a three-dimensional object takes up — and the right formula depends on the shape. A cylinder needs its radius and height, a box needs three measurements, a sphere only its radius.

This volume calculator covers the five most common shapes: cube, rectangular box, cylinder, sphere and cone. It shows the volume in cubic centimeters and converts it to liters, gallons, cubic feet and cubic inches at the same time.

Aquarium owners can size a tank, cooks check containers, DIYers estimate concrete or fill material, and students verify geometry homework — all without converting units by hand.

Select a shape and enter the dimensions shown; the volume and every conversion update instantly. Try the box with 30 × 20 × 10 cm to see 6 liters.

Your inputs

Each shape uses only some fields: cube uses side; box uses length, width and height; cylinder and cone use radius and height; sphere uses radius. Fields not used by the selected shape are ignored.
Volume
6,000 cm³
Example
Example: Box 30 × 20 × 10 cm

V = 30 × 20 × 10 = 6000 cm³
= 6 L = 1.59 gal (US)
= 366 in³ = 0.21 ft³

The box holds 6 liters of water — about 1.59 US gallons.

Key Insight: To get liters, divide cubic centimeters by 1000; for US gallons divide by about 3785. Measure the inside dimensions of a real tank, not the outside.
Liters
6 L
Gallons (US)
1.5850323141488905 gal
Cubic feet
0.21188800032893154
Cubic inches
366.14246456839373

Frequently Asked Questions

How do I calculate the volume of a cylinder?

V = π r² h. For a radius of 5 cm and height of 20 cm: V = π × 25 × 20 ≈ 1,570.8 cm³ ≈ 1.57 L.

How do I convert volume to gallons?

1 US gallon = 3.785 liters = 231 in³. Divide liters by 3.785 (or cm³ by 3785) — the calculator does it automatically.

How do I find the volume of a sphere?

V = 4/3 π r³: cube the radius, multiply by π, then by 4/3. A sphere of radius 5 cm has about 523.6 cm³.

How much water does my fish tank hold?

Enter the tank's inner length, width and height in cm (box shape): cm³ ÷ 1000 = liters, ÷ 3785 = US gallons. Measure inside the glass, not outside.

Results assume regular shapes and consistent units (centimeters). For real containers, use inner dimensions and allow for wall thickness. US gallons are used; imperial gallons are about 20% larger.

Related Calculators

Triangle Calculator

Free triangle calculator: enter three sides to instantly find the area, perimeter and all angles, and classify right, isosceles or equilateral shapes.

→

PPI calculator

Free PPI calculator: turn a screen's native resolution and diagonal into pixels per inch, pixel pitch in millimetres and the panel's physical size.

→

SmartCalc.top — Free online calculators. No registration required.

© 2026 SmartCalc.top