Convert grams to cc (mL) or cc to grams for water, oil, flour, sugar, metals and more, using typical densities or your own density.

1 cc = 1 mL = 1 cm³. Food, fuel and sand values are typical densities, so results are estimates.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Grams to ccConverts a weight to the volume it takes up in cubic centimetersRequires the weight (g, kg, mg, oz or lb) and the substance or its density
cc to gramsConverts a volume to its weight in gramsRequires the volume (cc, liters, US fl oz, cups, tablespoons or teaspoons) and the substance or its density

Both functions offer 19 substances with preset densities, from water and cooking ingredients to fuels and metals, plus a custom density in g/cc of up to 30. Grams to cc also shows the volume in milliliters, liters, US fluid ounces, cups, tablespoons and teaspoons. cc to grams also shows kilograms, milligrams, ounces and pounds.

Grams to cc Formulas

V = m ÷ ρ
VVolume (cc). 1 cc = 1 cm³ = 1 mL
mMass (g)
ρDensity of the substance (g/cc) [3]

Density is mass per unit of volume [3], so grams convert to cc only for a named substance. For water the two numbers are the same, because water is very close to 1 g per cc [1].

Grams to cc

The weight is converted to grams and divided by the density. 5 g of water is 5 cc, 5 g of honey at 1.42 g/cc is 3.521 cc, and 5 g of all-purpose flour at 0.53 g/cc is 9.434 cc. Weights in ounces and pounds use 28.349523 g per ounce and 453.59237 g per pound [4].

GramsWaterOlive oilHoneyFlour
1 g1 cc1.087 cc0.7042 cc1.887 cc
5 g5 cc5.435 cc3.521 cc9.434 cc
10 g10 cc10.87 cc7.042 cc18.87 cc
15 g15 cc16.30 cc10.56 cc28.30 cc
20 g20 cc21.74 cc14.08 cc37.74 cc
30 g30 cc32.61 cc21.13 cc56.60 cc
50 g50 cc54.35 cc35.21 cc94.34 cc
100 g100 cc108.7 cc70.42 cc188.7 cc
250 g250 cc271.7 cc176.1 cc471.7 cc

cc to grams

m = V × ρ

The volume is converted to cc and multiplied by the density. 30 cc of olive oil at 0.92 g/cc weighs 27.6 g, and 25 cc of water weighs 25 g. Kitchen volumes use the US measures: 29.57353 cc per fluid ounce, 236.5882 cc per cup, 14.78676 cc per tablespoon and 4.928922 cc per teaspoon [4].

Preset densities

Substanceg/ccSubstanceg/cc
Water1.00Gasoline0.74
Milk1.03Diesel0.85
Olive oil0.92Mercury13.6
Vegetable oil0.91Aluminum2.70
Honey1.42Iron7.87
Flour, all-purpose0.53Copper8.96
Sugar, granulated0.85Gold19.32
Sugar, brown packed0.93Concrete2.40
Salt, table1.20Sand, dry1.60
Ethanol / alcohol0.79

Water is 1.00000 g/cm³ at 4 °C and 0.99802 at 21 °C [1]. The aluminum, iron, copper and gold values match the NIST table of element densities, which lists mercury at 13.55 g/cm³ [2]. The FAO food density database gives 1.03 for liquid milk, 0.91 to 0.92 for olive oil, 0.914 to 0.927 for other vegetable oils, 0.789 for ethyl alcohol and 1.217 for table salt [3].

Flour, sugar, salt and sand are bulk densities: the weight of the grains divided by the space they fill, air gaps included [3]. They change with how the material is scooped or packed. The same database lists wheat flour from 0.55 to 0.67 g/mL and white or granulated sugar from 0.7 to 0.9 g/mL [3], so a weighed amount is more reliable than a converted one for these.

Limits of This Estimate

  • Results for anything other than water are estimates, because a preset is one typical density. A product label or a measured density entered as Custom density is more accurate.
  • Powders and granules vary the most. Sifted, spooned and packed flour differ by 20% or more.
  • Density changes with temperature. Liquids and fuels are lighter per cc when warm.
  • These estimates are based on the best available data and estimations.

Sources

  1. U.S. Geological Survey, Water Science School, Water Density: water at about 1 g per cubic centimeter, with values by temperature
  2. NIST, X-Ray Mass Attenuation Coefficients, Table 1: densities of aluminum, iron, copper, gold and mercury
  3. FAO/INFOODS, Density Database Version 2.0: definitions of density and bulk density, and densities of milk, oils, alcohol, flour, sugar and salt
  4. NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: factors for ounces, pounds, US fluid ounces, cups, tablespoons and teaspoons