ML to G Formula
To convert ml to g, multiply the volume by the density: grams = ml × density (g/ml).
This guide covers the math behind the conversion: the formula and its reverse, unit factors for cups and spoons, how specific gravity fits in, and what temperature does to the result. Try any example in the calculator.
Test the formula
Filled from your ingredient. Type your own value for anything not in the list.
240 ml of flour = 127.2 g
240 ml × 0.53 g/ml = 127.2 g
Formula in use: grams = ml × density (g/ml)
The ml to g formula and its reverse
Mass
m = V × ρ
grams = ml × g/ml
Volume
V = m ÷ ρ
ml = grams ÷ g/ml
Density
ρ = m ÷ V
g/ml = grams ÷ ml
Here m is mass in grams, V is volume in milliliters, and ρ (rho) is density in grams per milliliter. One milliliter is the same as one cubic centimeter, so g/ml and g/cm³ are the same unit. Density in kg/m³ is 1,000 times larger (water is 1,000 kg/m³).
Step by step
- Convert the volume to ml. Use the unit factors below if your measure is in cups, spoons, liters, or fluid ounces.
- Look up the density in g/ml. See the ingredient density chart.
- Multiply. ml × density = grams.
- Convert the mass to kg, oz, or lb if you need to.
Five worked examples
| Problem | Working | Answer |
|---|---|---|
| 250 ml of water to g | 250 × 1.00 | 250 g |
| 240 ml of flour to g | 240 × 0.53 | 127.2 g |
| 3 tbsp of honey to g | 3 × 14.79 = 44.36 ml; 44.36 × 1.42 | 63 g |
| 2 US cups of milk to kg | 2 × 236.59 = 473.18 ml; × 1.03 = 487.4 g | 0.487 kg |
| 500 g of sugar to ml | 500 ÷ 0.85 | 588.2 ml |
Unit conversion factors
| Unit | ml |
|---|---|
| 1 ml | 1 |
| 1 L | 1,000 |
| 1 tsp | 4.9289 |
| 1 tbsp | 14.7868 |
| 1 cup (US) | 236.5882 |
| 1 cup (metric) | 250 |
| 1 fl oz | 29.5735 |
| Unit | g |
|---|---|
| 1 g | 1 |
| 1 kg | 1,000 |
| 1 mg | 0.001 |
| 1 oz | 28.34952 |
| 1 lb | 453.59237 |
Specific gravity, temperature and accuracy
Specific gravity
Specific gravity (SG) is density compared with water. Brewers, chemists, and pharmacists use it a lot. Since water is about 1 g/ml, an SG of 1.050 means about 1.05 g/ml. To convert ml to g with SG: grams = ml × SG × 0.998 (at 20 °C).
Temperature
Most liquids expand when warmed, so density drops. Water goes from 0.99997 g/ml at 4 °C to 0.958 g/ml at 100 °C. Cooking oil drops about 0.07% per °C. For kitchen work, room-temperature densities are fine. For lab work, use the density at your actual temperature.
Bulk density for powders
For powders, the density in the formula is bulk density, which includes the air between grains. It depends on how you fill the measure. That’s the biggest source of error in kitchen conversions. See how measuring method changes flour weight.
Common mistakes
- Using 1 g/ml for everything. Only water (and very watery liquids) are 1:1.
- Forgetting to convert cups to ml first. Density is in g/ml, so the volume has to be in ml.
- Mixing fluid ounces and ounces. fl oz is volume (29.57 ml); oz is weight (28.35 g).
- Mixing cup sizes. US cup = 236.59 ml; metric cup = 250 ml. More on cup sizes.
Frequently asked questions
What is the formula for ml to g?
grams = milliliters × density (g/ml). For water the density is 1, so grams = ml.
What is the formula for g to ml?
milliliters = grams ÷ density (g/ml).
What is specific gravity and how does it relate to density?
Specific gravity is an ingredient’s density divided by water’s density. Because water is about 1 g/ml, specific gravity and density in g/ml are almost the same number.
Can I use the formula with cups or teaspoons?
Yes. Convert the cups or teaspoons to ml first (1 US cup = 236.59 ml, 1 US tsp = 4.93 ml), then multiply by the density.
How do I find the density of an ingredient?
Weigh a known volume and divide: density = grams ÷ ml. For example, if 250 ml of a sauce weighs 270 g, its density is 1.08 g/ml.
Disclaimer
All values are approximate. Densities change with brand, moisture, temperature, and how an ingredient is packed or poured, so your own weights can differ by a few percent (more for flour, cocoa, and other powders). For exact results, weigh the ingredient on a kitchen scale.