Volume Calculator

Volume Calculator

Calculate the volume of 10 common 3D shapes — Sphere, Cone, Cube, Cylinder, Tank, Capsule, and more.

Select a shape, enter the required dimensions with your preferred unit, then press Calculate to get the volume with full unit conversions.

Volume Calculator

Enter any two of the three values below.

Calculation Result
Volume
Unit Conversions

What Is Volume?

Volume is the quantification of the three-dimensional space a substance occupies. The SI unit for volume is the cubic meter (m³). By convention, the volume of a container is typically its capacity — how much fluid it is able to hold, rather than the space the container itself displaces. Volumes of many shapes can be calculated using well-defined mathematical formulas.

Volume Formulas for All Shapes

ShapeFormulaVariables
SphereV = (4/3)πr³r = radius
ConeV = (1/3)πr²hr = base radius, h = height
CubeV = a³a = edge length
CylinderV = πr²hr = radius, h = height
Rectangular TankV = l × w × hl = length, w = width, h = height
CapsuleV = πr²h + (4/3)πr³r = radius, h = cylinder height
Spherical CapV = (1/3)πh²(3R − h)R = ball radius, h = cap height
Conical FrustumV = (1/3)πh(r² + rR + R²)r, R = radii, h = height
EllipsoidV = (4/3)πabca, b, c = semi-axes
Square PyramidV = (1/3)a²ha = base edge, h = height
Tube / PipeV = π(d1² − d2²) / 4 × ld1 = outer dia, d2 = inner dia, l = length

Sphere

A sphere is a perfectly round three-dimensional object where every point on its surface is equidistant from its center. The distance from the center to the surface is the radius (r). Common examples include balls, bubbles, and planets.

Formula: V = (4/3)πr³ — Example: r = 0.15 ft → V = 4/3 × π × 0.15³ ≈ 0.014 ft³

Cone

A cone tapers smoothly from a circular base to a point at the top called the apex. Ice cream cones, traffic cones, and party hats are familiar examples. Only right circular cones are addressed here.

Formula: V = (1/3)πr²h — Example: r = 1.5 in, h = 5 in → V = 1/3 × π × 1.5² × 5 ≈ 11.78 in³

Cube

A cube is a three-dimensional square — a box where all six faces are identical squares, all edges are equal length, and all angles are right angles. It is the most regular and symmetric of all rectangular boxes.

Formula: V = a³ — Example: a = 2 ft → V = 2³ = 8 ft³

Cylinder

A cylinder has two parallel circular bases connected by a curved surface. Cans, pipes, and barrels are everyday examples. The volume depends on the base radius and the height between the two circular ends.

Formula: V = πr²h — Example: r = 3 ft, h = 4 ft → V = π × 9 × 4 ≈ 113.1 ft³

Rectangular Tank

A rectangular tank (also called a rectangular prism or cuboid) is a box shape with six rectangular faces. Aquariums, shipping boxes, and rooms are common real-world examples.

Formula: V = l × w × h — Example: 4 ft × 3 ft × 2 ft = 24 ft³

Capsule

A capsule combines a cylinder with hemispherical ends. Medicine capsules, some storage tanks, and propane tanks share this shape. Its volume is the sum of the cylinder and a complete sphere.

Formula: V = πr²h + (4/3)πr³ — Example: r = 1.5 ft, h = 3 ft → V ≈ 35.34 ft³

Conical Frustum

A conical frustum is what remains when the tip of a cone is cut off by a plane parallel to the base. Buckets, lampshades, and drinking cups are practical frustum examples.

Formula: V = (1/3)πh(r² + rR + R²) — Example: r = 0.2 in, R = 1.5 in, h = 4 in → V ≈ 10.85 in³

Ellipsoid

An ellipsoid is a stretched or compressed sphere along three axes. A football and an egg are approximate ellipsoids. If all three axes are equal, an ellipsoid becomes a sphere.

Formula: V = (4/3)πabc — Example: a = 1.5, b = 2, c = 5 in → V ≈ 62.83 in³

Square Pyramid

A square pyramid has a square base and four triangular faces meeting at a point. The Egyptian pyramids are the most famous real-world examples of this shape in architecture.

Formula: V = (1/3)a²h — Example: a = 5 ft, h = 12 ft → V = 1/3 × 25 × 12 = 100 ft³

Tube / Pipe

A tube or pipe is a hollow cylinder. Its volume is the volume of the outer cylinder minus the volume of the hollow inner space. This calculation is useful for determining the material volume of pipes used in construction and plumbing.

Formula: V = π(d1² − d2²) / 4 × l — Example: d1 = 3 ft, d2 = 2.5 ft, l = 10 ft → V ≈ 21.6 ft³

Common Volume Unit Conversions

UnitCubic Meters (m³)Milliliters (mL)Liters (L)
1 milliliter0.00000110.001
1 cubic inch0.000016416.390.01639
1 pint0.0004734730.473
1 quart0.0009469460.946
1 liter0.0011,0001
1 gallon (US)0.0037853,7853.785
1 cubic foot0.02831728,31728.317
1 cubic yard0.764555764,555764.555
1 cubic meter11,000,0001,000