Volume Calculator
Find the volume of a cube, rectangular prism, cylinder, sphere, cone, pyramid or capsule. Enter dimensions in any unit — mm, cm, m, in, ft or yd — and get the result instantly in cubic metres, cubic feet, litres and gallons at the same time.
0.785 ft³
0.0222 m³ · 22,240 cm³ · 22.24 L · 0.785 ft³ · 0.0291 yd³
5.88 US gal · 4.89 imperial gal (UK/CA/AU).
Standard geometric formulas (V=s³, l·w·h, πr²h, (4/3)πr³, (1/3)πr²h, (1/3)lwh); capsule = cylinder + full sphere. Unit conversions per SI/imperial definitions. How we calculate →
What is the formula for volume of each 3D shape?
Each shape has its own formula: cube V = s³, rectangular prism V = length × width × height, cylinder V = π r² h, sphere V = (4/3)π r³, cone V = (1/3)π r² h, pyramid (rectangular base) V = (1/3) × length × width × height, and a capsule (a cylinder capped by two hemispheres) is the cylinder's volume plus one full sphere's volume. Pick a shape above and the calculator applies the matching formula automatically.
How do you convert between volume units?
Every calculation is done internally in cubic metres, then converted to whatever unit you need: cubic feet, cubic yards, litres, or US and imperial gallons. That means you can enter dimensions in millimetres, centimetres, metres, inches, feet or yards and instantly see the same volume in every common unit — useful for comparing a US spec sheet in gallons against a metric drawing in litres.
Metric vs imperial: which unit should I use?
The US mainly uses cubic feet, cubic yards and US gallons; the UK, Canada and Australia typically use litres, cubic metres and imperial gallons (a slightly larger unit than the US gallon). This calculator computes both simultaneously so you don't need a separate converter — 1 US gallon ≈ 3.785 L, while 1 imperial gallon ≈ 4.546 L.
Common real-world uses
Volume calculations show up constantly: how much water a cylindrical tank holds, how much concrete a footing needs (in cubic yards), how much soil a raised garden bed (a rectangular prism) requires, or how much air a room contains for HVAC sizing. Switch shapes above for any of these without needing a separate tool.
Frequently asked questions
How do I find the volume of a cylinder?
Volume = π × radius² × height. A cylinder with a 1 m radius and 2 m height holds π × 1² × 2 ≈ 6.283 m³, which is about 6,283 litres. Enter your radius and height above in any unit to get the volume converted to m³, ft³, litres and gallons at once.
How many gallons are in a cubic foot?
1 cubic foot equals exactly 7.48052 US gallons (or about 6.229 imperial gallons). A 1 ft × 1 ft × 1 ft cube therefore holds roughly 7.48 US gallons — useful for sizing tanks, ponds or aquariums specified in cubic feet.
What is the volume of a sphere?
Volume = (4/3) × π × radius³. A sphere with a 3 ft radius has a volume of (4/3) × π × 3³ ≈ 113.1 ft³ (about 846 US gallons). Double the radius and the volume increases eightfold, since it scales with the cube of the radius.
How do you calculate the volume of a rectangular prism (box)?
Multiply length × width × height, all in the same unit. A box 2 in × 3 in × 4 in has a volume of 24 in³ — about 0.0003934 m³ or 0.393 litres. Keep every dimension in the same unit before multiplying, or use the unit selector above to convert automatically.
What's the difference between a cone and a pyramid's volume formula?
Both use one-third of the base times the height, but the base differs: a cone's base is a circle (V = (1/3)πr²h) while a rectangular pyramid's base is a rectangle (V = (1/3) × length × width × height). Structurally they're the same idea — a shape that tapers to a point — just with a different base area formula.
Researched & verified by the Calcuris Data & Research Team. How we build and check our tools →