The numerator is the difference
IUPAC defines mass concentration using the mass of a constituent divided by the volume of the mixture. NIST defines mass density using a substance's mass divided by its volume. In this comparison, “density” means the total mass of the liquid sample per volume, including all its constituents.
Total mixture mass = mixture density × sample volume
The volume is the same in both equations. What changes is whether the mass counts just the selected ingredient or everything in that volume.
A sample can contain 50 mg of an ingredient and weigh 6 g
Use the illustrative values 10 mg/mL ingredient concentration, 1.2 g/mL mixture density and a 5 mL sample. The concentration gives 10 × 5 = 50 mg of the named ingredient. The density gives 1.2 × 5 = 6 g for the complete sample.
Since 50 mg is 0.05 g, the remaining material accounts for 6 − 0.05 = 5.95 g. That remainder may contain solvent and other ingredients; the app cannot identify them. The ingredient contributes 0.05 ÷ 6 × 100 = about 0.833333% of the total mass.
The two results do not contradict each other. Substituting 1.2 g/mL as though it were the ingredient concentration would count the whole liquid when the question asked about one ingredient.
Units alone do not tell you which quantity you have
| Statement | What it describes | Use on the main converter |
|---|---|---|
| 10 mg of ingredient per 1 mL solution | Ingredient mass concentration | Concentration mode |
| 1.2 g of complete liquid per 1 mL | Whole-liquid density | Density mode |
| 1,200 mg of complete liquid per 1 mL | The same density in different mass units | Density mode after matching units |
| 100 mL bottle | Package volume only | Neither; a conversion factor is still missing |
A g/mL value can express either concentration or density. A mg/mL value can too. The label must say what material its mass refers to. Simply converting grams to milligrams does not change the meaning.
Choose the input that matches the question
- Name the mass. Is it a particular ingredient or the entire liquid?
- Find the matching property. Ingredient mass needs that ingredient's concentration. Total liquid mass needs the whole-liquid density.
- Check the sample and basis. The stated material, mixture, final volume and relevant conditions must agree.
- Keep the units visible. Match mg with mg/mL, or g with g/mL, before dividing mass by the factor.
Then use the mg to mL converter in the appropriate mode. You do not need both properties for a normal one-purpose conversion. The comparison above requests both so their different meanings can be seen for one sample.
What if only a percentage or a ratio is given?
For mg per 5 mL or another explicit mass/volume pair, use the label concentration helper. For a confirmed percentage by mass per volume, use the % w/v converter. A bare percentage does not identify its basis.
A mass fraction such as % w/w describes a mass-to-mass comparison. It is not the same as % w/v. The result above derives % w/w from two explicitly supplied properties; it does not infer a missing density from a percentage. The FDA's strength-expression guidance distinguishes mass and volume concentration bases.
Consistency checks and limits
For the same complete sample, the mass of one actual constituent cannot exceed the total mass. This tool checks that relationship after converting the density to mg/mL. If it fails, check the units, the identity of the ingredient and whether the concentration and density actually describe the same mixture.
Density of the isolated ingredient is not a substitute for mixture density. Neither property establishes purity or tells you which other ingredients are present. At zero sample volume the masses are zero; the displayed mass fraction still comes from the entered concentration and density.
Browse concentration tools and guides →
References and corrections
IUPAC: mass concentration; NIST: mass density; FDA: strength-expression bases.
Reviewed September 17, 2026. Entries are calculated locally and are not saved. For help or a correction, email contact@mgtoml.app.