Skip to main content

mg to mL Calculator Using Concentration

Source: NIST Special Publication 330, section 2, Table 5 · Source verified August 15, 2026

Blake Boege
Written by Blake Boege · Founder, Calculator Answers

Milligrams and millilitres measure different kinds of quantity, a mass and a volume, so no factor relates one to the other. What relates them for a liquid is mass concentration, the mass of a constituent divided by the volume of the mixture, which the SI lists as a derived quantity in its own right. Dividing a mass by a concentration gives the volume that holds it, and multiplying a volume by a concentration gives the mass it contains. Mass concentration is not the same thing as density, which is the mass of a substance divided by the volume of that same substance.

Enter an amount in milligrams and the concentration printed on the product, and this returns the volume in millilitres. The concentration is not optional: without it there is nothing linking a mass to a volume, and a page that answers anyway has quietly guessed on your behalf.

Quick Answer

mg measures mass and mL measures volume, so they do not convert directly. Supply the concentration and the arithmetic is one step: 500 mg at 250 mg/mL is 2 mL, and the same 500 mg at 100 mg/mL is 5 mL.

What do you know?

e.g. 500

Read this off the product. It is the number that makes the conversion possible. · e.g. 250

Milligrams measure mass and millilitres measure volume, so there is no factor between them. The concentration is what links the two, which is why this page asks for it before it will answer.

Result

Volume

2 mL

500 mg / 250 mg/mL = 2 mL

Amount500 mg
Concentration250 mg/mL
Formulavolume = mass / concentration
In litres0.002 L

Arithmetic only. This does not check whether an amount is appropriate for anyone. For a medicine, follow the product label or the instructions from a qualified healthcare professional.

Was this helpful?

Examples

500 mg at 250 mg/mL

2 mL

125 mg at 25 mg/mL

5 mL

2 mL at 250 mg/mL

500 mg

500 mg at 2 % w/v (20 mg/mL)

25 mL

How it works

Formula · volume (mL) = mass (mg) ÷ concentration (mg/mL) · mass (mg) = volume (mL) × concentration (mg/mL)

Mass concentration says how much of a substance sits in each unit of liquid. Once you have that number the arithmetic is a single division, and it runs the other way as a single multiplication.

Amount to volume

volume (mL) = mass (mg) ÷ concentration (mg/mL)

Volume to amount

mass (mg) = volume (mL) × concentration (mg/mL)

The milligrams cancel in the first and reappear in the second, so the two are the same relationship read in opposite directions.

Concentration has to be greater than zero. A liquid holding none of the substance holds no amount of it in any volume at all, so the division has no answer rather than a very large one, and the page says so instead of printing something.

Why a mass and a volume do not convert

A milligram counts how much of something there is. A millilitre counts how much room it takes up. Those are different kinds of quantity, and no factor turns one into the other, in the same way no factor turns a weight into a length.

What links them for a particular liquid is that liquid's concentration: how much substance sits in each millilitre. That is a property of the preparation in front of you, printed on its label, and it varies from one product to the next. It is not a constant anyone can look up on your behalf.

Which is why the concentration field on this page is not optional. Clear it and the answer disappears rather than falling back to something. A page that answers anyway has quietly guessed, and the guess is invisible in the result.

Working it out by hand, in both directions

  1. Read the concentration off the product. Say 250 mg/mL.
  2. Going from mass to volume, divide. 500 ÷ 250 = 2 mL.
  3. Going from volume to mass, multiply. 2 × 250 = 500 mg.
  4. If the units differ, normalise first. 500 mcg is 0.5 mg, and a concentration of 100 mcg/mL is 0.1 mg/mL, so 0.5 ÷ 0.1 = 5 mL.

That is the whole calculation. The reason this page exists is not that the division is hard; it is that the division is impossible until the concentration is in hand, and a great many pages divide anyway.

When the label gives a ratio instead of a concentration

Plenty of labels read 500 mg / 5 mL rather than 100 mg/mL. They say the same thing. Divide the mass by the volume and you have the concentration to enter here: 500 ÷ 5 = 100.

The step is worth doing deliberately rather than in your head, because a ratio can be written per 5 mL, per teaspoon, per vial or per dose, and only one of those is a concentration.

Percent w/v, w/w and v/v are three different things

1 % w/v is 1 g in 100 mL, which is 10 mg/mL. The conversion is always a multiplication by 10, so 2 % w/v is 20 mg/mL and 0.9 % w/v is 9 mg/mL.

  • w/v, weight in volume: grams per 100 mL of solution. This is what the page implements.
  • w/w, weight in weight: grams per 100 g of solution. Equal to w/v only when the density is exactly 1 g/mL, which is almost never exactly true.
  • v/v, volume in volume: millilitres per 100 mL, used for liquid-in-liquid mixtures.

Edge cases and what the page refuses

  • A blank concentration. No answer, with a message asking for it. This is the refusal the whole page is built around.
  • A concentration of zero. Refused, and the message says why: with none of the substance in the liquid, no volume holds a given mass of it.
  • A hex or exponent string. Rejected. The page used to route through JavaScript's Number, which reads 0x1f as 31, so a stray character in the concentration field produced a confident wrong answer. It now uses the house parser, which refuses anything that is not a plain decimal.
  • A very small volume. Shown in exponential form below about a ten-thousandth, so a real answer is never displayed as zero.
  • A negative amount. Refused in both directions. There is no negative volume of a liquid to report.

Your figures stay in this page

The amounts and concentrations you enter are processed by this page in your browser. They are not sent to a server, not stored after you close the tab, and not visible to anyone else. There is no account and nothing to sign up for.

Worked example

A bottle says 250 mg/mL and you want to know what volume holds 500 mg.

  • mass = 500 mg
  • concentration = 250 mg/mL
  • 500 ÷ 250 = 2
  • volume = 2 mL

Change nothing but the concentration and the answer moves with it. At 100 mg/mL the same 500 mg occupies 5 mL; at 25 mg/mL it occupies 20 mL. This is why the number on the label matters more than any rule of thumb.

Reading the concentration off a label

Concentrations get written several ways. All of them become mg/mL before the division happens:

  • mg/mL is used as it stands
  • g/L is the same number as mg/mL, because a gram is a thousand milligrams and a litre is a thousand millilitres, so the thousands cancel
  • mcg/mL is divided by 1,000
  • % w/v is multiplied by 10, since 1 g per 100 mL is 10 mg per mL

A label reading "500 mg / 5 mL" is also a concentration, just written as a ratio. Divide it out first: that is 100 mg/mL.

Concentration is not density

Both are a mass divided by a volume and both come out in kilograms per cubic metre, which is why they get mixed up. They are still different quantities, and the SI lists them separately: density is the mass of a substance divided by the volume of that same substance, while mass concentration is the mass of one constituent divided by the volume of the whole mixture.

Because they measure different things, one cannot stand in for the other: a concentration says how much of a specific constituent sits in each unit of the mixture's volume, while a density says how much the material itself weighs per unit of its own volume. Reaching for a density figure where a concentration is called for answers a different question, not an approximately-right version of the same one. If your question is about a single substance rather than something dissolved in a liquid, use the density calculator instead.

What this page will not do

It converts between an amount and a volume, and that is all. It does not know what substance you have, it does not carry a list of common products and their strengths, and it will not tell you how much of anything to take. For a medicine, the product label or a qualified healthcare professional is the source for that, not a calculator.

Sources

Mass concentration is defined as the mass of a constituent divided by the volume of the mixture in the IUPAC Compendium of Chemical Terminology (the "Gold Book"), entry M03713. Verified 15 August 2026.

Mass concentration is listed as a derived quantity, separately from density, in Table 5 of NIST Special Publication 330, section 2, the US edition of the SI brochure. Verified 15 August 2026.

The percent w/v convention, grams of solute per 100 mL of solution, follows the FDA's strength-conversion guidance for drug listing. Verified 15 August 2026.

Related calculators

Frequently asked questions

There is no single answer, and any page that gives you one has invented a concentration on your behalf. At 250 mg/mL it is 2 mL. At 100 mg/mL the same 500 mg is 5 mL. At 25 mg/mL it is 20 mL. The concentration printed on the product is what decides it.

Because they measure different kinds of thing. A milligram is a mass and a millilitre is a volume, and there is no conversion factor between a mass and a volume, in the same way there is none between a weight and a length. What links them for a particular liquid is that liquid's concentration or density, and that is a property of the substance rather than of the units.

At 250 mg/mL, 1 mL holds 250 mg. At 100 mg/mL it holds 100 mg. At 5 mg/mL it holds 5 mg. The question has an answer only once the concentration is known, which is why the field is required in both directions rather than only when converting one way.

Close, and the closeness is a trap. Water at room temperature is about 0.998 g/mL, so a millilitre is a shade under a gram. But that is water's density, not its concentration, and putting one in place of the other does not just rescale the result, it answers something else entirely.

Grams of solute in 100 mL of solution. So 1 % w/v is 1 g in 100 mL, which is 10 mg/mL, and 2 % w/v is 20 mg/mL. The page converts it for you when you pick that unit, and the multiplication is by 10 in every case.

100 mg/mL. Divide the mass by the volume: 500 ÷ 5 = 100. Labels often give a ratio rather than a concentration, and turning it into mg/mL first is the step that makes the rest of the arithmetic ordinary.

Numerically, yes. A gram is a thousand milligrams and a litre is a thousand millilitres, so the thousands cancel and the number is identical. A solution at 50 g/L is at 50 mg/mL. The page treats them as the same value with two labels.

The denominator. Weight-in-volume is grams per 100 mL of solution; weight-in-weight is grams per 100 g of solution. They agree only when the density is exactly 1 g/mL, which is almost never exactly true. This page implements w/v, because that is the convention used for liquid preparations.

Only the scale. A microgram is a thousandth of a milligram, so 500 mcg is 0.5 mg and a concentration of 100 mcg/mL is 0.1 mg/mL. Select mcg in the unit menu and the page normalises before dividing; the arithmetic underneath is the same division.

Because there is no answer. If none of the substance is in the liquid, no volume of that liquid holds a given mass of it, and the division would give infinity rather than a number. The page says so instead of printing something.

Not directly. A powder has a density, not a concentration, and the two are different quantities. If you know the density in g/mL you can reason about the volume it occupies, but that is a different calculation from the one on this page and the density converter is the better tool for it.

For a stated concentration, no. The mg/mL figure on a label is a property of the preparation, and this page divides by exactly the number you give it. Temperature moves a liquid's density, which is why density and concentration should not be substituted for one another even when the numbers look similar.

Convert it first, using the molar mass of the substance: milligrams per millilitre is molarity times molar mass, divided by a thousand. The molarity calculator handles that step. This page takes mass concentration and does not attempt to guess a molar mass.

Because a very small volume rounded to four decimal places would display as zero, which is worse than an unfamiliar format. Below about a ten-thousandth the page switches to exponential form so a real answer is never shown as nothing.

No, and it will not try. It divides a mass by a concentration. It carries no medication list, no dosing rules and no presets, and nothing here is a recommendation. Follow the product label or the instructions from a qualified healthcare professional.

No. Everything you enter is processed by this page in your browser. Nothing is sent to a server, nothing is kept after you close the tab, and there is no account.