Work out the density of a cylindrical object from its radius (or diameter), height and mass. This calculator finds the volume using V = pi x r^2 x h, then divides mass by volume to give density in kg/m3 and g/cm3.
Useful for materials testing, engineering coursework, workshop estimates and checking whether an object will float or sink.
Density describes how much mass is packed into a given volume. It is calculated as density = mass / volume (rho = m / V). For a cylinder, the volume depends on the radius (or diameter) and the height, using the formula V = pi x r^2 x h. Once you know the volume, divide the mass of the object by that volume to get its density.
A cylinder has a radius of 5 cm and a height of 20 cm. Its volume is V = pi x 5^2 x 20 = 1,570.8 cm3. If the cylinder has a mass of 1,570.8 g, its density is 1,570.8 / 1,570.8 = 1.00 g/cm3, which is the same as 1,000 kg/m3, equal to the density of water.
| Quantity | SI Unit | Common Alternative |
|---|---|---|
| Length (radius, height) | Metres (m) | Centimetres (cm), millimetres (mm) |
| Mass | Kilograms (kg) | Grams (g) |
| Volume | Cubic metres (m3) | Cubic centimetres (cm3), litres |
| Density | kg/m3 | g/cm3 (1 g/cm3 = 1,000 kg/m3) |
Always convert your measurements to consistent units before dividing mass by volume. Mixing units (such as mass in kilograms with volume in cubic centimetres) is the most common source of error in density calculations.
Sources: Standard geometric formula for cylinder volume (V = pi r^2 h) and the physics definition of density (rho = m/V), as used in NCEA and university level maths and physics.
This calculator assumes a uniform, solid cylinder with no hollow sections or voids. For hollow cylinders or composite objects, calculate volume separately for each section.
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.