Density Calculator

This calculator solves the density equation, rho = m / V, for any one of the three variables when you know the other two. Density is a measure of how much mass is packed into a given volume, and it is one of the most fundamental physical properties used to identify materials, design structures, and understand buoyancy. You choose what you want to find, enter the two known values, and the calculator returns the result with unit conversions. When solving for density, you enter mass in grams and volume in cubic centimetres, and the result is returned in g/cm cubed and kg/m cubed. When solving for mass, you enter density in g/cm cubed and volume in cm cubed. When solving for volume, you enter density in g/cm cubed and mass in grams. The calculator also shows density in kg per litre, which is numerically the same as g/cm cubed and convenient for liquids. A relative density (specific gravity) figure is shown relative to water at 1.0 g/cm cubed, indicating whether the object would sink or float. This tool is useful for chemistry students, materials engineers, geologists identifying rock or mineral samples, and anyone needing to convert between mass, volume, and density. Note that density varies with temperature and pressure; the results here are for a uniform material at constant conditions.

Advertisement
g
cm³
2.50 g/cm³
density
kg/m³2500
kg/L2.50
Specific gravity2.50
Floats in water?No (sinks)

How it works

The three rearrangements of the density equation are: ρ = m / V (density), m = ρ × V (mass), and V = m / ρ (volume). The default inputs are in grams and cubic centimetres, giving density in g/cm³. To convert to kg/m³, multiply g/cm³ by 1,000. kg/L is numerically identical to g/cm³. Specific gravity is density relative to water (1.0 g/cm³); values below 1.0 float in fresh water.

Worked example

A sample has a mass of 500 g and a volume of 200 cm³. Density = 500 / 200 = 2.50 g/cm³ = 2,500 kg/m³. Specific gravity is 2.50, so the material is 2.5 times denser than water and will sink. This is close to the density of aluminium (2.70 g/cm³). These match the defaults above.

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.

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-07-27 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.