# How to convert grams to ml?

Converts grams to milliliters and back for water, milk, flour, sugar, and other ingredients, from what each one weighs per liter.

- Page: https://www.acalculator.org/convert/grams-to-ml
- JSON spec: https://www.acalculator.org/convert/grams-to-ml.json
- Version: 3517d4a4266e

## Default answer

Example with the default inputs (Grams (g) 1, Ingredient Water at 4 °C, 0.999975 kg per L): 1 g = 1.000025 mL (Water at 4 °C, 0.999975 kg per L).

## Inputs

| Key | Label | Description |
| --- | --- | --- |
| value | Grams (g) | The amount in grams to convert. |
| result | Milliliters (mL) | The same amount in milliliters. |
| ingredient | Ingredient | What you are measuring. A cup of flour weighs less than a cup of water. |

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| value | Grams (g) | The amount in grams to convert. |
| result | Milliliters (mL) | The amount in milliliters. |

## Method

ml = grams ÷ 0.999975, where kilograms per liter depends on the ingredient (water at 4 °C: 0.999975 kg)

## Assumptions

- Grams per cup are USDA FoodData Central (SR Legacy) portion weights for one level US cup (8 US fluid ounces): all-purpose flour 125 g (FDC 168894), granulated sugar 200 g (FDC 169655), brown sugar, packed 220 g (FDC 168833), powdered sugar, unsifted 120 g (FDC 169656), whole milk 244 g (FDC 171265), butter 227 g (FDC 173410), olive oil 216 g (FDC 171413), honey 339 g (FDC 169640), white rice, uncooked 185 g (FDC 169756).
- Water is pure water: 0.999975 kg per liter at 4 °C and 0.998207 kg per liter at 20 °C, from the Tanaka et al. (2001) density formula.
- Other ingredients use their USDA cup weight: kilograms per liter = grams per cup ÷ 236.5882365.
- Exact on the typed decimals: at most 6 decimal places (6 significant digits below 0.0001), rounded half up; an answer of 1 billion or more shows at most 15 significant digits.

## Worked examples

1. value = 100, ingredient = water gives result = 100.0025. Source: Density of pure water from Tanaka et al. (2001), Metrologia 38, 301: 999.9749 kg/m³ at 4 °C, 998.2067 kg/m³ at 20 °C, as 0.999975 kg per liter.
2. value = 216, ingredient = olive-oil gives result = 236.588237. Source: USDA FoodData Central SR Legacy 171413: 1 cup = 216 g.

## FAQ

### How many milliliters are in 100 grams?

It depends on the ingredient, because a weight does not fix the volume. 100 g is about, in milliliters: all-purpose flour 189.3; granulated sugar 118.3; brown sugar, packed 107.5; powdered sugar, unsifted 197.2; water at 4 °C 100; water at 20 °C 100.2; whole milk 96.96; butter 104.2; olive oil 109.5; honey 69.79; white rice, uncooked 127.9.

### How do I convert grams to ml?

ml = grams ÷ 0.999975, where kilograms per liter depends on the ingredient (water at 4 °C: 0.999975 kg). For example, 100 g of water at 4 °C is 100.0025 ml.

### Does a liter of water weigh 1 kg?

Almost. Pure water weighs 0.999975 kg per liter at 4 °C, where it is densest, and 0.998207 kg per liter at 20 °C (Tanaka et al. 2001). Other liquids differ more: a liter of whole milk weighs about 1.03 kg and a liter of olive oil about 0.91 kg (USDA).

### Is 1 gram of water 1 mL?

Almost: 1 g of water is 1.000025 mL at 4 °C and 1.001796 mL at 20 °C (Tanaka et al. 2001). Other ingredients differ more: 1 g of all-purpose flour fills 1.892706 mL.

## Sources

- USDA FoodData Central, SR Legacy portion weights for 1 cup: FDC 168894 all-purpose flour 125 g; FDC 169655 granulated sugar 200 g; FDC 168833 brown sugar, packed 220 g; FDC 169656 powdered sugar, unsifted 120 g; FDC 171265 whole milk 244 g; FDC 173410 butter 227 g; FDC 171413 olive oil 216 g; FDC 169640 honey 339 g; FDC 169756 white rice, uncooked 185 g, retrieved 2026-10-18. https://fdc.nal.usda.gov/
- Tanaka, M. et al. (2001), Recommended table for the density of water between 0 °C and 40 °C based on recent experimental reports, Metrologia 38, 301–309: pure water 999.9749 kg/m³ at 4 °C and 998.2067 kg/m³ at 20 °C, retrieved 2026-10-05. https://doi.org/10.1088/0026-1394/38/4/3
- NIST SP 811 (2008), Guide for the Use of the International System of Units, Appendix B.8: Factors for Units Listed Alphabetically (bold factors are exact), retrieved 2026-10-18. https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8
