Home› Math & Geometry› Volume Calculator

Volume Calculator

Compute the volume of common 3D shapes: box, sphere, cylinder, cone, and pyramid.

Inputs

Volume
—
Surface area
—
Formula used
—
In US gallons
—
In liters
—

About Volume Calculator

Units consistency

Use the same unit for all dimensions. If all are inches, volume is cubic inches and conversions show gallons/liters. If all are centimeters, volume is cm³ = milliliters.

Why (1/3) for cone & pyramid

A pyramid or cone has 1/3 the volume of a prism with the same base and height. This is a calculus result — true for any shape that tapers linearly to a point.

Sphere formula

V = (4/3)πr³ comes from integrating disk areas along the axis. The surface area is exactly 1/r times the volume formula derivative — 4πr².