mg to mL Calculator Using Concentration
Source: NIST Special Publication 330, section 2, Table 5 · Source verified August 15, 2026
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.
Volume
2 mL
500 mg / 250 mg/mL = 2 mL
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.
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
- Read the concentration off the product. Say 250 mg/mL.
- Going from mass to volume, divide. 500 ÷ 250 = 2 mL.
- Going from volume to mass, multiply. 2 × 250 = 500 mg.
- 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
- Density calculator for the mass and volume of a substance itself.
- Molarity calculator when the concentration is in moles per litre rather than mg/mL.
- Dilution calculator for working out what a stock solution becomes after dilution.
- mL to oz for turning the resulting volume into fluid ounces.
Related Calculators
More tools from Education



