Density of a Cylinder Calculator

This calculator works out the density of a cylindrical object by combining its volume with its mass, so you can identify what a material might be, check whether it will float or sink, or verify a calculation for a materials science or engineering assignment. You enter the cylinder's radius (or diameter, if that is easier to measure), its height or length, and its mass, then choose your length unit (millimetres, centimetres or metres) and mass unit (grams or kilograms). The calculator first finds the volume using V = pi x r^2 x h, then divides your mass by that volume to return density in both kilograms per cubic metre and grams per cubic centimetre, alongside the volume itself in cubic centimetres and cubic metres. A working panel shows the radius and height used, the volume formula and result, and your mass, so you can follow every step of the calculation rather than just seeing an answer. It also compares your result against the density of water, 1,000 kg/m3, telling you straight away whether the object would float or sink, which is a handy sanity check if you already know the material. Because density calculations are only as accurate as your measurements, take radius and height readings at a few points if the cylinder tapers, and make sure your length and mass units are entered correctly before relying on the result. This tool assumes a solid, uniform cylinder with no hollow sections, so for pipes, tubes or composite objects you will need to calculate the volume of each section separately and combine the results.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Method verified  Standard cylinder volume and density formulas (SI units).

1. Cylinder Dimensions

cm
cm

2. Mass

g

Volume and Density

Volume
1,570.8
cm3
Volume
0.001571
m3
Density
1,000.0
kg/m3
Density
1.000
g/cm3

Working

Radius used5.000 cm
Height used20.000 cm
Volume formulaV = π × r² × h
Volume (cm3)1,570.8 cm3
Mass1,570.80 g
Density (kg/m3)1,000.0 kg/m3

Comparison to Water

Water density1,000 kg/m3 (1 g/cm3)
Your material's density1.000 g/cm3
Would it float?No, it would sink
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 by 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-08-07 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.