ml to mg calculator

ML to MG Calculator

Convert milliliters (mL) to milligrams (mg) using either concentration (mg/mL) or density (g/mL).

Use this for medications or solutions labeled in mg per mL.

Need a quick and accurate way to convert volume to mass? This ml to mg calculator helps you do exactly that. Just remember: converting mL to mg always depends on either concentration or density.

How to convert mL to mg

Milliliters (mL) measure volume, while milligrams (mg) measure mass. Since these are different types of units, you need one extra piece of information:

  • Concentration (mg/mL) for solutions such as medication
  • Density (g/mL) for liquids and substances

Formula with concentration

mg = mL × concentration (mg/mL)

Formula with density

mg = mL × density (g/mL) × 1000

The ×1000 appears because 1 gram = 1000 milligrams.

Step-by-step use of this calculator

  • Enter the volume in mL.
  • Select whether you have concentration or density.
  • Enter the matching value (mg/mL or g/mL).
  • Click Calculate mg to get your answer instantly.

Worked examples

Example 1: Medication concentration

If a syrup has a concentration of 15 mg/mL and you take 8 mL:

mg = 8 × 15 = 120 mg

Example 2: Water by density

For 2.5 mL of water (density ≈ 1.00 g/mL):

mg = 2.5 × 1.00 × 1000 = 2500 mg

Example 3: Oil by density

For 10 mL olive oil (density ≈ 0.91 g/mL):

mg = 10 × 0.91 × 1000 = 9100 mg

Quick reference table (water)

mL mg (water, 1.00 g/mL)
0.5 mL500 mg
1 mL1000 mg
5 mL5000 mg
10 mL10000 mg
30 mL30000 mg

Common conversion mistakes to avoid

  • Assuming mL always equals mg (only true for water-like density of 1 g/mL in a specific context).
  • Using g/mL values as if they were mg/mL values.
  • Forgetting the 1000 multiplier when converting grams to milligrams.
  • Rounding too early in medical calculations.

FAQ

Is 1 mL always 1000 mg?

No. That is only true if density is exactly 1 g/mL (roughly water). Different substances have different densities.

Can I use this for medicine doses?

Yes, if you enter the exact labeled concentration in mg/mL. Always verify dosing with a healthcare professional when safety is critical.

What if I only know mg and want mL?

Use the reverse formula: mL = mg ÷ concentration (mg/mL).

Bottom line

The right way to convert mL to mg is simple once you have concentration or density. Use the calculator above for fast, reliable results and fewer unit-conversion mistakes.

🔗 Related Calculators