Volume Calculator

Get volume in m³ / ft³ plus litres, US gallons, UK gallons. Optional density → mass.


Mass is computed only if density is entered.
V = L·W·H   |   SA = 2(LW + LH + WH)

Results

Volume (primary)
Volume (alt unit)
Litres
US gallons
UK gallons
Surface area (if applicable)
Mass from density
Conversions: 1 m³ = 1000 L = 264.172 US gal = 219.969 UK gal = 35.3147 ft³.

Volume Calculator (Convert to Litres, Gallons & Mass)

Calculate the volume, capacity, or size of any shape instantly. Enter dimensions in metres or feet, and get results in cubic metres, cubic feet, litres, US gallons, and UK gallons.

Volume Formulas

Cube

Formula: \( V = a^3 \)

Rectangular Prism (Box / Tank)

Formula: \( V = L \times W \times H \)

Cylinder

Formula: \( V = \pi r^2 h \)   or   \( V = \tfrac{\pi d^2}{4} h \)

Cone

Formula: \( V = \tfrac{1}{3} \pi r^2 h \)

Sphere

Formula: \( V = \tfrac{4}{3} \pi r^3 \)

Triangular Prism

Formula: \( V = \tfrac{1}{2} b h \times L \)

Rectangular Pyramid

Formula: \( V = \tfrac{1}{3} L W H \)

Ellipsoid

Formula: \( V = \tfrac{4}{3} \pi a b c \)

Capsule

Formula: \( V = \pi r^2 h + \tfrac{4}{3} \pi r^3 \)

Volume & Density – Find Mass

If you enter density, the calculator also provides mass:

  • Formula: Mass=Density×Volume\text{Mass} = \text{Density} \times \text{Volume}

  • Supported density units: kg/m³, g/cm³, lb/ft³.

  • Results shown in kg and lb.

Why Use a Volume Calculator?

  • ✅ Save time vs manual math

  • ✅ Convert between metric and imperial units

  • ✅ Perfect for pools, aquariums, tanks, construction, logistics, and science projects

  • ✅ Automatic litre and gallon conversions

  • ✅ Optional density-to-mass feature

Why Use a Volume Calculator?

Q1. What is the formula for the volume of a cube?

The formula is V = a3, where a is the side length.

Q2. What is the cylinder volume formula?

The formula is V = π r2 h, where r is the radius and h is the height.

Q3. What is the formula for the volume of a sphere?

The formula is V = 43 π r3.

Q4. How do you calculate pool volume?

For rectangular pools: V = L × W × D (average depth).
For circular pools: V = π r2 D.

Q5. How do you calculate aquarium volume?

Rectangular tank: V = L × W × H.
Cylindrical tank: V = π r2 h.

Q6. How do I convert cubic meters to litres or gallons?

  • 1 m3 = 1000 L
  • 1 m3 ≈ 264.172 US gal
  • 1 m3 ≈ 219.969 UK gal

Q7. What is density calculation formula?

Density = Mass ÷ Volume. Rearranged: Mass = Density × Volume.

Was this calculator helpful?

Rate your experience to help us improve.

Thanks for rating! See the average and total ratings above.

Not rated yet—be the first to rate this calculator.