This calculator works out the mass of a substance when you enter its volume and density, using the formula mass = volume × density. You provide the volume and the density (either directly or by choosing a material), and it returns the mass in grams, kilograms, or other units. It is a straightforward tool for lab prep, recipe scaling, and any task where you need to convert a measured volume into a weight.
Formula
The core relationship is:
mass (m) = volume (V) × density (ρ)
Where:
- m is the mass, in grams (g) or kilograms (kg).
- V is the volume, in milliliters (mL) or liters (L).
- ρ (rho) is the density, in g/mL (which equals kg/L) or other units.
Because 1 mL of water has a mass of about 1 g, the density of water is often taken as 1.00 g/mL. For other substances, density varies with temperature and pressure, so the calculator lets you enter a custom value or select a common unit. The unit conversion factors are built into the expression: kg/m³ is divided by 1000 to get g/mL, and lb/ft³ is multiplied by 0.0160185 to convert to g/mL.
Worked Example
Using the default values: volume = 250 mL, density = 1.00 g/mL (water at room temperature).
- Write the formula: m = V × ρ
- Plug in the numbers: m = 250 mL × 1.00 g/mL
- Multiply: m = 250 g
The calculator shows 250.00 g as the mass, and 0.2500 kg in kilograms. That matches the default output.
Assumptions
- The density is constant throughout the sample (homogeneous substance).
- Temperature and pressure are those at which the density was measured – density changes with temperature, especially for liquids.
- The volume is the actual volume of the substance, not the container volume if there is headspace.
- For gases, density depends strongly on pressure and temperature; this calculator is best for solids and liquids.
When to Use This Calculator
You need this whenever you have a volume measurement but need a mass, or vice versa. Common situations:
- Preparing a solution: you need to weigh out a certain mass of a liquid reagent, but you only have a graduated cylinder.
- Converting recipe quantities: a recipe calls for 200 mL of honey, but you want to know how many grams that is for nutrition tracking.
- Estimating shipping weight: you know the volume of a box of material, and you need to estimate its weight.
- Checking if an object will float: compare its density to that of water (1 g/mL).
In the lab, this is often the quickest way to measure a liquid’s mass without using a balance – you pipette a volume and multiply by the known density.
How to Read the Result
The main output is the mass in grams, which is the most common unit for lab work. The second output gives kilograms, useful for larger quantities. If you enter a density in kg/m³, the calculator converts it to g/mL internally, so the mass is still in grams. For example, if you enter 1000 kg/m³ (water), the mass for 250 mL is 250 g – the same as with 1.00 g/mL.
Remember that the result is only as accurate as your density value. If you use a density measured at 20 °C but your liquid is at 30 °C, the mass will be slightly off. For precise work, always use the density at the actual temperature of your sample.
Common Mistakes and Misconceptions
One frequent error is confusing mass and weight. Mass is the amount of matter; weight is the force of gravity on that mass. On Earth, the difference is small enough that they are often used interchangeably, but in physics and engineering they are distinct. This calculator gives mass, not weight.
Another mistake is using the wrong density unit. If you enter a density in g/cm³ but the calculator expects g/mL, the numbers are the same (1 g/cm³ = 1 g/mL), but if you enter a density in kg/L, you must convert. The calculator handles that with the unit selector.
A common misconception is that density is always constant for a material. In reality, density changes with temperature (most substances expand when heated, so density decreases) and pressure (especially for gases). For water, the density at 4 °C is 1.000 g/mL, but at 25 °C it is 0.997 g/mL. That 0.3% difference matters for precise measurements.
Limits of the Formula
The simple m = V × ρ works perfectly for homogeneous materials, but it fails for mixtures where density varies, or for porous materials where the volume includes air pockets. For a sponge, the bulk density (mass divided by total volume) is lower than the material density. If you need the true material density, you must exclude the pore volume.
For gases, the ideal gas law (PV = nRT) is more appropriate because density depends on temperature and pressure. This calculator assumes a fixed density, which is fine for liquids and solids but not for gases unless you know the density at your specific conditions.
Frequently Asked Questions
How do I convert between g/mL and kg/m³?
Multiply g/mL by 1000 to get kg/m³. For example, 1 g/mL = 1000 kg/m³. Conversely, divide kg/m³ by 1000 to get g/mL. The calculator does this for you when you select the unit.
What is the density of water?
At 4 °C, pure water has a density of exactly 1.000 g/mL. At room temperature (25 °C), it is about 0.997 g/mL. For most everyday calculations, 1.00 g/mL is close enough, but for precise lab work, use the temperature-corrected value.
Can I use this for any liquid?
Yes, as long as you know the liquid’s density at your working temperature. Common values: ethanol 0.789 g/mL, olive oil 0.91 g/mL, mercury 13.6 g/mL. You can look up density tables or measure it with a hydrometer.
Why does my result seem too high or too low?
Check your volume and density units. A common error is entering volume in liters but density in g/mL – that gives a result 1000 times too large. Also, make sure the density is for the correct temperature and that the substance is pure (not a solution or mixture).
Does this work for solids?
Yes, for a solid with a regular shape, you can measure its volume by displacement (Archimedes’ method) or by dimensions, then multiply by density. For irregular solids, water displacement is the standard method. The formula is the same.
What about gases?
For gases, density varies widely with pressure and temperature, so a fixed density is rarely valid. Use the ideal gas law or look up the density at your specific conditions. This calculator is not recommended for gases unless you have a measured density.
Related
Formula used
in v | Volume | mL | 250 | 0 sel d | Density unit | g/mL=1, kg/L=1, kg/m³=0.001, lb/ft³=0.0160185 in dval | Density value | (see unit) | 1.00 | 0 out m | Mass | g | v * dval * d | 2 out mkg | Mass in kilograms | kg | m / 1000 | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Normality to g/L Converter & Formula29.220 g/L
- Normality to meq/mL Conversion Calculator1.0000 meq/mL
- Normality Test Q-Q Plot: How to Read It
- Normality Test Results: How to Analyze Them
- Normality Slay the Spire?
- Normality Test for Paired t Test: How to Check