You need the density of the substance to convert milliliters to grams

Milliliters measure volume — how much space something takes up. Grams measure weight — how heavy something is. You cannot convert between them without knowing what the substance is, because different things weigh different amounts in the same volume.

Water is the easiest example: 1 milliliter of water weighs exactly 1 gram. But 1 milliliter of honey weighs about 1.4 grams, and 1 milliliter of flour weighs about 0.5 grams. The volume stays the same; the weight changes because the density is different.

To convert any milliliter amount to grams, you multiply the milliliters by the density of that specific substance. The formula is: grams = milliliters × density. Once you know the density, the math is straightforward.

Key Takeaways

  • Milliliters measure volume and grams measure weight, so you must know what substance you are converting to do the math.
  • Water has a density of 1 gram per milliliter, making it the reference point for all other conversions.
  • Common cooking ingredients have different densities: honey is about 1.4 g/mL, olive oil is about 0.92 g/mL, and flour is about 0.5 g/mL.
  • Multiply the milliliters by the density to get grams — for example, 100 mL of honey is 100 × 1.4 = 140 grams.

How to find the density of a substance

The density you need is usually listed as grams per milliliter (g/mL). For cooking and baking, you can find this information on ingredient packaging, in recipe books that use metric measurements, or in kitchen conversion charts online.

If you are working with a packaged product, check the nutrition label or the ingredient list. Many products list both weight and volume, which lets you calculate density yourself: divide the grams by the milliliters. For example, if a bottle says it contains 500 mL and weighs 460 grams, the density is 460 ÷ 500 = 0.92 g/mL.

For loose ingredients like flour, sugar, or spices, kitchen reference sites and baking books provide standard densities. These can vary slightly depending on how packed the ingredient is, but the difference is usually small enough not to matter for home cooking.

Common kitchen ingredient densities

Here are the densities of ingredients you use regularly in cooking and baking. These are approximate and assume ingredients at room temperature:

IngredientDensity (g/mL)Example: 100 mL equals
Water1.0100 grams
Milk1.03103 grams
Honey1.4140 grams
Olive oil0.9292 grams
Butter (melted)0.9191 grams
All-purpose flour0.550 grams
Granulated sugar0.880 grams
Baking powder0.990 grams
Salt1.2120 grams

Keep in mind that flour density can shift based on how tightly it is packed. Scooping flour directly from the bag and packing it down gives a higher density than spooning it loosely. For baking, where precision matters, weighing ingredients is more reliable than converting volumes.

Step-by-step conversion for a recipe

Suppose a recipe calls for 250 mL of olive oil and you want to know the weight. First, identify the substance — olive oil. Second, find its density — 0.92 g/mL. Third, multiply: 250 × 0.92 = 230 grams.

If you are converting flour, the same steps apply. A recipe calls for 300 mL of flour. The density of all-purpose flour is about 0.5 g/mL. So 300 × 0.5 = 150 grams. This is why bakers often prefer grams: the same volume of flour can weigh anywhere from 120 to 160 grams depending on how it is scooped, but 150 grams is always 150 grams.

Write down the density you used so you remember it next time. Over time, you will memorize the densities of the ingredients you use most often.

Why bakers and cooks use grams instead of milliliters

Weight is more consistent than volume, especially for dry ingredients. When you scoop flour into a measuring cup, you might pack it down or leave it loose without thinking about it. That same cup can hold anywhere from 100 to 150 grams of flour depending on your technique. A scale does not have that problem — 150 grams is always 150 grams.

Liquids are more forgiving because their density does not change much with how you pour them. Water and milk are close enough to 1 g/mL that measuring by volume works fine for most home cooking. But for baking, where the ratio of ingredients matters more, grams are worth the small effort of using a kitchen scale.

Professional recipes and baking books increasingly list ingredients in grams for this reason. If you are following a recipe that uses metric measurements, converting to grams from milliliters is often the intended path.

When you cannot find the density

If you have an unusual ingredient and cannot find its density listed anywhere, you can measure it yourself with a kitchen scale and a measuring cup. Pour or scoop the ingredient into a measuring cup until it reaches a known volume — say, 100 mL. Then place the cup on a scale and note the weight. Divide the weight by the volume to get density.

For very thick or chunky substances like peanut butter or jam, this method works but the result depends on how tightly you pack it. If the recipe is important, it is worth doing this test a couple of times to see the range.

Another option is to search for the ingredient name plus "density" or "grams per milliliter" online. Food databases and cooking sites often have this information for less common items.

Frequently Asked Questions

Is 1 milliliter always 1 gram?

No. One milliliter of water is 1 gram, but 1 milliliter of other substances weighs different amounts. Honey is heavier (about 1.4 grams per mL) and flour is lighter (about 0.5 grams per mL). You must know what the substance is to convert.

Can I use a kitchen scale to measure milliliters?

Yes, if you know the density. Weigh the ingredient, then divide by its density to find the volume in milliliters. For example, 100 grams of olive oil ÷ 0.92 g/mL = about 109 mL. This is useful when a recipe gives weight but you only have measuring cups.

Why does flour weight change so much?

Flour is full of air pockets. When you scoop and pack it, you squeeze out some air and fit more flour into the same space. Spooning flour loosely into a cup leaves more air and weighs less. This is why bakers weigh flour instead of measuring it by volume.

Do I need to adjust the conversion for temperature?

For most home cooking, no. Density does shift slightly with temperature, but the change is small enough that it does not matter in recipes. If you are working with very hot or very cold ingredients, the difference is usually less than a gram or two.

What if a recipe lists both milliliters and grams?

Use the grams. If both are given, the recipe writer is telling you that weight is the more reliable measurement. This is especially true for baking, where precision affects how the recipe turns out.