molecalculator

Moles & Molar Mass

Density in g/L: Meaning, Formula, and Conversions

Calculator No. 01-2066 · Updated · Formula and assumptions shown below

Density 1,000.000 g/L
Density
1,000.000 kg/m³
= Density
Mass
1000 g
Set in the form below
Volume
1 L
Set in the form below
You enter
Mass (g), Volume (L)
You get
Density (g/L), Density (kg/m³)
Rounding
3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Density can be expressed in grams per liter (g/L), but g/L is only one possible unit—not the definition of density. A density calculator converts a substance’s mass and volume into g/L, kg/m³, or other compatible units so you can compare measurements without mixing scales.

Formula

Density is mass divided by volume: ρ = m / V. In the calculator, m is mass in grams (g), V is volume in liters (L), and ρ is density in grams per liter (g/L). The second result is the same density in kilograms per cubic meter (kg/m³). Its numerical value matches g/L because 1 g/L = 1 kg/m³: both the numerator and denominator change by a factor of 1,000.

The calculator assumes the mass and volume refer to the same sample and that the volume is measured in liters. If your measurements use different units, convert them before entering the values.

Worked Example

Using the default mass of 1000 g and volume of 1 L:

  1. Apply the density formula: ρ = m / V.
  2. Substitute the values: ρ = 1000 g / 1 L.
  3. Calculate: ρ = 1000 g/L.
  4. Convert to kg/m³ using the equal numerical value: 1000 g/L = 1000 kg/m³.

The calculator therefore gives 1000 g/L, or 1000 kg/m³.

Assumptions

  • Mass and volume describe the same sample.
  • The entered volume is the sample’s volume in liters, not an unrelated container capacity.
  • The result is a bulk density based on the supplied measurements; no correction for temperature, pressure, or material composition is applied.

Is Density Measured in g/L?

Yes. Grams per liter is a valid density unit, especially for liquids, solutions, and gases when quantities are convenient in grams and liters. But density can also be reported in grams per milliliter (g/mL), kilograms per cubic meter (kg/m³), or other mass-per-volume units. The best unit depends on the scale and context.

Density describes how much mass occupies a given volume. A sample with a mass of 100 g and a volume of 0.1 L has a density of 1000 g/L. The unit tells you that each liter of material would have a mass of 1000 g, assuming the material remains uniform and its density is unchanged.

Density is an intensive property: it does not normally depend on how much of a uniform material you have. A small sample and a large sample of the same material can have the same density under the same conditions, even though their total masses and volumes differ.

How to Convert Common Density Units

Unit conversions are a frequent source of mistakes because mass and volume may each need their own conversion. Useful relationships include:

  • g/L to kg/m³: the numerical value stays the same. For example, 800 g/L = 800 kg/m³.
  • g/L to g/mL: divide by 1000, since 1 L = 1000 mL. For example, 800 g/L = 0.800 g/mL.
  • g/mL to g/L: multiply by 1000. For example, 0.92 g/mL = 920 g/L.
  • kg/L to g/L: multiply by 1000, since 1 kg = 1000 g.

Dimensional analysis is a reliable check: write the conversion factors as fractions so unwanted units cancel. For example, 0.8 g/mL × 1000 mL/L = 800 g/L. If the units do not cancel to the desired unit, the conversion has been set up incorrectly.

Choosing the Right Unit and Interpreting Results

For water-like liquids, g/mL is common because a milliliter is a convenient volume for laboratory samples. g/L is often easier for dilute solutions or larger volumes. For engineering and scientific work, kg/m³ is the coherent SI form. Since g/L and kg/m³ have the same numerical value, they are especially convenient to compare.

For example, a density of 1.2 g/L is equivalent to 0.0012 g/mL and 1.2 kg/m³. This relatively low density is a scale one might encounter for a gas under some conditions; it should not be treated as a universal value for any particular gas. Gas density changes with temperature and pressure. Liquids and solids also change density with conditions, though usually less dramatically over ordinary ranges.

When comparing published values, check the temperature, pressure, composition, and unit. A solution’s density may differ from that of the pure solvent, and a material described only by a name may have variable composition. Report enough context for another person to interpret or reproduce a measurement.

Common Mistakes and Measurement Limits

The most common error is entering a volume in milliliters as though it were liters. A volume of 250 mL is 0.250 L, not 250 L. That unit mismatch changes the calculated density by a factor of 1000. Similarly, grams and kilograms must not be interchanged without conversion.

  • Check that the mass and volume units match the calculator’s inputs.
  • Use the sample’s actual volume, not the full capacity of its container.
  • Keep sensible significant figures: a calculator may display many digits, but the result cannot be more precise than the measurements.
  • For gases, note temperature and pressure; for mixtures and solutions, record composition where relevant.

Mass divided by volume gives an average density. If a sample has air gaps, pores, or multiple phases, the result may represent bulk density rather than the intrinsic density of the solid material. Measurement uncertainty in either mass or volume also carries into the result. A highly precise-looking calculation does not remove uncertainty from the original measurements.

Frequently Asked Questions

Is g/L the same as g/mL?
No. A liter contains 1000 milliliters, so 1 g/mL equals 1000 g/L. The values are different even though both units describe density.

Is g/L the same as kg/m³?
Yes, they are numerically equivalent: 1 g/L = 1 kg/m³. The mass and volume units both scale by a factor of 1000 in the conversion.

How do I calculate density in g/L?
Divide mass in grams by volume in liters. For instance, 60 g in 0.5 L gives 60 ÷ 0.5 = 120 g/L.

Can a gas have density in g/L?
Yes. g/L is often practical for gas density, but the result depends on the gas’s temperature and pressure as well as its composition.

Does density change with temperature?
It can. Many materials expand or contract as temperature changes, changing volume and therefore density. State the measurement conditions when they matter.

Related

Formula used
in m | Mass | g | 1000 | 0
in v | Volume | L | 1 | 0
out d | Density | g/L | m / v | 3
out dk | Density | kg/m³ | d | 3

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

The whole Moles & Molar Mass section →