Education & Student

Density Calculator

Calculate material density from a sample’s mass and volume using ρ = m/V. Enter mass in kilograms and volume in cubic metres; the result appears in kg/m³ and g/cm³.

Use measured positive mass and volume for the same sample. This form calculates density; rearranging the formula to find mass or volume is a separate arithmetic step.

Enter your values and tap Calculate.

About this calculator

A 200 g sample occupying 50 cm³ has density 4 g/cm³. In this form, enter mass 0.2 kg and volume 0.00005 m³ to obtain 4000 kg/m³, equivalent to 4 g/cm³. The form does not identify a substance or retrieve its temperature-dependent properties.

How to use

  1. Enter the mass of the object.
  2. Enter its volume.
  3. Press Calculate to find the density.
  4. Read the density in kg/m³ and g/cm³.

Why use Density Calculator

Fast

Calculations run in your browser. No round trip to a server.

Private

Your inputs never leave your device. Nothing is uploaded.

Free

No signup, no paywall, no ads-in-results, no watermarks.

Accurate

Uses standard formulas for quick educational estimates; check critical results before relying on them.

Mobile-ready

Optimised for phones, tablets, and desktops alike.

Transparent

Honest disclaimers wherever browser limits or regional rules apply.

Common uses

Use it for science-fair preparation

Use it when checking a homework answer

Use it for cross-checking a measurement

Use it for verifying a textbook result

Use it for physics and engineering coursework

Use it for tutoring and study groups

Technical notes

The calculation is ρ = m/V, with mass in kg and volume in m³. This material-sample form requires positive inputs. Small nonzero results use scientific notation; arithmetic overflow or underflow is rejected. Meaningful precision depends on the measurements and sample conditions, not the number of displayed digits.

Results assume ideal conditions and consistent units, so convert your inputs to the units shown before calculating.

Results are rounded for display; the underlying calculation keeps full precision.

FAQ

How is density calculated?

Density is mass divided by volume.

Why must mass and volume be positive?

This form is intended for a material sample with positive mass and volume. Zero volume would make the division undefined. A vacuum or other zero-mass model is outside this form’s stated input scope.

How do I convert kg/m³ to g/cm³?

Divide by 1000; the calculator shows both units for you.

Does the Density Calculator send my data to a server?

No. The Density Calculator runs entirely in your browser, so nothing you enter is uploaded, stored, or shared.

Worked example

A 200 g object occupying 50 cm³ has density 200 ÷ 50 = 4 g/cm³.