mL to Gram Calculator

Convert volume and mass accurately using ingredient densities, custom settings, reverse calculations, temperature adjustments, batch entries, exports, history, and step-by-step results for everyday measurements.

Calculator inputs

The single value and batch values can be calculated together.

Custom ingredient density

g/mL
per °C
Saved ingredients remain in this browser using local storage.
°C

Temperature correction is an estimate. Cooking powders vary more from packing than from temperature.

Formula used

Volume to mass: grams = millilitres × density

Mass to volume: millilitres = grams ÷ density

Density connects volume and mass. Each ingredient has a different density. Accurate results require an appropriate density value.

The temperature option adjusts density from its 20°C reference. The correction uses an expansion coefficient. It remains an estimate for practical conversions.

How to use the calculator

  1. Select volume-to-mass or mass-to-volume conversion.
  2. Choose an ingredient or enter a custom density.
  3. Select the input and output measurement units.
  4. Enter one value or several batch values.
  5. Set temperature and precision options when needed.
  6. Calculate, then copy, print, or export results.

Common ingredient density examples

IngredientApproximate density100 mL weighsExample note
Water 1.000 g/mL 100.0 g Values vary by brand, moisture, and packing.
Milk 1.030 g/mL 103.0 g Values vary by brand, moisture, and packing.
Cooking oil 0.920 g/mL 92.0 g Values vary by brand, moisture, and packing.
Butter 0.911 g/mL 91.1 g Values vary by brand, moisture, and packing.
All-purpose flour 0.529 g/mL 52.9 g Values vary by brand, moisture, and packing.
Granulated sugar 0.845 g/mL 84.5 g Values vary by brand, moisture, and packing.
Honey 1.420 g/mL 142.0 g Values vary by brand, moisture, and packing.
Table salt 1.217 g/mL 121.7 g Values vary by brand, moisture, and packing.
Uncooked rice 0.850 g/mL 85.0 g Values vary by brand, moisture, and packing.
Cream 1.010 g/mL 101.0 g Values vary by brand, moisture, and packing.
Yogurt 1.035 g/mL 103.5 g Values vary by brand, moisture, and packing.
Cocoa powder 0.641 g/mL 64.1 g Values vary by brand, moisture, and packing.

Calculation history

TimeIngredientModeResult
No saved calculations yet.

Frequently asked questions

Is 1 mL always equal to 1 gram?

No. That relationship is approximately true for water. Other substances need their own density values.

Why do flour and sugar differ?

Their particle shapes and packing differ. Moisture also changes their measured density. Use ingredient-specific values for better estimates.

Can I convert grams back to millilitres?

Yes. Select the mass-to-volume conversion mode. The calculator divides mass by density.

Which cup and spoon standards are used?

The calculator uses US customary cooking measures. A cup equals about 236.588 millilitres. Regional measures can differ.

How accurate are preset densities?

They are practical reference values. Brands and temperatures can produce different densities. Laboratory work needs measured density data.

What is a custom density?

It is a density you provide. Enter grams per millilitre at 20°C. This supports uncommon ingredients and materials.

What does temperature adjustment do?

It estimates density changes caused by thermal expansion. The result depends on the expansion coefficient. It should not replace measured data.

Can I calculate many values together?

Yes. Enter values in the batch box. Separate them using commas, spaces, semicolons, or lines.

What are significant figures?

They control meaningful digits rather than decimal places. This is useful for scientific measurements. Choose the required precision before calculating.

Why can powdered ingredient results vary?

Scooping and compacting change bulk density. Humidity can also change powder mass. Weighing remains the most reliable cooking method.

Can I share a calculation?

Yes. Use the copy share link button. The current options remain inside the generated URL.

Related Calculators

Average Calculator StatisticsGeometric Mean CalculatorInter Quartile Range CalculatorLower Quartile CalculatorMaximum CalculatorMean Calculator StatisticsMedian Calculator StatisticsMidhinge Calculator StatisticsMid Range Calculator StatisticsMinimum 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.