Density Calculator

This density calculator works with the relationship that density equals mass divided by volume, and solves it for whichever of the three quantities you do not know. Density describes how tightly matter is packed, the amount of mass contained in a given volume, and it explains a lot of everyday behaviour. Water has a density of about 1 gram per cubic centimetre, so anything denser sinks and anything lighter floats, which is why ice floats, oil sits on water and a steel hull can still stay afloat by enclosing air. You choose what to solve for, the density, the mass or the volume, then enter the other two values. To find density it divides the mass by the volume; to find the mass it multiplies density by volume; and to find the volume it divides the mass by the density. Any consistent units work: grams with cubic centimetres give a density in grams per cubic centimetre, which is the same as grams per millilitre, while kilograms with cubic metres give kilograms per cubic metre. Density is used across science, engineering, shipping and trades, from identifying materials and checking purity to working out whether something will float and how much a volume of material will weigh. Enter your two known values to see the result straight away.

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
2
density (mass per unit volume)

Use consistent units. Grams and cubic centimetres give g/cm³, the same as g/mL. Estimate only.

How it works

The calculator uses density equals mass over volume. To find density it divides mass by volume, to find mass it multiplies density by volume, and to find volume it divides mass by density. The value you are solving for is hidden so you only enter the two you know.

Worked example

An object with a mass of 100 grams and a volume of 50 cubic centimetres has a density of 100 over 50, which is 2 grams per cubic centimetre, so it would sink in water.

Related calculators

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.

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-06-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.