Skip to content
ToolPaxaAll Tools for Everyone, in One Place.All calculators

Volume Calculator

Calculate 12 solids from labelled measurements. Mix units and compare cubic volume, litres and gallons.

Formula reference

V=4πr³/3

All formulas
  • V=4πr³/3
  • V=πr²h/3
  • V=a³
  • V=πr²h
  • V=lwh
  • V=πr²(h+4r/3); H=h+2r
  • V=πh²(3R−h)/3=πh(3r²+h²)/6; r²=h(2R−h)
  • V=πh(R²+Rr+r²)/3
  • V=4πabc/3; a,b,c>0
  • V=a²h/3
  • V=π(Dₒ−Dᵢ)(Dₒ+Dᵢ)l/4
  • V=2πr³/3
  • h₁=r²/(R+√(R²−r²)); h₂=R+√(R²−r²); 0≤r≤R
  • R=(r²+h²)/(2h); h>0
  • R>0; 0≤h≤2R; r=R ⇒ h=R
  • 0≤Dᵢ<Dₒ; V_bore=πDᵢ²l/4
  • V(kℓ)=k³V(ℓ); k>0
  • 1m³=1000L; 1in=0.0254m; 1ft=0.3048m
  • 1gal(US)=231in³=3.785411784L; 1gal(Imp)=4.54609L
Sphere — Labelled solidSchematic drawing; dimensions match the input labels.r
Schematic drawing; dimensions match the input labels.
V = 4π/3 ×
³

Choose each measurement’s unit. The drawing is schematic.

Your result

Your answer and calculation steps appear here.

Inputs and calculations stay in this browser tab. Copy or export your report before closing.

Volume calculator: diagrams, formulas, units and worked examples

Choose the solid and enter its dimensions in the labelled boxes, selecting the unit beside each value. Measurements are converted to metres before applying the formula. For a spherical cap, enter exactly two of its base radius r, ball radius R and height h; leave the third blank. Plain decimals, fractions and scientific notation are supported, within the stated input limits.

Choose the shape and identify its dimensions

Match each measurement to the letter on the original diagram. Radius, diameter, perpendicular height, straight capsule length and ellipsoid semi-axis are different quantities. Choose each input’s unit independently; for example, a radius in inches and a height in metres are converted to compatible metre values before multiplication. Use positive dimensions, except the expressly supported zero-length or zero-radius boundaries below.

Formulas and examples for all 12 solids

Each example below uses metre dimensions and cubic-metre output. The diagram is schematic and is not a claim about the scale of your own object. π is evaluated with high working precision. The squared radius measures base area; multiplying by a length produces cubic units. The formula reference above the calculator follows the selected shape and also exposes the complete formula list.

Understand the two spherical-cap solutions

A cap satisfies r² = h(2R − h). With ball radius R = 5 m and base radius r = 3 m, the valid heights are 1 m and 9 m. Both are reported, with their own volume and capacity figures; they add to the full ball’s volume. When r = R there is one hemisphere. With R known, h = 0 is an empty boundary cap and h = 2R is the full ball. Supplying R and r = 0 gives those two boundaries. Supplying only r and h = 0 cannot identify the ball radius.

Cubic units, litres and the two gallons

A litre is 0.001 m³, so 1 m³ = 1000 L. The US liquid gallon is exactly 231 cubic inches, or 3.785411784 L; the Imperial gallon is 4.54609 L. These are different units and are labelled separately. The international inch is exactly 0.0254 m and the foot is 0.3048 m. Cubic conversion factors are the cubes of the corresponding length factors. Capacity requires interior measurements and a full container; this tool does not calculate a partly filled horizontal tank.

Check dimensions, scaling and rounding

For similar solids, multiplying every length by k multiplies volume by k³. A cone is one third of a cylinder with the same base and height; a hemisphere is half a matching sphere. The capsule’s straight length may be zero, and a frustum may have one zero end radius, but not two. Tube diameters must satisfy Dₒ > Dᵢ ≥ 0. Inputs support at most 50 coefficient digits per numeric or fractional component and exponent magnitudes up to 40. Results describe ideal solids; rounding does not remove measurement uncertainty.

Check further calculations and the reference definitions

The steps show the shape formula, the conversion of each supplied dimension to metres, the volume and the capacity-unit relationship. Copy and CSV retain labelled solution and unit information; printing includes the expanded numeric details. For a composite object, calculate its components separately and add or subtract only volumes expressed in compatible units. Keep surface-area calculations separate from volume.

Use Scientific Calculator to combine simple component volumes or check a substituted formula. Exponent Calculator helps explain cubic powers, while Root Calculator can recover a dimension from a known volume. Use Ratio Calculator when scaling a model and Percentage Calculator when applying a stated allowance. For a triangular component, calculate its base area with Triangle Calculator, then multiply by the perpendicular prism length with the scientific calculator. To compare areas of flat shapes and convert to square feet or hectares, use the Area Calculator. Use the Surface Area Calculator to measure the curved and flat surfaces of these solids.

ISO 80000-2:2019 supplies notation context, without certifying this tool. BIPM SI Brochure defines SI conventions and the litre. NIST SP 811 — Unit Conversion Factors documents international length units and the Imperial gallon; NIST Handbook 44 (2026), Appendix C defines the US liquid gallon as 231 cubic inches. OpenStax — Volume and Surface Area explains elementary solid volumes. The specialist formulas and dimension definitions are covered by Wolfram MathWorld — Spherical Cap, Wolfram MathWorld — Conical Frustum, Wolfram MathWorld — Capsule and Wolfram MathWorld — Ellipsoid.

Common questions

Can I mix units in one volume calculation?

Yes. Select the unit beside each measurement. The calculation converts them to metres and reports cubic metres, litres, US liquid gallons, Imperial gallons, cubic feet and cubic inches. Do not put a diameter into a radius field.

Why can a spherical cap have two answers?

A ball radius and base-circle radius can define a cut on either side of the centre. The minor and major caps have different heights and volumes. Both are shown. A base radius equal to the ball radius produces one hemisphere.

Does capsule height mean the full length?

No. Enter the straight cylindrical length h between the hemispherical ends. The full length is h + 2r. If you measured the full length H, first subtract 2r; a negative straight length is invalid.

What is the difference between tank capacity and tube volume?

Tank capacity uses the internal space. The Tube mode gives material volume between its outer and inner diameters. Its hollow bore capacity can be calculated as a cylinder with the inner radius and the same length.

What does significant digits mean here?

It controls rounding of the displayed answer, counting from the first nonzero digit. At 3 significant digits, 123.456 becomes 123 and 0.00123456 becomes 0.00123. It does not improve measurement accuracy. Full numeric details retain more calculation digits.

Can I use the result for partial filling or irregular shapes?

The tool gives complete ideal-solid volumes. It does not model a partially filled horizontal tank, wall deformation, irregular boundaries or density. Interior dimensions can estimate full capacity; composite shapes can be split into suitable simple components.

Explore related tools