Density of a Cylinder Calculator

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.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
Method verified  Standard cylinder volume and density formulas (SI units).

1. Cylinder Dimensions

cm
cm

2. Mass

g

Volume and Density

Volume
-
cm3
Volume
-
m3
Density
-
kg/m3
Density
-
g/cm3

Working

Radius used-
Height used-
Volume formulaV = π × r² × h
Volume (cm3)-
Mass-
Density (kg/m3)-

Comparison to Water

Water density1,000 kg/m3 (1 g/cm3)
Your material's density-
Would it float?-
Summary: Enter your cylinder's dimensions and mass above.

How to Find the Density of a Cylinder

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.

Step by Step

  1. Measure the radius (half the diameter) of the circular face of the cylinder.
  2. Measure the height (or length, if the cylinder is lying on its side).
  3. Calculate the volume: V = pi x r^2 x h.
  4. Weigh the object to find its mass.
  5. Divide mass by volume to get density: density = mass / volume.

Worked Example

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.

Units Matter

QuantitySI UnitCommon Alternative
Length (radius, height)Metres (m)Centimetres (cm), millimetres (mm)
MassKilograms (kg)Grams (g)
VolumeCubic metres (m3)Cubic centimetres (cm3), litres
Densitykg/m3g/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.

Related Calculators

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.