🔁
🔁 Unit converters

mg to mL Calculator (mass ↔ volume at a known concentration)

Results update as you type.

Your numbers

Understanding the mg to mL calculator — concept and principle

This calculator converts between the mass of a dissolved substance in milligrams and the volume of solution in millilitres, using the solution's concentration. It works both ways: the volume that holds a given mass, or the mass in a given volume. Lab students, technicians and anyone preparing or diluting a solution from a stock use it.

Dose ÷ concentration = volumeDose ÷ concentration = volume: 150 mg (amount of solute needed); ÷ 20 mg/mL (stock concentration) → 7.5 mL (= 7,500 µL)Dose ÷ concentration = volume150 mgamount of solute needed÷ 20 mg/mLstock concentration7.5 mL= 7,500 µL
Dose ÷ concentration = volume — with the default inputs: 7.5 mL.

How it is calculated

The principle

Milligrams measure mass and millilitres measure volume, so they cannot be converted directly. The link is the mass concentration, which IUPAC defines as the mass of a constituent divided by the volume of the mixture. Once you know how many milligrams are in each millilitre, any mass corresponds to a definite volume. Only for pure water near room temperature does 1 mL weigh about 1 g; for a solution, that is the density, a different quantity from its concentration.

Worked example

Defaults: 150 mg of solute; stock concentration 20 mg/mL; mg → mL.

  1. Concentration = 20 mg/mL.
  2. Volume = 150 ÷ 20 = 7.5 mL.
  3. In microlitres = 7.5 × 1,000 = 7,500 µL.
  4. Mass = 150 mg = 0.15 g.
How Result changes with Concentration of the solutionHow Result changes with Concentration of…01020305101520253040Example: 7.5 mLConcentration of the solution
Each point is the calculator re-run with only “Concentration of the solution” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Concentration of the solutionResult
530 mL
1015 mL
1510 mL
207.5 mL
256 mL
305 mL
403.75 mL

How to read the result

Measure the volume with a tool suited to its size: a pipette or syringe for a few millilitres, a micropipette for microlitres. If the volume is tiny, consider diluting the stock first to measure more accurately. Always check that the concentration and the label refer to the same substance form, for example a salt versus the active ion.

Common mistakes

Keep in mind: For medicines, follow the prescription and product label, and ask a pharmacist or doctor. This tool performs arithmetic only and is not medical advice.

Frequently asked questions

How many mL is 100 mg?

It depends on the concentration. At 20 mg/mL it is 5 mL; without a concentration there is no answer.

Is 1 mg/mL the same as 1 g/L?

Yes. Both equal 1,000 mg in 1,000 mL.

Does 1 mL of water weigh 1 g?

Approximately, at room temperature. That is water's density, not a general conversion.

Sources: IUPAC Compendium of Chemical Terminology (Gold Book), "mass concentration" · BIPM, SI Brochure, 9th ed. (2019), SI prefixes

Checked 9 Nov 2026. IUPAC Compendium of Chemical Terminology (Gold Book), “mass concentration” (doi:10.1351/goldbook.M03713): mass of a constituent divided by the volume of the mixture; SI prefixes from the SI Brochure (BIPM, 9th ed., 2019).

🔁 All unit converters →🌍 Calculators by country →