Skip to main content
Peptide Calculator

Mass-Molarity Converter

Converts a concentration between a mass-per-volume unit (g/L, mg/L, mg/mL, ug/mL, ng/mL) and a molar unit (M, mM, uM, nM, pM) using a molar mass you supply. For lab and research use; not medical or dosing advice.

Concentration & Dilution

Calculator inputs

This is a mathematical and laboratory reference tool. It does not diagnose, treat or recommend a dose, and it is not medical advice.

This converter crosses between the two concentration families, mass per volume and moles per volume. It is the only calculator on the site that can turn a mg/mL reconstitution concentration into a millimolar value.

It needs a molar mass, because that is the number that relates the two. Mass per molecule is molar mass divided by Avogadro’s number, and the division by that constant is what makes the conversion a clean multiplication.

Once you have it, the reconstitution calculators, the molarity calculator and the Beer-Lambert calculators all speak the same language.

This is not a unit conversion

Every other unit converter on this site rescales a number. This one has to bring in a property of the substance, because the two families are not two descriptions of one quantity. Mass concentration measures how much material sits in a volume, and molar concentration measures how many molecules sit in a volume. How many molecules a given mass contains depends on how large each molecule is, and that is what the molar mass reports. Divide grams per litre by grams per mole and you have moles per litre, with the factor of a thousand as the only other step.

Work the same relationship in the opposite direction, which is the direction a formulation specification usually needs. A solution at 1.6667 mM of a 1500 g/mol peptide is 1.6667 multiplied by 1500 grams per litre, which is 2500 g/L, which is 2.5 mg/mL because a gram per litre is a milligram per millilitre. Every step of that is reversible, and the molarity versus mass concentration guide puts the two measurements side by side. Notice that no factor of a thousand appears at the end, because multiplying by a molar mass in grams per mole already lands in grams per litre.

Where the molar mass comes from and how wrong it can be

The molar mass field is the one input that decides the answer, and it is the one most often supplied from memory rather than computed. Numerically it is the average molecular weight in daltons, so a sequence gives it directly and the average molecular weight calculator produces it from the residues. If you already hold a figure and want to know whether it agrees with the sequence, the molar mass cross-check calculator reports both values and the percentage difference between them. A published figure and a sequence-derived figure can differ for legitimate reasons, which is why comparing the two is worth doing rather than assuming one of them is wrong.

An error in the molar mass produces an error of exactly the same proportion in the answer, in both directions and without warning. Choosing monoisotopic mass instead of average molecular weight is the small version of this and it grows slowly with length; the monoisotopic versus average guide gives the size of the gap. The large version is using a printed vial mass for something that is not the free peptide, since a salt form or a conjugate carries mass that contributes no molecules. Nothing in the output detects any of it, because the converter has no independent knowledge of the substance it is working on.

The shortcut that holds near a thousand daltons

There is a shortcut in wide use: for a peptide of about a thousand daltons, the number in mg/mL is close to the number in mM. It is not a coincidence. It is the arithmetic above with a molar mass near one thousand, and that is what makes it dangerous, because the error it produces is proportional to how far the real molar mass sits from that value. The answer keeps the right order of magnitude, which is exactly what lets the shortcut survive contact with real work. It is a reasonable first estimate and a poor final answer, and the cost of finding out which one you have is a single conversion.

Test it in the direction that breaks the intuition. A solution of 10 mg/mL for a peptide of 800 g/mol is 12.5 mM, so the millimolar figure is the larger of the two, not the smaller. The same solution for a peptide of 3755 g/mol is 2.66 mM. A factor of nearly five between them, arising from nothing but the molar mass, and neither number looks wrong enough to query. The check that catches it costs one division: divide the mass concentration by the molarity and you should recover the molar mass you started with.

What the molar mass silently assumes

The conversion assumes a single substance of known molar mass, and that assumption covers more ground than it sounds. A mixture, a conjugate, a salt or a hydrate has no single correct value, and neither does a substance whose composition was inferred rather than supplied. It also assumes the material is pure, so a sample at ninety five percent reads as though it were one hundred. None of that produces a message here; it produces a number that is quietly scaled. The same reasoning is why an activity measure cannot be turned into a mass by a universal factor, as the guide to international units explains.

The conversion is exact once the molar mass is right, which is why the molar mass deserves as much care as the concentration. Where the concentration is measured rather than weighed out, the molar side is what the instrument produces, and the Beer-Lambert work is the natural next step because absorbance responds to molecules and not to milligrams. Where the concentration is weighed, staying in mg/mL avoids needing the molar mass at all, which is most of why that is the unit a reconstitution page defaults to. That asymmetry is worth remembering when comparing two preparations, because the same number in mg/mL means different things for different peptides while the same number in mM does not.

How this calculator works

A mass concentration in mg per mL converts to grams per litre by multiplying by one thousand, because one milligram per millilitre is one gram per litre. Dividing that by the molar mass in grams per mole gives moles per litre, which is molarity.

Going the other way, multiply a molarity by the molar mass to get grams per litre, then divide by one thousand to get mg per mL.

The molar mass is the entire bridge. A wrong molar mass produces a proportionally wrong answer in both directions, and the calculator has no way to detect that.

The formulas

  • mM = (mg/mL x 1000) / molar mass in g/mol

    The 1000 converts mg/mL to g/L. Dividing by g/mol then gives mol/L.

  • mg/mL = mM x molar mass / 1000

    The same relationship read the other way.

Worked example

Converting a 2.5 mg/mL reconstitution to millimolar

Illustrative example. The numbers are chosen to make the arithmetic easy to check. They are not a dose, a protocol or a recommendation.

Given

Concentration
2.5 mg/mL
Molar mass
1500 g/mol
Target unit
mM
  1. Convert to grams per litre, which is 2.5 g/L
    Substitution
    2.5 x 1000
    Result
    2.5 g/L
  2. Divide by the molar mass
    Substitution
    2.5 g/L / 1500 g/mol
    Result
    0.00166667 mol/L
  3. Express in millimolar
    Substitution
    0.00166667 x 1000
    Result
    1.6667 mM

What this shows

1.6667 millimolar. The general rule worth remembering is that mg/mL and mM are numerically close for a peptide of about one thousand daltons, and diverge in proportion to the molar mass. For a 3755 g/mol peptide, 2.5 mg/mL works out at 0.666 mM, so the shortcut does not hold in general.

Understanding the inputs

Value
The concentration, in the unit named in the from dropdown.
From unit
The starting unit, which may be from either family, mass per volume or molar.
To unit
The target unit, which may be from either family.
Molar mass (g/mol)
The molar mass in grams per mole, numerically equal to the average molecular weight in daltons.
Watch for: This is the single input that decides the answer and the one most often taken from memory. If you have a sequence, get it from the average molecular weight calculator.

Understanding the results

Value
The concentration expressed in the target unit, whatever family it belongs to.

Units explained

mg/mL
Mass per volume. What a vial label gives you.
mM
Moles per litre. What a formulation specification gives you.
Molar mass
Grams per mole. The conversion constant, numerically equal to the average molecular weight in Da.

Common mistakes

  • Forgetting the factor of one thousand between mg/mL and g/L. Omitting it puts the answer a thousand times out, with no error message.
  • Using a monoisotopic mass. A few tenths of a dalton per residue is negligible in most contexts, so this is a small error, but it is still a convention mismatch.
  • Assuming the same peptide for both sides of a comparison. Two different substances need two different molar masses, and a single conversion factor will be wrong for one of them.

Important limitations

  • Assumes a single substance of known molar mass. A mixture, a salt form or a conjugate has no single correct value.
  • Does not account for purity, so a 95 percent pure sample reads as though it were 100 percent.
  • Pure arithmetic. It does not check that the molar mass matches the substance.

Frequently asked questions

What does the mass-molarity converter do?

It converts a concentration value between the mass/volume family, g/L, mg/L, mg/mL, mcg/mL, ng/mL, and the molar family, M, mM, uM, nM, pM, or within either family, given the solute’s molar mass.

How do I use the mass-molarity converter?

Enter the concentration value, choose the source and target units from the combined list, and enter the molar mass in g/mol. The calculator picks the correct conversion path automatically depending on which families the source and target units belong to.

Why does the mass-molarity converter need a molar mass when the other two unit converters do not?

Converting between a mass based unit and a molar based unit requires knowing how many grams correspond to one mole of the specific substance; the concentration and molar concentration converters avoid this because they each stay within a single family that does not need that information.

What happens if the source and target units are both from the same family on the mass-molarity converter?

The calculator still works and effectively performs the same conversion as the concentration unit converter or molar concentration converter, since the molar mass is simply unused for a same-family conversion.

What units does the mass-molarity converter expect and return?

Any of the mass/volume concentration units or molar concentration units listed above for both the source and target; molar mass is always entered in g/mol.

What if I enter a molar mass of zero into the mass-molarity converter?

It is rejected as invalid; molar mass must be a positive, finite number for the conversion to be defined.

Where would I get a molar mass to use with the mass-molarity converter?

From the average molecular weight calculator if you have a peptide sequence, or from a supplier's certificate of analysis for a known compound.

Is the mass-molarity converter free?

Yes. The mass molarity converter calculator runs entirely in your browser.

How do I convert mg/mL to molarity?

Enter your mg/mL value as the source unit and pick a molar unit, M, mM, uM, nM or pM, as the target, then supply the molar mass in g/mol. The calculator divides mass concentration by molar mass and rescales the exponent for you, so you never need to do the division by hand.

How do I convert molarity to mg/mL?

Pick a molar unit as the source and mg/mL as the target, then enter the molar mass in g/mol. The calculator multiplies the molar concentration by the molar mass and rescales the result into mg/mL.

How do I convert a concentration to molarity in general?

Any mass/volume unit, g/L, mg/L, mg/mL, ug/mL or ng/mL, converts to any molar unit the same way: mass concentration divided by molar mass, then a power-of-ten rescale between the two units you picked. This converter does both steps in one entry once you supply the molar mass.

Learn more