Volume Calculator
Pick a 3D shape and enter its dimensions to calculate volume, with the formula shown.
Runs entirely in your browser. No data is sent to a server.
Free Volume Calculator
Calculate the volume of any common 3D shape with our free volume calculator. Choose from spheres, cubes, rectangular prisms, cylinders, cones, pyramids, triangular prisms, and ellipsoids — enter the dimensions, and get the volume instantly with the exact formula shown, substituted with your values.
Sphere, cylinder, cone, and ellipsoid results are shown in exact π-form (like 36π) as well as decimal, so you can see precisely how the number is derived. Every shape also shows its total surface area as a bonus cross-reference.
Inputs are validated per shape, so negative or zero dimensions are caught immediately with a clear message. Whether it's for a geometry assignment or a real-world measurement, get accurate results with the formula shown. No sign-up, no downloads required. See the About and FAQ sections below for more.
About the Volume Calculator
Supported solids
Sphere & cube
(4/3)πr³ and s³.
Rectangular prism
l×w×h.
Cylinder & cone
πr²h and (1/3)πr²h, exact π-form.
Pyramid
(1/3)lwh, square or rectangular base.
Triangular prism
Cross-section area × length.
Ellipsoid
(4/3)πabc, with an approximate surface area.
Mathematical Basis & Practical Verification
The Volume Calculator is built on Euclidean and analytic geometry formulas, maintaining exact symbolic multiples of π and radical expressions alongside 6-significant-digit floating-point approximations. Free volume calculator supporting sphere, cube, rectangular prism, cylinder, cone, pyramid, triangular prism, and ellipsoid, with formulas and surface area shown. Key capabilities built into this tool include 8 solids supported, formula display, exact pi values, and bonus surface area.
All computations for the Volume Calculator follow the definitions established in NIST Digital Library of Mathematical Functions — Trigonometric & Geometric Identities (National Institute of Standards and Technology (NIST)) and ISO 80000-3: Quantities and Units — Space and Time (International Organization for Standardization (ISO)). Because the solver evaluates inputs locally in IEEE 754 double-precision arithmetic (53-bit significand, ~15–17 significant decimal digits) and is regression-tested against deterministic reference fixtures in tests/volume-calculator.spec.ts, you can inspect boundary conditions, verify dimensional consistency across geometry units, and cross-check each intermediate step against textbook solutions.
Related Calculators & Tools
Solve any triangle given any 3 values using SSS, SAS, ASA, AAS, or the ambiguous SSA case, with a diagram and steps.
Click any of the 16 standard angles, or drag freely, to see exact sine, cosine and tangent values with a reference triangle.
Compute all six trig functions for any angle, or find the angle from a ratio using inverse trig, with exact values shown.
Solve oblique triangles for ASA, AAS, and SSA, with full ambiguous-case handling and step-by-step working.
Authoritative Sources & Standards
- NIST Digital Library of Mathematical Functions — Trigonometric & Geometric Identities — National Institute of Standards and Technology (NIST)
- ISO 80000-3: Quantities and Units — Space and Time — International Organization for Standardization (ISO)
Frequently Asked Questions
Which shapes are supported?
Sphere, cube, rectangular prism, cylinder, cone, pyramid (square/rectangular base), triangular prism, and ellipsoid.
How is cone volume calculated?
Using V = ⅓πr²h, where r is the base radius and h is the height.
Does it show the formula used?
Yes, each shape shows its formula with your values substituted in.
Are results exact or decimal?
Both — sphere, cylinder, cone, and ellipsoid results are shown in exact π-form alongside decimals.
Does it calculate surface area too?
Yes, total surface area is shown as a bonus output for each shape.
What units does it use?
It's unit-agnostic; results are labeled units³ matching whatever unit you entered.
What if I enter a negative dimension?
It's rejected with a clear validation message.
Can I calculate a pyramid with a rectangular (non-square) base?
Yes, both square and rectangular base pyramids are supported.