Convert mL to grams using ingredient density. Learn the formula, see a practical example, improve kitchen measuring accuracy, and review six helpful FAQs.

mL to Grams Converter

Choose an ingredient, enter a volume, and click Calculate.

Result
Fill in the fields and click Calculate.
Ingredient
Density
Volume
Mass
Reference densities used

ml to Grams Converter

Use the mL to Grams Converter to estimate an ingredient’s mass from its volume. Select an ingredient, enter a positive volume, choose the input and result units, then select Calculate. The result displays the ingredient, density, volume, and estimated mass.

Milliliters measure volume, while grams measure mass, so converting between them requires density. One milliliter of water is about one gram, but the same volume of flour, oil, or honey has a different mass. Treat the result as an estimate based on the selected density—not as a universal conversion or a substitute for weighing when precision matters.

How to use the converter

Choose an ingredient and enter its volume. The ingredient list includes water, milk, flour, sugar, salt, honey, butter, oil, raw rice, oats, maple syrup, and Custom ingredient. Volume options include milliliters, liters, U.S. teaspoons, U.S. tablespoons, U.S. cups, and U.S. fluid ounces. The result-unit selector lists grams, kilograms, ounces, and pounds.

Select Calculate to see the estimated mass and the density used. If the result seems unexpected, check that both the ingredient and volume unit match what you intended. A value entered in liters rather than milliliters, for example, represents a different quantity.

In a tested example, selecting water, entering 250 mL, and choosing grams displayed a density of 1 g/mL and a mass of 250 g. With the same volume and flour selected, the converter displayed 0.53 g/mL and 132.5 g. The volume stayed the same; the difference came from the ingredient density.

The converter also has Calculate and Reset buttons. Submitting an empty volume with flour selected displayed the message “Enter a valid positive volume.” Other validation cases and the Reset button were not tested.

The formula behind mL to grams

To convert milliliters to grams, multiply the volume by the ingredient’s density in grams per milliliter:

Mass in grams = volume in milliliters × density in g/mL

The units show why the formula works: mL × (g/mL) leaves grams. Density connects volume and mass. Without a density value, there is no single conversion factor that applies to every ingredient.

For the reverse conversion, divide the mass by density:

Volume in milliliters = mass in grams ÷ density in g/mL

For example, if an ingredient has a density of 0.85 g/mL, then 250 mL × 0.85 g/mL = 212.5 g. This is an estimate based on that density value, not a claim that every ingredient with a similar name has exactly the same density.

Why the ingredient changes the result

Density describes how much mass occupies a given volume. A denser substance has more mass in the same space than a less dense one. That is why 250 mL of water, oil, and flour do not all weigh 250 g.

The converter’s page lists reference densities for its preset ingredients. These are working estimates, not guaranteed measurements for every brand, recipe, or preparation method. The observed calculations used 1 g/mL for water, 0.92 g/mL for oil, and 0.53 g/mL for flour. The page also lists the other values shown below; these were not individually checked in browser testing.

These figures illustrate how much results can differ. At the listed densities, 100 mL would correspond to about 100 g of water, 92 g of oil, or 53 g of flour. Treat these as estimates based on the page’s reference values. A product’s composition, temperature, and physical form can affect its actual density.

IngredientListed density
Water1
Milk1.04
Flour0.53
Sugar0.85
Salt1.217
Honey1.42
Butter0.911
Oil0.92
Raw rice0.85
Oats0.43
Maple syrup1.319

Using a custom density

If the ingredient is not a good match for a preset, the page provides a Custom ingredient option and a custom-density field. Use a value that describes the specific material you are measuring, preferably from product documentation or a suitable reference that identifies the units and conditions.

Custom-density entry was not tested, so check the displayed density and result carefully after entering a value. For the formula above, density should be in g/mL when volume is in milliliters. To convert a density in kilograms per cubic meter to g/mL, divide by 1,000. For example, 850 kg/m³ corresponds to 0.85 g/mL.

For powders, choose a density that suits the way the volume is measured. A value for a solid material may not match the bulk density of a scoop of powder, which includes air spaces between particles.

Volume and result units

The tool accepts several volume units, not only milliliters. Choose the unit that matches the amount you are entering, then check the volume and density shown with the result. U.S. teaspoons, tablespoons, cups, and fluid ounces measure volume. They are not interchangeable with mass measurements expressed in teaspoons, tablespoons, cups, or ounces.

The result selector offers grams, kilograms, ounces, and pounds. The formula is easiest to follow when mass is in grams and density is in g/mL. The other result-unit options were not tested here, so check the displayed unit before using the answer.

In one tested example, 1.056688 U.S. cups of oil produced a displayed result of 229.999954 g. This is consistent with the tested oil density of 0.92 g/mL and a volume close to 250 mL. It does not establish how every volume unit or input is handled. Check the volume and unit shown in your own result.

How accurate is the estimate?

A calculation can only be as reliable as its inputs. If the selected ingredient or density does not represent what you have, the arithmetic may be consistent while the answer is still a poor estimate.

Dry ingredients are especially sensitive to handling. Flour or oats may settle, clump, become aerated, or be packed tightly into a measuring cup. That changes the mass in a given volume. Kitchen conversion references also caution that compaction and clumping affect dry-ingredient density. Weighing is generally the better choice when repeatability matters.

Liquids can vary as well. Temperature and composition affect density, and products with the same broad label may not be identical. For a recipe, use product-specific information if you have a dependable value. Otherwise, regard the converter’s preset as a practical approximation.

Extra decimal places do not make an estimate more precise. The displayed flour result of 132.5 g, for example, is calculated from the selected 0.53 g/mL density. It does not mean every 250 mL portion of flour weighs exactly 132.5 g. Round to a precision your scale or recipe can meaningfully use.

When to use a scale instead

For baking, recipe development, or scaling a recipe to a larger batch, weighing the ingredient directly is usually more dependable than converting volume with an average density. A scale measures the amount you have and avoids some uncertainty from scooping, packing, or product differences.

The converter is useful when a recipe gives a volume but you need a rough mass estimate, or when you want to compare quantities. It cannot correct a poorly measured volume or an unsuitable density. If precision matters, weigh the ingredient and use the conversion as a cross-check.

Do not rely on approximate kitchen densities for medication dosing, laboratory procedures, industrial formulation, or other safety-critical tasks. Use the validated measurements and professional guidance required for that context.

Troubleshooting a result

If the converter does not calculate, enter a valid positive volume. An empty entry was observed to trigger a validation message. Behavior for zero, negative, or non-numeric entries was not tested.

If the mass looks too high or too low, check the selected ingredient, volume unit, and density shown in the result. A mistaken unit can change the quantity substantially. Selecting water for flour will also apply the wrong density even if the volume is correct.

If you use Custom ingredient, confirm that the density uses compatible units and suits the material’s form and temperature. When the result matters, compare it with a direct scale measurement rather than assuming the preset or custom density is exact.

Frequently asked questions

Are 100 mL and 100 g always equal?

No. They are approximately equal for water when using a density near 1 g/mL. Other ingredients have different densities, so the same 100 mL can have a different mass.

What formula converts mL to grams?

Multiply the volume in milliliters by the density in grams per milliliter: grams = mL × density (g/mL).

Why does 250 mL of flour weigh less than 250 mL of water?

The converter lists flour at 0.53 g/mL and water at 1 g/mL. Those values give 132.5 g for 250 mL of flour and 250 g for 250 mL of water. Flour’s actual mass can also vary with settling and packing.

Can I convert grams back to milliliters?

Yes, if you know the ingredient’s density. Divide the mass in grams by density in g/mL to get volume in milliliters.

Does temperature affect an mL-to-grams conversion?

It can. Temperature may change a material’s density, though the difference may be small for everyday kitchen estimates. When precision matters, use density data that matches the conditions.

Can I use the preset density for any brand of an ingredient?

Treat it as a general estimate, not a guarantee for every product. Composition and preparation can vary, and dry ingredients also vary with settling and packing. Use product-specific information or weigh the ingredient when accuracy matters.

Is a fluid ounce the same as an ounce?

No. A fluid ounce measures volume; an ounce without “fluid” normally refers to mass. Converting between them requires density.

Can I use this converter for medicine or laboratory measurements?

Do not use approximate kitchen-density conversions for dosing or other safety-critical measurements. Use validated procedures, suitable instruments, and qualified guidance instead.

Share on: