Convert grams to volume in mL, cc, liters or cups by picking a substance such as water, flour or copper, or entering a density. Volume to grams works too.

Volume = mass ÷ density. Pick a substance or enter its density.

Typical densities near room temperature. Kitchen values are for a spooned, level cup.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Volume from gramsConverts a mass into the volume it fills, in mL, L, cm³ (cc), US cups, fluid ounces, tablespoons, teaspoons or cubic inchesRequires the mass and a substance from the list, or a custom density
Grams from volumeConverts a volume into its mass in g, kg, mg, oz or lbRequires the volume and a substance from the list, or a custom density
Density from mass and volumeFinds the density of a sampleRequires the mass and the volume of the same sample

The substance list holds water, whole milk, vegetable oil, honey, all-purpose flour, granulated sugar, butter, gasoline, ethanol, aluminum, steel, copper and gold, each with a typical density near room temperature. Choosing Custom density opens a field for any other material, in g/mL, kg/m³, g/cm³, lb/ft³ or oz/in³. Mass goes in as g, kg, mg, oz or lb, and every result is also listed in the other units of the same kind.

Grams to Volume Formulas

V = m ÷ ρ [1]
VVolume (mL, which is the same as cm³ or cc)
mMass (g)
ρDensity of the substance (g/mL)

Density is mass divided by volume [1], so grams cannot be turned into a volume without knowing what the substance is. A gram is a unit of mass and a milliliter is a unit of volume. They only match one for one for water, which has a density of roughly 1 g/mL [2].

Volume from grams

The formula above applies directly. A 200 g sample with a density of 1.5 g/mL fills 200 ÷ 1.5 = 133.33 mL. For water, 355 g fills 355 mL, which is 355 ÷ 236.588 = 1.50 US cups [3]. The same 100 g fills very different volumes depending on the substance:

SubstanceDensity used (g/mL)Volume of 100 g (mL)
Water1.00100.0
Whole milk1.0397.1
Vegetable oil0.92108.7
Honey1.4270.4
All-purpose flour0.507197.2
Granulated sugar0.845118.3
Butter0.959104.2
Gasoline0.74135.1
Ethanol0.789126.7
Aluminum2.7037.0
Steel7.8512.7
Copper8.9611.2
Gold19.325.2

The food database of the Food and Agriculture Organization lists whole liquid milk at 1.030 g/mL, most vegetable oils near 0.92 g/mL and ethyl alcohol at 0.789 g/mL [1]. The National Institute of Standards and Technology lists aluminum at 2.699, copper at 8.960 and gold at 19.32 g/cm³ [4]. The flour and butter values come from kitchen weights of 120 g per US cup of all-purpose flour and 113 g per half cup of butter [5], and the sugar value from 200 g per cup. The honey, gasoline and steel values are typical figures.

Grams from volume

m = ρ × V

One US cup is 236.588 mL [3], so a cup of honey at 1.42 g/mL weighs 1.42 × 236.588 = 335.96 g.

Density from mass and volume

ρ = m ÷ V

A 27 g sample that fills 10 mL has a density of 27 ÷ 10 = 2.7 g/mL, the same as aluminum. This function uses no substance list, only the two measurements.

Limits of This Estimate

  • Listed densities are typical values. Density changes with temperature: water is 1.000 g/cm³ at 4 °C and 0.998 g/cm³ at 21 °C [2]. Composition matters too, so one brand of oil, milk or gasoline differs slightly from another.
  • Powders and granules depend on packing. Published densities for wheat flour run from about 0.48 to 0.67 g/mL [1], and the flour value here assumes flour spooned into a cup and leveled.
  • Cups, fluid ounces, tablespoons and teaspoons are US measures. Metric and UK kitchen measures are different sizes.
  • These estimates are based on the best available data and estimations.

Sources

  1. Food and Agriculture Organization of the United Nations, FAO/INFOODS Density Database, Version 2.0 (2012): density as mass divided by volume, and densities of milk, vegetable oils, ethyl alcohol and wheat flour
  2. U.S. Geological Survey, Water Density: density of water and how it changes with temperature
  3. National Institute of Standards and Technology, Handbook 44 (2026), Appendix C, General Tables of Units of Measurement: milliliters in a US fluid ounce and cup, and grams in an ounce and a pound
  4. National Institute of Standards and Technology, X-Ray Mass Attenuation Coefficients, Table 1: densities of aluminum, copper and gold
  5. King Arthur Baking Company, Ingredient Weight Chart: grams per cup of all-purpose flour and per half cup of butter
Grams To Volume Calculator screenshot