This calculator converts a mass in milligrams (mg) to a volume in milliliters (mL) using the density of the substance. You enter the mass in milligrams and the density in grams per milliliter (g/mL), and the calculator returns the volume in milliliters. The formula is volume = mass / density, with units carefully converted.
Formula
The basic relationship between mass, volume, and density is:
Volume (mL) = Mass (mg) / (Density (g/mL) × 1000)
Where:
- Mass (mg) – the amount of substance in milligrams.
- Density (g/mL) – the mass per unit volume of the substance, in grams per milliliter.
- Volume (mL) – the resulting volume in milliliters.
The factor 1000 converts milligrams to grams (since 1 g = 1000 mg). The density is the key: water has a density of 1.0 g/mL at 4 °C, so 1 mg of water occupies 0.001 mL. Most other substances have different densities.
Worked Example
Using the default values: mass = 500 mg, density = 1.0 g/mL (water).
Step 1: Convert milligrams to grams: 500 mg ÷ 1000 = 0.5 g
Step 2: Divide by density: 0.5 g ÷ 1.0 g/mL = 0.5 mL
So, 500 mg of water is 0.5 mL. The calculator shows 0.500 mL (rounded to 3 decimals).
How to Use the Calculator
Enter the mass in milligrams and the density of the substance in g/mL. The density is not universal – it depends on the material and its temperature. For water at room temperature, use 1.0 g/mL. For other liquids, look up the density (e.g., ethanol ≈ 0.789 g/mL, olive oil ≈ 0.91 g/mL). For solids, you would need to know the bulk density or use a different method (like displacement).
The calculator gives the volume in milliliters and also in microliters (µL) for small quantities.
When to Use This Conversion
This conversion is common in cooking (converting mg of an ingredient to mL), in laboratory work (preparing solutions from solid reagents), and in everyday situations like measuring liquid medicine (though for medication, always use the provided dosing device – see safety note below). It is also used in chemistry to calculate the volume of a liquid needed to obtain a certain mass.
Common Mistakes and Misconceptions
- Assuming 1 mg = 1 mL: This only holds for water (density 1 g/mL). For other substances, the volume differs. For example, 1 mg of ethanol is about 0.00127 mL, not 0.001 mL.
- Forgetting to convert units: Density is often given in g/mL, but sometimes in kg/L or g/cm³. 1 g/mL = 1 g/cm³ = 1000 kg/m³. Always ensure density is in g/mL before using the formula.
- Temperature effects: Density changes with temperature. Water is densest at 4 °C (1.000 g/mL) but at 25 °C it’s 0.997 g/mL. For precise work, use the density at the actual temperature.
- Using the calculator for medication: Never use this calculator to dose medication. Liquid medicines have specific concentrations (e.g., 250 mg/5 mL) and require the provided measuring device. The density of a syrup is not the same as water.
Limitations of the Formula
The simple formula works for pure liquids and solutions where density is known. It does not account for:
- Mixtures: The density of a mixture is not a simple average of the densities of its components; it depends on the interactions between molecules.
- Solids: For powders or granules, bulk density (including air spaces) differs from the true density of the material. You cannot convert mg of a powder to mL without knowing its bulk density, which varies with how it is packed.
- Gases: Gases have very low densities and are highly compressible; this calculator is not suitable for gases.
Safety and Accuracy Notes
When working in a laboratory, always follow your lab method, the safety data sheet (SDS) and your supervisor. For any medical or veterinary use, this calculator is for educational purposes only – never use it to prepare or administer medication. Always use the dosing device provided with the medication and consult a healthcare professional.
Frequently Asked Questions
Is 1 mg equal to 1 mL?
Only for water at 4 °C, where density is 1 g/mL. For any other substance, 1 mg will occupy a different volume. For example, 1 mg of honey (density ~1.42 g/mL) is about 0.0007 mL, while 1 mg of ethanol is about 0.00127 mL.
How do I convert mg to mL without a density?
You cannot convert mass to volume without knowing the density. If you don’t have the density, you need to measure it (e.g., by weighing a known volume) or look it up for the specific substance at the given temperature.
What is the density of water in g/mL?
At 4 °C, water has a density of exactly 1.000 g/mL. At 20 °C, it is 0.998 g/mL, and at 25 °C it is 0.997 g/mL. For most casual conversions, 1.0 g/mL is accurate enough.
Can I use this calculator for cooking ingredients?
Yes, if you know the density of the ingredient. For example, if a recipe calls for 5 g of salt and you want to measure it in mL, you need the density of salt (about 1.2 g/mL for table salt). But for water, 1 g = 1 mL, so it’s simple.
Why does my medicine bottle say 5 mL = 1 teaspoon, not mg?
Medicines are usually prescribed by mass (mg) but administered by volume (mL) because the concentration is known. The label gives the concentration (e.g., 250 mg per 5 mL) so you can measure the correct volume. The density of the syrup is not needed for dosing – only the concentration.
What if I have the volume and want the mass?
You can rearrange the formula: Mass (mg) = Volume (mL) × Density (g/mL) × 1000. For example, 2 mL of water (density 1.0) has a mass of 2000 mg.
Related
Formula used
in m | Mass | mg | 500 | 0 in d | Density | g/mL | 1.0 | 0.0001 out v | Volume | mL | m / 1000 / d | 3 out vm | Volume in microliters | µL | v * 1000 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Normality to g/L Converter & Formula29.220 g/L
- Normality to meq/mL Conversion Calculator1.0000 meq/mL
- Normality Test Q-Q Plot: How to Read It
- Normality Test Results: How to Analyze Them
- Normality Slay the Spire?
- Normality Test for Paired t Test: How to Check