Free online density calculator. Compute density using mass and volume (ρ = m/V). Supports kg/m³, g/cm³, g/mL, lb/ft³, lb/in³, lb/gal. Perfect for physics, chemistry, engineering, and material science.
A density calculator (also called a density mass volume calculator or ρ = m/V tool) is an online utility that computes density using the fundamental formula ρ = m/V, where ρ (rho) is density, m is mass, and V is volume. Density is a physical property that describes how much mass is packed into a given volume of a substance. Whether you are a physics student, chemistry student, engineer, or material scientist, understanding and calculating density is essential for material identification, quality control, buoyancy calculations, and fluid mechanics.
Density calculations are everywhere in science and industry. You might need to calculate density in kg/m³ for a building material, determine density in g/cm³ for a chemical compound, or convert between different density units like g/cm³, kg/m³, lb/ft³, and lb/gal. Our calculator handles all these with built‑in unit conversions, so you never have to worry about manual unit matching.
This free online density tool operates entirely within your browser - no data is sent to any server, ensuring your privacy and enabling offline use. It supports 5 mass units (kg, g, mg, lb, oz) and 7 volume units (m³, cm³, L, mL, ft³, in³, gal), which are automatically converted to the base units (kilograms and cubic meters) before applying the ρ = m/V formula. The final density can be displayed in 6 different metric and imperial units. Whether you are in a school lab, an industrial QA setting, or a research facility, this tool is your go‑to solution.
Using this density mass volume calculator is simple. Follow these steps to get accurate results instantly:
The density equation solver automatically performs the calculation as you type, so you don't need to click a separate convert button. Your recent selections are saved locally for up to 30 days, making it easy to continue your work across sessions.
Our density unit converter supports a wide range of mass, volume, and density units. Below is a complete reference table showing each unit, its symbol, conversion factor to base units (kilograms or cubic meters), and typical applications.
| Unit | Symbol | Value in kg | Common Uses |
|---|---|---|---|
| Milligram | mg | 0.000001 | Medicine, supplements, chemistry |
| Gram | g | 0.001 | Cooking, food labeling, small packages |
| Ounce | oz | 0.0283495 | Cooking, postal weight |
| Pound | lb | 0.453592 | Body weight, groceries, gym weights |
| Kilogram | kg | 1 | SI base unit; most common worldwide |
| Unit | Symbol | Value in m³ | Common Uses |
|---|---|---|---|
| Cubic Inch | in³ | 0.0000163871 | Engine displacement, small containers |
| Cubic Centimeter | cm³ | 0.000001 | Equivalent to mL, chemistry lab |
| Milliliter | mL | 0.000001 | Medicine, chemistry lab, cooking |
| Liter | L | 0.001 | Standard lab unit, beverages |
| Gallon | gal | 0.00378541 | Fuel, large containers (US) |
| Cubic Foot | ft³ | 0.0283168 | Construction, building materials |
| Cubic Meter | m³ | 1 | SI base unit; construction, water billing |
| Unit | Symbol | Value in kg/m³ | Common Uses |
|---|---|---|---|
| Grams per Cubic Centimeter | g/cm³ | 1000 | Chemistry, material science |
| Grams per Milliliter | g/mL | 1000 | Chemistry, biology (identical to g/cm³) |
| Kilograms per Cubic Meter | kg/m³ | 1 | SI standard; engineering, physics |
| Pounds per Cubic Foot | lb/ft³ | 16.0185 | Construction, building materials (US) |
| Pounds per Cubic Inch | lb/in³ | 27679.9 | Metals, high‑density materials |
| Pounds per Gallon | lb/gal | 119.826 | Liquids, fuels, oils (US) |
The relationship ρ = m/V is one of the most fundamental formulas in physics and chemistry. Density (ρ, the Greek letter rho) is defined as the mass per unit volume of a substance. It is an intensive property, meaning it does not depend on the amount of substance; a small piece of aluminum and a large block of aluminum have the same density (about 2.70 g/cm³).
The same formula can be rearranged to solve for any missing variable:
In this calculator, we focus on the forward calculation: given mass and volume, compute density. All unit conversions are handled automatically, so you can enter mass in grams, kilograms, or even pounds, and volume in liters, milliliters, or gallons - the calculator always converts to the base units (kilograms and cubic meters) before applying ρ = m/V.
A simple example: If you have a sample of aluminum weighing 2700 grams and occupying 1000 cubic centimeters, the density is ρ = 2700 g / 1000 cm³ = 2.7 g/cm³. If you express it in SI units, that same density is 2700 kg/m³. Our calculator does all the unit conversion for you.
Knowing the densities of common materials helps in material identification, quality control, and scientific analysis. The table below shows densities of various substances at standard conditions (≈20°C, 1 atm). Materials with density less than 1.0 g/cm³ (1000 kg/m³) will float in water; materials with higher density will sink.
| Material | Density (g/cm³) | Density (kg/m³) | Float in Water? |
|---|---|---|---|
| Air (sea level) | 0.001225 | 1.225 | ✓ Float |
| Styrofoam | 0.05 | 50 | ✓ Float |
| Cork | 0.24 | 240 | ✓ Float |
| Pine Wood | 0.55 | 550 | ✓ Float |
| Ice (0°C) | 0.917 | 917 | ✓ Float |
| Water (4°C) | 1.000 | 1000 | - |
| Honey | 1.42 | 1420 | ✗ Sink |
| Concrete | 2.30 | 2300 | ✗ Sink |
| Aluminum | 2.70 | 2700 | ✗ Sink |
| Titanium | 4.51 | 4510 | ✗ Sink |
| Iron / Steel | 7.87 | 7870 | ✗ Sink |
| Copper | 8.96 | 8960 | ✗ Sink |
| Silver | 10.49 | 10490 | ✗ Sink |
| Lead | 11.34 | 11340 | ✗ Sink |
| Mercury | 13.55 | 13550 | ✗ Sink |
| Gold | 19.32 | 19320 | ✗ Sink |
| Platinum | 21.45 | 21450 | ✗ Sink |
Note: Densities vary with temperature and pressure. These values are approximate at standard conditions. Water's density of 1 g/cm³ exactly at 4°C makes it a convenient reference - thus the specific gravity of a substance is its density relative to water.
Understanding how to calculate density from mass and volume is essential across many fields. Here are real-world scenarios where our ρ = m/V calculator proves invaluable:
Density is one of the most reliable ways to identify an unknown substance. Because density is an intensive property - it doesn't change with sample size - you can identify a material by measuring its mass and volume, then comparing the calculated density to known values. This technique is widely used in geology, metallurgy, and forensic science.
An object will float in a fluid if its density is less than that of the fluid, and sink if its density is greater. This is why ice (density 0.917 g/cm³) floats on water, and why ships made of steel can float - the overall density of the ship (including air inside) is less than the density of water.
Engineers estimate the mass of concrete, asphalt, soil, or aggregate from the required placement volume using density. For example, concrete has a density of about 2400 kg/m³. To order 50 m³ of concrete, the required mass is 120,000 kg.
Density calculations help estimate shipping weight or packaging volume for powders, pellets, oils, and other bulk materials. Knowing the density of a product allows logistics professionals to determine whether a shipment will be weight‑limited or volume‑limited.
The formula for density is ρ = m / V, where ρ (rho) is density, m is mass, and V is volume. This relationship is fundamental in physics, chemistry, and engineering.
To convert grams per cubic centimeter (g/cm³) to kilograms per cubic meter (kg/m³), multiply by 1000. For example, 1 g/cm³ × 1000 = 1000 kg/m³. This is because 1 g = 0.001 kg and 1 cm³ = 0.000001 m³. Our calculator handles this automatically when you select the desired output unit.
The density of water at standard conditions (4°C) is 1 g/cm³ or 1000 kg/m³. Water's density is often used as a reference because it is a convenient number.
Generally, density decreases as temperature increases because most materials expand when heated (thermal expansion). Water is unusual - it has maximum density at 4°C and expands both when cooled below 4°C and when heated above 4°C. This is why ice floats.
Specific gravity is the ratio of a substance's density to the density of a reference substance (usually water). It is a dimensionless number. For example, the specific gravity of lead is about 11.3 because it is 11.3 times denser than water. Since water's density is 1 g/cm³, specific gravity equals density in g/cm³ numerically.
Our calculator uses internationally recognized conversion factors (e.g., 1 lb = 0.45359237 kg) and the exact formula ρ = m/V. Results are displayed to 6 decimal places, providing excellent precision for laboratory, industrial, and educational applications.
Yes. Once the page has loaded, all calculation logic runs locally in your browser. No internet connection is required after initial load - perfect for lab benches without Wi‑Fi or for field use.
Discover more free developer tools that might interest you.
Calculate acceleration from velocity and time
Use ToolCalculate chemical concentrations
Use ToolCalculate solution dilutions
Use ToolCalculate force using Newton's laws
Use ToolCalculate gas properties using gas laws
Use ToolCalculate kinetic energy from mass and velocity
Use ToolRead the how-to, then come back to this tool when you are ready to run it locally.