molecalculator

Moles & Molar Mass

Milligrams to Milliliters Calculator: Convert mg to mL

Calculator No. 01-7612 · Updated · Formula and assumptions shown below

Volume 0.500 mL
Mass
500 mg
Set in the form below
Density
1 g/mL
Set in the form below
You enter
Mass (mg), Density (g/mL)
You get
Volume (mL)
Rounding
3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A milligrams to milliliters calculator converts a mass in milligrams (mg) into a volume in milliliters (mL) using the substance’s density. You enter the mass, the density, and the calculator returns the volume; for water at standard conditions, 1 mg equals 0.001 mL because its density is 1 g/mL.

Formula

The conversion uses the density equation rearranged to solve for volume:

Volume (mL) = Mass (mg) ÷ 1000 ÷ Density (g/mL)

Where:

  • Mass is in milligrams (mg).
  • Density is in grams per milliliter (g/mL).
  • Volume is in milliliters (mL).

The division by 1000 converts milligrams to grams (since 1 g = 1000 mg). The density tells you how many grams fit in one milliliter, so dividing the mass in grams by density gives the volume.

Worked Example

Using the default values: mass = 500 mg, density = 1.0 g/mL (water).

  1. Convert mass to grams: 500 mg ÷ 1000 = 0.5 g
  2. Divide by density: 0.5 g ÷ 1.0 g/mL = 0.5 mL

The calculator returns 0.500 mL, matching this result.

Why Density Matters

Milligrams measure mass; milliliters measure volume. The relationship between them depends on how tightly packed the material is. Water has a density of 1.0 g/mL, so 1 mL of water weighs exactly 1 g (1000 mg). But other liquids and solids differ:

  • Olive oil: density ≈ 0.91 g/mL, so 1000 mg occupies about 1.10 mL
  • Honey: density ≈ 1.42 g/mL, so 1000 mg occupies about 0.70 mL
  • Ethanol: density ≈ 0.789 g/mL, so 1000 mg occupies about 1.27 mL

Using water’s density for honey would give a volume about 42% too large. Always use the density of the specific substance you are measuring.

When to Use This Calculator

This conversion is common in cooking (converting a recipe by weight), in lab work when preparing solutions from a solid reagent, and in everyday situations like measuring a powder’s volume from its mass. In a chemistry lab, you often weigh a reagent in milligrams and need to know what volume it will occupy when dissolved or when you need to pipette a certain mass. The calculator also helps when a protocol gives a mass but your measuring tool (like a graduated cylinder) reads volume.

For solutions, note that the density of the solution (not the pure solute) is what matters if you are converting between the mass of the solution and its volume. If you are dissolving a solid in a solvent, the final volume is usually determined by the solvent, not by the solid’s density.

Common Mistakes and Misconceptions

The most frequent error is assuming 1 mg = 1 mL for everything. That is only true for water at 4 °C (where density is exactly 1.000 g/mL). For any other substance, the conversion factor differs.

Another mistake is mixing units. If density is given in kg/L (which is numerically equal to g/mL), you can use it directly. But if density is in g/cm³, that is also equal to g/mL. If density is in kg/m³, you must divide by 1000 to get g/mL. For example, 1000 kg/m³ = 1 g/mL.

A third issue is temperature. Density changes with temperature for most liquids. Water at 20 °C has a density of 0.9982 g/mL, while at 80 °C it drops to 0.9718 g/mL. For precise work, use the density at the actual temperature of your sample.

Finally, remember that this converts mass to volume for a pure substance. If you have a mixture or a solution, the density of that mixture is what you need, not the density of the pure components.

How to Find Density

Density values are available from many sources:

  • Chemical safety data sheets (SDS) list density for pure chemicals.
  • Reference tables in chemistry handbooks list densities of common liquids and solids.
  • Food packaging often lists density or you can find standard values for ingredients.
  • For a solution, you can measure it: weigh a known volume (e.g., pipette 10 mL and weigh it), then divide mass by volume.

When measuring density yourself, use a calibrated pipette or graduated cylinder for volume and an analytical balance for mass. The temperature should be recorded because density is temperature-dependent.

Limits of the Calculation

This calculator assumes a homogeneous substance with a uniform density. It does not account for:

  • Temperature variation (unless you input the correct density for your temperature)
  • Compressibility (significant only at very high pressures)
  • Particle size or packing (for powders, the bulk density differs from the true density of the solid material)

For powders and granulated materials, the bulk density (which includes air between particles) is what you need for volume conversions. A teaspoon of flour weighs less than a teaspoon of sugar because of different bulk densities, even though the true densities of the solid particles are similar.

For gases, density depends strongly on pressure and temperature, so this calculator is not suitable for gas volume conversions without using the ideal gas law.

Frequently Asked Questions

Is 1 mg equal to 1 mL?

Only for water at 4 °C, where density is exactly 1 g/mL. For water at room temperature (20 °C), 1 mg is 0.001002 mL because the density is slightly less than 1. For any other substance, the relationship is different and depends on its density.

How do I convert mL to mg?

Reverse the formula: multiply the volume in mL by the density in g/mL, then multiply by 1000 to get milligrams. For example, 2 mL of water (density 1 g/mL) is 2 × 1 × 1000 = 2000 mg.

What is the density of water in g/mL?

Water has a density of approximately 1.000 g/mL at 4 °C, 0.9982 g/mL at 20 °C, and 0.9970 g/mL at 25 °C. For most everyday conversions, using 1.0 g/mL is accurate enough, but for precise laboratory work, use the value at your specific temperature.

Can I use this calculator for medication doses?

No. This calculator is for general mass-to-volume conversions in cooking, chemistry, and education. Medication dosing requires clinical judgment, specific drug information, and professional oversight. Never use a generic density calculator to prepare or administer medication.

Why does my powder have a different density than the value I found online?

Powders have bulk density that depends on particle size, moisture content, and how tightly they are packed. The same chemical can have different bulk densities from different suppliers or after being stored in humid conditions. For accurate work, measure the bulk density of your specific sample.

What if my density is in kg/L?

That is numerically identical to g/mL, so you can use it directly in the calculator. For example, a density of 1.2 kg/L is the same as 1.2 g/mL. No conversion factor is needed.

Related

Formula used
in m | Mass | mg | 500 | 0
in d | Density | g/mL | 1.0 | 0.001
out v | Volume | mL | m / 1000 / d | 3

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

The whole Moles & Molar Mass section →