Try To Calculator logoTry To Calculator

ml to Grams Calculator

Last updated: May 25, 2026

Key takeaway: Effortlessly convert between milliliters (ml) and grams (g) with our ml to Grams Calculator. Simplify your conversions from grams to ml and vice versa. This free ml to Grams Calculator is designed for home cooks, nutrition-conscious individuals, and food professionals — enter your values above to get instant results.

With our ml to grams calculator, cooking measurement conversions are a piece of cake!🍰 Choose the ingredient, type the value in ml or grams, and the calculator will do the rest. If you're wondering if grams are equal to ml or how to convert ml to grams, don't worry too much — we've got you covered.

Read on, and you'll be able to convert water ml to grams in a flash! You'll also learn how to perform conversions from ml to grams in chemistry or medicine.

Are grams equal to ml? ml to grams for water 🌊

Well, grams are equal to ml only if the density of the product is equal to 1 gram/cm³ (= 1 kg/l = 1000 kg/m³ = 62.428 lb/cu ft; check this value in other units with our density converter). That's the case when we have water at 4 °C / 39.2 °F:

1 gram = 1 ml (water at 4 °C / 39.2 °F)

Even if the water's temperature is a bit higher – like room temperature (20-25 °C or 68-77 °F) — we can still say that 1 gram equals approximately 1 ml. Have a look at the graph to check how the density of water (and ice) changes with the temperature:

Density of ice and water (en)
Klaus-Dieter Keller, created with QtiPlot, Font: Liberation Sans CC BY-SA 3.0, via Wikibooks.

Water, where life came from, is a molecule with unusual properties. For example, thanks to the fact that the density of ice is much smaller than water density, the fish 🐟 in lakes don't freeze in wintertime: the heaviest water at about 4 °C (39 °F) sinks to the bottom. So the temperature close to the bed may be almost the same in winter and summer if the water reservoir is deep enough. This is theorized to have been important when life was first developing and needed to survive somewhere where a change in global temperature would not affect them, like at the bottom of the ocean.

How to convert ml to grams

Milliliters are the unit of volume, and grams are the unit of weight, so ml to grams conversion is not a direct calculation like "multiplying or dividing by a constant". First, you need to know the density of the object, and then you can use the transformed density formula:

  • volume [ml] = weight [g] / density [g/ml]

    or:

  • weight [g] = volume [ml] × density [g/ml]

In our ml to grams calculator, we've implemented many popular cooking ingredients densities. However, it's still possible that you won't find the one you need, as there are thousands of different products, liquids, and chemicals you may want to convert. What can you do in such a case?

  1. Find the density of the product for which you want to make a conversion. The easiest way is to type the name of the product and "density" into the search engine of your choice – you'll most likely find it this way.

  2. Come back to our ml to grams calculator and, within the list of ingredients, select Custom ingredient — you'll be able to edit the density. Type the product density and the other value you know.

  3. There you go! Now, you can convert ml to grams and grams to milliliters for your product.

Conversions from ml to grams in chemistry and medicine

Now that you know how to convert ml to grams, let's have a look at different applications of ml to grams conversions:

  • In medicine, such conversions are usually connected with finding the appropriate paracetamol dose per kg of your weight. Liquid medicine concentration is often shown in mg/mL. Choose the proper unit, and you can still use this ml to grams calculator!

  • ml to grams in chemistry: all you need to do, again, is to find the density of your compound or element. Below we present the table with 50 known liquids:

Density data source: engineeringtoolbox.com.

LiquidTemperatureDensity [kg/m³]
Acetic Acid25 °C / 77 °F1049
Acetone25 °C / 77 °F784.6
Alcohol, ethyl (ethanol)25 °C / 77 °F785.1
Alcohol, methyl (methanol)25 °C / 77 °F786.5
Alcohol, propyl25 °C / 77 °F800
Ammonia (aqua)25 °C / 77 °F823.5
Aniline25 °C / 77 °F1019
Benzene25 °C / 77 °F873.8
Butyric Acid20 °C / 68 °F959
Butane25 °C / 77 °F599
Caproic acid25 °C / 77 °F921
Carbolic acid (phenol)15 °C / 59 °F956
Carbon disulfide25 °C / 77 °F1261
Carbon tetrachloride25 °C / 77 °F1584
Chloroform20 °C / 68 °F1489
Chloroform25 °C / 77 °F1465
Citric acid, 50% aqueous solution15 °C / 59 °F1220
Cyclohexane20 °C / 68 °F779
Cyclopentane20 °C / 68 °F745
Decane25 °C / 77 °F726.3
Dichloromethane20 °C / 68 °F1326
Diethylene glycol15 °C / 59 °F1120
Ethane-89 °C / -128 °F570
Ether25 °C / 77 °F713.5
Ethylamine16 °C / 60.8 °F681
Ethyl Acetate20 °C / 68 °F901
Formaldehyde45 °C / 113 °F812
Formic acid 10% concentration20 °C / 68 °F1025
Formic acid 80% concentration20 °C / 68 °F1221
Fuel oil15.5 °C / 60 °F890
Glycerine25 °C / 77 °F1259
Glycerol25 °C / 77 °F1126
Heptane25 °C / 77 °F679.5
Hexane25 °C / 77 °F654.8
Hydrazine25 °C / 77 °F795
Isobutyl Alcohol20 °C / 68 °F802
Iso-Octane20 °C / 68 °F692
Isopropyl Alcohol20 °C / 68 °F785
Napthalene25 °C / 77 °F820
Nitric acid0 °C / 32 °F1560
Palmitic Acid25 °C / 77 °F851
Phenol (carbolic acid)25 °C / 77 °F1072
Phosgene0 °C / 32 °F1378
Propanol25 °C / 77 °F804
Propylene25 °C / 77 °F514.4
Silane25 °C / 77 °F718
Silicone oil25 °C / 77 °F965-980
Sodium Hydroxide (caustic soda)15 °C / 59 °F1250
Toluene20 °C / 68 °F867
Turpentine25 °C / 77 °F868.2

Now that you have worked out the weight or volume of your compound improve your experiments by using our molarity calculator or our mole calculator.

FAQs

How can I convert mL to grams?
To convert one milliliter of substance to grams, we start with the equation for density: Density = Mass / Volume Since density is measured as grams/L and we are interested in converting volume to mass, we need to rewrite the equation. Mass = Density × Volume Therefore, in order to convert mL to grams, you just need to multiply the volume of the substance in liters with its density (in grams/L) to get the mass in grams.
How can I convert grams to mL?
To convert grams to mL, remember that grams are a weight unit and milliliters are a volume unit. This implies you'll need to know the density of the substance (preferably in g/ml to avoid having to convert first). Divide your mass (in grams) by the density (in g/mL) to convert grams to mL.
How is gram related to mL?
When converting grams to mL, remember that a gram is a weight unit, and a milliliter is a volume unit. This means you'll need to know the substance's density (ideally in g/ml, so you don't have to convert first). To convert grams to mL, divide the weight (in grams) by the density (in g/mL).
Is 1 mL equal to 1 gram?
When it comes to pure water, 1 mL equals 1 gram because the density of water is 1 g/mL. Different liquids have different densities, and you need to multiply the volume by the density to measure the liquid's mass in grams.

Related calculators