Mass and volume conversion

Advanced Grams to Milliliters Calculator

Convert mass and volume with substance density presets. Refine results using temperature, packing, precision, and batch controls.

Calculation setup

Pure water near room temperature.
Quick examples

Advanced controls

Use 1 for no change. Useful for dry ingredients.
Use 1 unless applying a known instrument correction.
Approximate density change per °C.
Temperature correction is an approximation. For laboratory, pharmaceutical, fuel, or legal measurement work, use certified density data and calibrated equipment.

Density reference library

Search presets and inspect assumptions before calculation.
Substance Category Density Reference Notes
Water Liquids 0.9982 g/mL 20°C Pure water near room temperature.
Whole milk Dairy 1.03 g/mL 20°C Typical whole milk. Fat content changes density slightly.
Heavy cream Dairy 0.994 g/mL 20°C Approximate value for heavy whipping cream.
Butter, melted Fats and oils 0.911 g/mL 40°C Use only for melted butter.
Olive oil Fats and oils 0.91 g/mL 20°C Varies by grade and temperature.
Vegetable oil Fats and oils 0.92 g/mL 20°C General cooking oil estimate.
Coconut oil, liquid Fats and oils 0.925 g/mL 30°C Use when fully melted.
Honey Sweeteners 1.42 g/mL 20°C Moisture content can change density.
Maple syrup Sweeteners 1.33 g/mL 20°C Typical pure maple syrup.
Corn syrup Sweeteners 1.38 g/mL 20°C Approximate commercial corn syrup.
Granulated sugar Dry ingredients 0.845 g/mL 20°C Bulk density. Packing changes the result.
Brown sugar, packed Dry ingredients 0.93 g/mL 20°C Depends strongly on packing pressure and moisture.
Powdered sugar Dry ingredients 0.56 g/mL 20°C Sifted and unsifted values differ.
All-purpose flour Dry ingredients 0.529 g/mL 20°C Loose scoop estimate. Aeration affects volume.
Bread flour Dry ingredients 0.55 g/mL 20°C Approximate bulk density.
Whole wheat flour Dry ingredients 0.51 g/mL 20°C Approximate bulk density.
Cocoa powder Dry ingredients 0.5 g/mL 20°C Settling and sifting affect volume.
Table salt Dry ingredients 1.217 g/mL 20°C Crystal size changes bulk density.
Rice, uncooked Dry ingredients 0.85 g/mL 20°C Variety and grain size affect density.
Rolled oats Dry ingredients 0.41 g/mL 20°C Bulk density estimate.
Ethanol Chemicals 0.7893 g/mL 20°C Pure ethanol at approximately 20°C.
Isopropyl alcohol Chemicals 0.786 g/mL 20°C Pure isopropyl alcohol estimate.
Acetone Chemicals 0.7845 g/mL 20°C Highly temperature sensitive and volatile.
Glycerin Chemicals 1.261 g/mL 20°C Typical pure glycerol.
Gasoline Fuels 0.745 g/mL 15°C Composition varies. Use local specification for engineering work.
Diesel fuel Fuels 0.832 g/mL 15°C Grade and climate formulation affect density.
Mercury Metals 13.546 g/mL 20°C Toxic material. This preset is for calculation only.
Seawater Liquids 1.025 g/mL 20°C Salinity and temperature change density.
Brewed coffee Beverages 1.005 g/mL 20°C Strength and dissolved solids affect density.
Tomato sauce Foods 1.04 g/mL 20°C Brand and solids content affect density.
Custom substance Custom 1 g/mL 20°C Enter your own density and related settings.

Batch conversion tool

Enter up to 100 values separated by spaces, commas, semicolons, or new lines.

How to use this calculator

  1. Choose whether you are converting mass to volume or volume to mass.
  2. Enter the known measurement and select its unit.
  3. Select a substance from the density library.
  4. Choose Custom substance when you have your own density data.
  5. Open Advanced options to set precision, temperature, packing, and calibration.
  6. Press Calculate. The main answer appears above the form.
  7. Review the density, formula substitution, exact values, and equivalent units.
  8. Copy, print, or download the result when needed.

Formula used

Grams measure mass. Milliliters measure volume. A direct conversion requires density because materials occupy different volumes at the same mass.

Mass to volume
Volume (mL) = Mass (g) ÷ Density (g/mL)
Volume to mass
Mass (g) = Volume (mL) × Density (g/mL)

For water near room temperature, one gram is close to one milliliter. That convenient relationship should not be applied to flour, honey, oil, metals, fuels, or other substances without checking density.

Understanding grams, milliliters, and density

A gram is a metric unit of mass. It describes how much matter an object or substance contains. A milliliter is a metric unit of volume. It describes the amount of three-dimensional space occupied by a substance. These units represent different physical properties.

Density links mass and volume. It tells you how much mass exists in each unit of volume. A density of 1.20 g/mL means every milliliter has a mass of 1.20 grams. If a substance is less dense than water, the same mass occupies more volume. If it is denser than water, the same mass occupies less volume.

Why ingredient conversions can vary

Kitchen ingredients are not perfectly uniform. Flour can be aerated, sifted, scooped, settled, or compressed. Brown sugar can be packed lightly or firmly. Salt crystals vary in size. Honey and syrup change with temperature and moisture. These factors change the effective bulk density.

For repeatable cooking and baking, weighing ingredients is usually more consistent than measuring volume. When a recipe only provides volume, this calculator can supply a useful estimate. The density preset should still match the ingredient form as closely as possible.

Temperature effects

Liquids usually expand when warmed. Their density then decreases because the same mass occupies more volume. The temperature option applies a simple coefficient-based adjustment. It is suitable for rough planning, not certified laboratory or commercial transactions.

Choosing precision

More decimal places do not automatically create more accuracy. A result based on an approximate ingredient density should not be treated as laboratory-grade. Use sensible significant figures that reflect the quality of the input data.

Worked examples

Example 1: Water

Suppose you have 250 grams of water. Using a density of 0.9982 g/mL, divide 250 by 0.9982. The result is approximately 250.45 mL.

Example 2: Honey

Suppose you have 100 grams of honey. Using a density of 1.42 g/mL, divide 100 by 1.42. The result is approximately 70.42 mL. Honey occupies less volume than the same mass of water because it is denser.

Example 3: All-purpose flour

Suppose you have 125 grams of flour. Using a bulk density of 0.529 g/mL, divide 125 by 0.529. The result is approximately 236.29 mL. Packing and aeration can noticeably change the real volume.

Example 4: Reverse conversion

Suppose you have 150 mL of olive oil. Multiply 150 by 0.91 g/mL. The result is approximately 136.5 grams.

Common density guidance

Use preset density values as practical estimates. Product formulation, moisture, purity, pressure, temperature, particle size, and measuring technique can all alter actual density.

Material Typical density Practical note
Water About 1.00 g/mL Temperature changes the exact value.
Milk About 1.03 g/mL Fat and solids affect density.
Cooking oil About 0.91–0.93 g/mL Different oils vary.
Honey About 1.38–1.45 g/mL Moisture and temperature matter.
Flour About 0.50–0.60 g/mL Packing changes bulk density strongly.
Granulated sugar About 0.80–0.90 g/mL Crystal size and settling matter.

Frequently asked questions

No. That approximation is mainly useful for water near room temperature. Other substances require their own density.

Density is the mathematical link between mass and volume. Without it, the calculator cannot determine how much space a given mass occupies.

No. Dry ingredients have bulk densities that depend on packing, moisture, particle shape, and measuring method.

Yes. Select Custom substance, enter the density, then choose kg/m³ from the density unit menu.

It multiplies the effective density. Values above one model tighter packing. Values below one model looser packing.

It should not replace medication labels, pharmacist instructions, calibrated dosing devices, or professional medical advice.

Important accuracy and safety notes

Calculation history

No saved calculations yet.

Related Calculators

Average Calculator StatisticsGeometric Mean CalculatorInter Quartile Range CalculatorLower Quartile CalculatorMaximum CalculatorMean Calculator StatisticsMedian Calculator StatisticsMidhinge Calculator StatisticsMid Range Calculator StatisticsMode Calculator Statistics

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.