Calculate the volume of common 3D geometric solids. Choose a shape, enter the dimensions, and get the volume instantly with the formula shown. Supported shapes include spheres, cylinders, cones, cubes, rectangular boxes, triangular prisms, and rectangular pyramids.
V = π × r² × h
Volume measures the amount of three-dimensional space enclosed by a shape. It is expressed in cubic units (cm3, m3, litres, etc.). The table below lists the standard formula for each solid supported by this calculator.
| Solid | Formula | Variables |
|---|---|---|
| Sphere | V = (4/3) x pi x r3 | r = radius |
| Cylinder | V = pi x r2 x h | r = base radius, h = height |
| Cone | V = (1/3) x pi x r2 x h | r = base radius, h = height |
| Cube | V = a3 | a = side length |
| Rectangular box (cuboid) | V = l x w x h | l = length, w = width, h = height |
| Triangular prism | V = (1/2) x b x h_t x l | b = triangle base, h_t = triangle height, l = prism length |
| Rectangular pyramid | V = (1/3) x l x w x h | l = base length, w = base width, h = height |
Select the 3D solid from the Shape dropdown, choose the unit of measurement for your dimensions, then enter the required values. The volume updates instantly and the formula used is shown below the inputs. The unit conversion panel at the bottom converts your result into cubic metres, cubic centimetres, litres, cubic feet, and cubic inches automatically.
All dimensions must be in the same unit. If your radius is in centimetres and your height is in metres, convert one before entering values.
1 cubic metre (m3) = 1,000 litres = 1,000,000 cm3. For everyday use, litres are convenient for liquids and small volumes; cubic metres for building materials. The conversion panel below your result shows all common units automatically.
Sources and method: Standard Euclidean geometry formulae as taught in NCEA Level 1 to 3 Mathematics and widely referenced in engineering handbooks (e.g. Machinery's Handbook). Pi is taken as 3.141592653589793 (double-precision floating point).
Results are mathematically exact for the inputs provided, subject to floating-point precision. Ensure all dimensions are in the same unit before calculating.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.