Free · 100+ ingredients · Interactive beaker · Temperature-aware

mL to Grams Converter — Convert Milliliters to Grams for 100+ Ingredients

Convert milliliters to grams (and grams back to milliliters) for 100+ ingredients across cooking, baking, chemistry, cosmetics and fuels. Pick an ingredient or enter a custom density, and the mass updates live. Water gets a temperature slider from 0 to 100 °C because its density changes with heat. You also get an interactive beaker visual, a density comparison ladder, batch conversion tables, step-by-step working, and a full searchable reference. Everything runs in your browser.
🧪 100+ ingredients 🌡️ Temperature-aware water 📊 Interactive visuals 🔄 Bidirectional 🔒 No upload

Milliliters ↔ Grams Converter

Pick an ingredient, type a volume, read the mass — live.
💧
Water (20 °C)
Density 0.9982 g/mL
Change ↓
Water temperature
20 °C
Density changes from 0.9998 g/mL at 4 °C to 0.9584 g/mL at 100 °C.
Same volume, different mass
—
Ingredient
—
Water
—
Mass of 250 mL by ingredient
Choose an ingredient
Specific gravity is numerically equal to density in g/mL because water is 1.000 g/mL at 4 °C.
📊 Batch conversion — 12 common volumes
VolumeMass (g)Mass (kg)Mass (oz)
📚 Full density reference — all 100+ ingredients
IngredientCategoryDensity (g/mL)100 mL250 mL1 cup
🕘 Recent conversions

What "mL to grams" actually means

Milliliters and grams measure two entirely different physical quantities. A milliliter (mL) measures volume — the amount of three-dimensional space a substance occupies. A gram (g) measures mass — the amount of matter in that substance. They are not interchangeable, and they never will be. The bridge between them is density: how much mass sits inside a given volume.

mass (g) = volume (mL) × density (g/mL)
And in reverse: volume (mL) = mass (g) ÷ density (g/mL)

For water near 4 °C the density is almost exactly 1.000 g/mL, which is why "1 mL = 1 g" gets repeated so often. That single coincidence has convinced generations of cooks that the two units are the same. They are not. A milliliter of honey weighs about 1.42 g; a milliliter of all-purpose flour weighs about 0.53 g; a milliliter of mercury weighs 13.55 g. Same volume, wildly different mass — because density is a property of the substance, not of the units.

Why 1 mL of water is 1 gram (and when it isn't)

The original definition of the gram in 1795 was the mass of one cubic centimeter of pure water at the melting point of ice. The liter was defined as the volume of one cubic decimeter, which is 1,000 cubic centimeters. Those definitions made water's density exactly 1 g/cm³ by design — the metric system was built around water so that the numbers would be clean.

Modern measurements refined the number. Water actually reaches its maximum density of 0.99997 g/mL at 4 °C and becomes less dense as it warms or freezes:

TemperatureDensity (g/mL)1 mL weighs1 L weighs
0 °C (ice)0.91680.917 g0.917 kg
4 °C (maximum)0.999970.99997 g0.99997 kg
20 °C (room)0.998210.998 g0.998 kg
25 °C0.997050.997 g0.997 kg
40 °C0.992220.992 g0.992 kg
60 °C0.983200.983 g0.983 kg
80 °C0.971800.972 g0.972 kg
100 °C (boiling)0.958350.958 g0.958 kg

The change from 4 °C to 100 °C is about 4.2% — small enough to ignore when you are measuring a cup of water for soup, but large enough to matter in a laboratory, in a pressure vessel, or in any calculation where a few percent changes the answer. That is why this calculator includes a temperature slider whenever water is selected.

💡 Why ice floats. Water is one of the few substances whose solid form is less dense than its liquid form (0.917 vs 0.998 g/mL). The hydrogen bonds in ice lock into an open hexagonal lattice that takes up more space than the loosely packed liquid. That is why lakes freeze from the top down and fish survive the winter.

The formula, and how to use the calculator

Every conversion on this page reduces to the same equation, just solved for a different variable:

You knowYou wantFormula
Volume and densityMassmass = volume × density
Mass and densityVolumevolume = mass ÷ density
Mass and volumeDensitydensity = mass ÷ volume

To use the calculator:

  1. Pick the direction. The two tabs at the top switch between mL → grams and grams → mL. The active field is the one you type into; the other is calculated.
  2. Select an ingredient. The banner shows the current ingredient and its density. Scroll to the ingredient picker to search by name, filter by category, or enter a custom density.
  3. Type a number. The mass (or volume) updates live. You can enter mL, L, cups, tablespoons, teaspoons or fluid ounces on the volume side, and grams, kilograms, ounces or pounds on the mass side.
  4. Use a quick preset. The row of buttons below the converter fills in common recipe quantities — 1 tsp, 1 tbsp, ¼ cup, ½ cup, 1 cup, 250 mL, 500 mL, 1 L.
  5. Check the visual. The beakers show the selected ingredient and water at the same volume. The density ladder shows how the same volume of 12 common ingredients weighs different amounts.
  6. Read the working. The dark panel below the visual substitutes your own numbers into the formula line by line.

Common mL to grams conversions

These are the quantities people search for most often, worked out for the ingredients that matter most in a kitchen.

Water

At room temperature (20 °C) water is 0.998 g/mL, so the numbers are very close to 1:1. At 4 °C they are exactly 1:1 for practical purposes.

VolumeWater (20 °C)Water (4 °C)
1 mL0.998 g1.000 g
5 mL (1 tsp)4.99 g5.00 g
15 mL (1 tbsp)14.97 g15.00 g
100 mL99.8 g100.0 g
240 mL (1 cup)239.6 g240.0 g
250 mL249.6 g250.0 g
500 mL499.1 g500.0 g
1000 mL (1 L)998.2 g1000.0 g

Milk

Whole milk is about 3% denser than water because of the dissolved sugars, proteins and fat. A cup of milk therefore weighs about 244 g, not 240 g.

VolumeWhole milkSkim milkHeavy cream
1 mL1.03 g1.035 g1.01 g
100 mL103 g103.5 g101 g
250 mL257.5 g258.8 g252.5 g
500 mL515 g517.5 g505 g
1 cup (236.6 mL)243.7 g244.9 g239.0 g

All-purpose flour

Flour is the ingredient that breaks the 1:1 assumption most dramatically. A cup of flour is mostly air between the particles, so its bulk density is only about 0.53 g/mL. That means 1 cup of flour weighs about 125 g, less than half the weight of a cup of water.

VolumeAP flourBread flourCake flourWhole wheat
1 mL0.528 g0.537 g0.450 g0.507 g
100 mL52.8 g53.7 g45.0 g50.7 g
250 mL132.0 g134.3 g112.5 g126.8 g
1 cup (236.6 mL)124.9 g127.1 g106.5 g119.9 g
⚠ Flour packing changes everything. A cup of flour scooped straight from the bag can weigh 140–150 g; the same cup spooned gently and levelled weighs about 125 g; sifted flour can drop to 110 g. That is a 25% swing for the same volume. This is why professional bakers weigh flour instead of measuring it.

Sugar

Granulated sugar is denser than flour but still less dense than water. Brown sugar is heavier because it is packed and moist; powdered sugar is lighter because it is finely ground and aerated.

VolumeGranulatedBrown (packed)Powdered
1 mL0.845 g0.930 g0.560 g
100 mL84.5 g93.0 g56.0 g
250 mL211.3 g232.5 g140.0 g
1 cup (236.6 mL)199.9 g220.0 g132.5 g

Honey, syrup and other sticky liquids

These are the densest ingredients in a normal kitchen. Honey at 1.42 g/mL is 42% heavier than water for the same volume, which is why a cup of honey weighs about 336 g — and why recipes that measure honey by volume are risky.

VolumeHoneyMaple syrupCorn syrupMolasses
1 mL1.42 g1.33 g1.38 g1.40 g
15 mL (1 tbsp)21.3 g20.0 g20.7 g21.0 g
100 mL142 g133 g138 g140 g
250 mL355 g332.5 g345 g350 g
1 cup (236.6 mL)336.0 g314.7 g326.5 g331.2 g

Cooking oils and melted fats

Oil is the lightest common kitchen liquid at about 0.91–0.92 g/mL. That means 100 mL of oil weighs about 92 g, not 100 g — a difference that matters when you are scaling a recipe or counting calories.

VolumeVegetable oilOlive oilMelted butterCoconut oil (melted)
1 mL0.920 g0.910 g0.911 g0.920 g
15 mL (1 tbsp)13.8 g13.7 g13.7 g13.8 g
100 mL92.0 g91.0 g91.1 g92.0 g
250 mL230.0 g227.5 g227.8 g230.0 g
1 cup (236.6 mL)217.7 g215.3 g215.5 g217.7 g

Why weight beats volume in cooking and baking

Volume measurements are convenient but imprecise. A "cup" of flour can vary by 25% depending on whether it was scooped, spooned or sifted. A "tablespoon" of honey can vary by 10% depending on how much sticks to the spoon. Weight measurements do not have this problem: 125 g of flour is 125 g of flour whether it is packed, loose or sifted.

That is why every professional bakery works in grams, and why more and more home recipes now list both. If a recipe gives only volume and you want to reproduce it reliably, converting to grams once and writing the gram weight on the recipe card is the single biggest accuracy improvement you can make.

💡 The 1:1 trap. The most common cooking mistake is assuming 1 mL = 1 g for every ingredient. It is only true for water. For flour it is off by almost half; for honey it is off by 42%; for oil it is off by about 9%. Using this calculator instead of the 1:1 shortcut prevents all of those errors.

Chemistry and laboratory conversions

In a lab, mL-to-grams conversions are routine and the accuracy requirements are higher than in a kitchen. A few practical notes:

  • Use the density on the reagent bottle. Generic tables (including this one) give typical values. A certificate of analysis will give the density of that specific lot at a stated temperature, and that is the number to use for quantitative work.
  • Temperature matters. Most liquid densities change by 0.1–1% over a 20 °C range. Water is the extreme case at about 4% between 4 °C and 100 °C.
  • Concentration matters. "Hydrochloric acid" could be 37% (1.19 g/mL) or 10% (1.05 g/mL). "Ethanol" could be 100% (0.789 g/mL) or 70% (0.868 g/mL). Always check the concentration.
  • Specific gravity is your friend. Many lab reagents are labelled with specific gravity rather than density. Because water is 1.000 g/mL at 4 °C, SG and g/mL are numerically identical for practical purposes.
  • Do not use this for quantitative analysis. Treat the output as a planning estimate, not a measurement. For anything that goes into a report, weigh the substance on a balance.

Cosmetics and packaging — why a 100 mL bottle is not 100 g

Cosmetic and personal-care products are labelled by volume (mL or fl oz), not by mass. A "100 mL" bottle of body lotion contains about 99 g of product; a "100 mL" bottle of shampoo contains about 104 g; a "100 mL" bottle of hand sanitizer contains about 88 g. The bottle size is a volume claim, and the mass depends on the formulation's density.

This matters for a few practical reasons: shipping costs are often calculated by weight, customs declarations ask for net mass, and DIY cosmetic formulators who work in grams need to convert their target volume into a mass before weighing out ingredients. The densities used here (shampoo 1.04, conditioner 0.98, lotion 0.99, body wash 1.05, hand sanitizer 0.88, liquid soap 1.03) are typical values from packaging-industry references; your specific product may differ.

Medicine and pharmacy — where mL to grams is a safety issue

In pharmacy, the mL-to-grams relationship is most often used when converting a prescribed liquid dose into the mass of active ingredient. Liquid medicines are labelled with a concentration — for example, "paracetamol 120 mg per 5 mL." To find the mass in a given volume, you multiply the volume by the concentration, not by the liquid's bulk density. The density of the syrup itself (which is mostly sugar and water, around 1.2–1.3 g/mL) is irrelevant to the drug dose.

The mL-to-grams conversion becomes directly relevant in two other pharmaceutical contexts:

  • Compounding. A pharmacist preparing a custom formulation may need to convert a prescribed volume of a liquid excipient into a mass for weighing. For that, the excipient's specific gravity — usually printed on the certificate of analysis — is the correct value.
  • Infusion and IV calculations. Normal saline (0.9% NaCl) has a density of about 1.0046 g/mL at 20 °C, so 1,000 mL weighs 1,004.6 g, not 1,000 g. The difference is negligible for patient care but important for pump calibration and for gravimetric verification.
⚠ Do not use a generic density table for medication dosing. Use the concentration printed on the medicine label. A 5 mL spoonful of one brand of syrup can contain a different mass of active ingredient than 5 mL of another brand, even though the volume is the same.

Common mistakes

  • Assuming 1 mL = 1 g for everything. Only water comes close. Flour is about half, honey is about 1.4×, oil is about 0.92×.
  • Using a volume measurement for a solid ingredient. Flour, sugar, cocoa and spices are compressible. A cup of packed brown sugar can weigh 30% more than a cup of loose brown sugar. Weight is always more reliable.
  • Confusing fluid ounces with ounces. A US fluid ounce (29.574 mL) measures volume; a solid ounce (28.35 g) measures mass. "8 oz of milk" means 8 fluid ounces (about 237 mL, about 244 g); "8 oz of cheese" means 8 weight ounces (227 g).
  • Forgetting that density changes with temperature. It matters most for water and for anything measured hot.
  • Using a generic density for a concentrated product. Condensed milk is 1.28 g/mL, not 1.03 like regular milk. Evaporated milk is about 1.07. Always check.
  • Trusting the label on a bottle. A "500 mL" bottle is a volume claim. The mass printed on the label is the net mass, and it may be different from what you would calculate if the density is not exactly what you assumed.

Limitations

  • Densities are typical published values. Real ingredients vary with brand, moisture content, temperature, packing and concentration.
  • Bulk densities for powders (flour, sugar, cocoa) depend heavily on how the powder is settled. The values here assume a spooned-and-levelled measurement unless otherwise noted.
  • Water density is interpolated from a standard table between 0 and 100 °C at 1 atmosphere. At high altitude or high pressure the values differ slightly.
  • Custom density accepts any positive number. It does not validate that the density is physically realistic for the ingredient you have in mind.
  • The batch table and reference table use the density of the currently selected ingredient; changing the ingredient recalculates them.
  • The calculator does not account for dissolved gases, suspended solids, or non-Newtonian behaviour (like ketchup or mayonnaise, whose effective density can change with shear).

Frequently asked questions

Is 1 ml equal to 1 gram?

Only for pure water near 4 °C, where the density is 0.99997 g/mL. At room temperature water is about 0.998 g/mL, so 1 mL is 0.998 g. For every other ingredient the number is different: 1 mL of honey is about 1.42 g, 1 mL of all-purpose flour is about 0.528 g, and 1 mL of vegetable oil is about 0.92 g.

How many grams is 100 ml?

It depends on the ingredient. 100 mL of water weighs about 99.8 g at room temperature (100 g near 4 °C). 100 mL of whole milk weighs about 103 g. 100 mL of all-purpose flour weighs about 53 g. 100 mL of honey weighs about 142 g. 100 mL of vegetable oil weighs about 92 g.

How many grams is 250 ml?

250 mL of water weighs about 250 g. 250 mL of whole milk weighs about 258 g. 250 mL of all-purpose flour weighs about 132 g. 250 mL of granulated sugar weighs about 211 g. 250 mL of honey weighs about 355 g. 250 mL of vegetable oil weighs about 230 g.

How many grams is 500 ml?

500 mL of water weighs about 500 g (0.5 kg). 500 mL of whole milk weighs about 515 g. 500 mL of all-purpose flour weighs about 264 g. 500 mL of granulated sugar weighs about 423 g. 500 mL of honey weighs about 710 g.

How many grams is 1 cup?

A US cup is 236.588 mL, so the mass depends on the ingredient. 1 cup of water is about 236 g. 1 cup of whole milk is about 244 g. 1 cup of all-purpose flour is about 125 g. 1 cup of granulated sugar is about 200 g. 1 cup of honey is about 336 g. 1 cup of vegetable oil is about 218 g.

How many ml is 1 gram?

Divide the mass by the density: volume (mL) = mass (g) ÷ density (g/mL). For water, 1 g is about 1 mL. For honey (1.42 g/mL), 1 g is about 0.70 mL. For all-purpose flour (0.528 g/mL), 1 g is about 1.89 mL.

How do you convert ml to grams?

Multiply the volume in milliliters by the density of the ingredient in grams per milliliter: grams = milliliters × density (g/mL). For example, 250 mL of milk × 1.03 g/mL = 257.5 g.

How do you convert grams to ml?

Divide the mass in grams by the density: milliliters = grams ÷ density (g/mL). For example, 100 g of honey ÷ 1.42 g/mL = 70.4 mL.

What is the density of water in g/mL?

Water reaches its maximum density of 0.99997 g/mL at 4 °C. At 20 °C it is 0.99821 g/mL, at 25 °C it is 0.99705 g/mL, and at 100 °C it is 0.95835 g/mL. For everyday cooking the difference from 1.000 g/mL is small enough to ignore, but for laboratory work it matters.

What is 100 ml of flour in grams?

About 53 g for all-purpose flour (0.528 g/mL). Bread flour is slightly denser at about 54 g, cake flour lighter at about 45 g, and whole wheat flour about 51 g. How the flour is packed changes the result more than the flour type does.

What is 250 ml of milk in grams?

About 258 g for whole milk (1.03 g/mL). Skim milk is about 259 g, buttermilk about 260 g, and heavy cream about 253 g.

Is 100 ml of oil 100 grams?

No. Cooking oil is less dense than water at about 0.91–0.92 g/mL, so 100 mL of oil weighs about 91–92 g, not 100 g. Olive oil is about 91 g, vegetable oil about 92 g, and melted coconut oil about 92 g.

How many grams is 1 tablespoon?

A US tablespoon is 14.787 mL, so the mass depends on the ingredient. 1 tbsp of water is about 14.8 g. 1 tbsp of whole milk is about 15.2 g. 1 tbsp of all-purpose flour is about 7.8 g. 1 tbsp of granulated sugar is about 12.5 g. 1 tbsp of honey is about 21 g. 1 tbsp of vegetable oil is about 13.6 g.

How many grams is 1 teaspoon?

A US teaspoon is 4.929 mL. 1 tsp of water is about 4.9 g. 1 tsp of all-purpose flour is about 2.6 g. 1 tsp of granulated sugar is about 4.2 g. 1 tsp of honey is about 7.0 g. 1 tsp of salt is about 6.3 g.

Does 100 ml weigh 100 g?

Only if the ingredient has a density of exactly 1 g/mL — essentially water near 4 °C. 100 mL of milk weighs about 103 g, 100 mL of honey about 142 g, and 100 mL of flour about 53 g.

What is heavier, 1 ml or 1 gram?

They measure different things, so the question only makes sense for a specific ingredient. For water they are almost identical. For ingredients denser than water (honey, syrup, milk) 1 mL weighs more than 1 g. For ingredients less dense than water (oil, flour, alcohol) 1 mL weighs less than 1 g.

What is the density of milk?

Whole milk is about 1.030 g/mL, skim milk about 1.035 g/mL, buttermilk about 1.040 g/mL, heavy cream about 1.010 g/mL, and plain yogurt about 1.050 g/mL.

What is the density of honey?

Honey is about 1.42 g/mL, which is why a cup of honey weighs about 336 g — roughly 1.4 times the weight of a cup of water. Maple syrup is about 1.33 g/mL, corn syrup about 1.38 g/mL, and molasses about 1.40 g/mL.

Why is ml to grams different for different ingredients?

Milliliters measure volume and grams measure mass. The bridge between them is density — how much mass fits into a given volume. Water packs about 1 gram into every milliliter; flour packs only about half a gram because it is mostly air between the particles; honey packs about 1.4 grams because it is dense sugar syrup.

Does temperature affect ml to grams?

Yes, slightly. Water is densest at 4 °C (0.99997 g/mL) and less dense when hot (0.958 g/mL at 100 °C), a difference of about 4%. Most other liquids change by a similar or smaller amount over normal kitchen temperatures. This calculator includes a temperature slider for water so you can see the effect.

What is specific gravity and how does it relate to g/mL?

Specific gravity (SG) is the density of a substance divided by the density of water at 4 °C. Because water's density is essentially 1 g/mL, the specific gravity of a liquid is numerically equal to its density in g/mL. An SG of 1.42 (honey) means 1.42 g/mL.

Can I use this calculator for chemistry or laboratory work?

Yes for routine conversions, but be aware that laboratory densities are temperature-dependent and reagent-grade chemicals have certificate-of-analysis values that may differ from the typical values shown here. For quantitative analysis, use the density printed on the reagent bottle rather than a generic table value.

Why does a 100 ml bottle of lotion not weigh 100 g?

Cosmetic packaging is labelled by volume, but the product's density is rarely exactly 1 g/mL. Body lotion is about 0.99 g/mL, shampoo about 1.04 g/mL, and hand sanitizer about 0.88 g/mL. A 100 mL bottle of hand sanitizer therefore contains about 88 g of product, not 100 g.

How accurate is this calculator?

The arithmetic is exact; the accuracy of the result depends entirely on the density value you use. The built-in densities are typical published values from USDA FoodData Central, the FAO density database and standard chemistry references. Real ingredients vary with brand, moisture content, temperature and packing, so treat the output as a very good estimate rather than a laboratory measurement.

Does the calculator work offline?

Yes. Every conversion, visualisation and table runs in your browser with plain JavaScript. No network request is made after the page loads.

Does it store my data?

Nothing is uploaded. Recent conversions are optionally saved in your browser's localStorage so you can reload them, and you can clear them at any time.

Sources and methodology

  • USDA FoodData Central — ingredient densities and moisture contents for flours, sugars, dairy and syrups.
  • FAO/INFOODS Density Database v1.0 (2011) — density values for milk, cream, yogurt and fruit juices.
  • CRC Handbook of Chemistry and Physics — densities of ethanol, acetone, glycerin, mercury and common laboratory liquids.
  • NIST Chemistry WebBook — thermophysical properties of water, including the density-vs-temperature table used for the water slider.
  • ASM Metals Reference Book and packaging-industry references — densities for cosmetics and personal-care products.
  • BIPM SI Brochure — definitions of the kilogram, liter and cubic centimeter that underpin the metric relationship.
Scroll to Top