Skip to main content
Peptide Calculator

Molarity Calculator

Calculates molarity as M = (mass / molar mass) / volume from a mass, unit, molar mass and volume you supply. Educational reference, not medical or dosing advice.

Molecular & Mass

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.

Molarity is the chemist s concentration unit: moles of solute per litre of solution. The molarity calculator converts a mass you can weigh into that figure, given the molar mass of the substance.

This is the bridge between a mass, which is what a vial label shows, and a molarity, which is what a formulation or a published method specifies. Neither is a dose. It is a concentration expressed in the unit laboratory science uses.

Molarity and mass concentration are two different measurements of the same thing. Converting between them is only possible once you know the molar mass, which is why this calculator asks for it.

Two divisions and one piece of chemistry

Between the mass on a label and the molarity in a method there are exactly two divisions, and only one of them involves any chemistry. Dividing by a volume is arithmetic on units. Dividing the mass by the molar mass is where the identity of the substance enters, because the molar mass is the one number that depends on which molecule is being held. Everything else on this page is bookkeeping around that single fact, and every error worth worrying about traces back either to it or to the volume.

That is why the molar mass field is not a formality. A peptide molar mass is the average molecular weight of its sequence, and a sequence carries chemistry: a terminal cap, a cyclised terminus or a salt form all change it, sometimes by tens of daltons. Taking the number from the average molecular weight calculator rather than from memory costs one field and removes an entire class of silent error, and when a specification supplies the figure instead, the molar mass cross check calculator confirms that the two are describing the same molecule before anything is divided.

Litres are not an arbitrary choice of unit

Molarity is defined against the litre, and the definition is what forces the conversion rather than any preference. A mole spread through a thousandth of a litre is a thousand molar, so the prefix on the volume is part of the answer rather than a detail of how it was written. Typing 2 into a field that expects litres when 2 millilitres was meant produces a result a thousand times too small, and nothing in the arithmetic can detect it, because the units still cancel. The same trap faces the other way, since a volume entered in microlitres rather than in litres inflates the answer by a thousand.

The check that does catch it is a change of route rather than more care. Work the problem first as a mass concentration, by dividing the mass by the volume, and convert afterwards. A mass concentration in milligrams per millilitre is numerically the same number as a concentration in grams per litre, so dividing it by the molar mass in grams per mole gives the molarity directly, with no litre conversion anywhere in the calculation. The concentration calculator performs the first half and the mass molarity converter the second, and agreement between the two routes is a strong indication that the volume went in as the field intended.

Molarity against mass concentration

Two concentrations describe the same solution and answer different questions. Milligrams per millilitre is what a vial is specified in, and it is comparable across different substances without knowing anything about them. Molarity is comparable across different solutions of the same substance, and it is what a binding measurement or a reaction stoichiometry is written in. Neither is more correct. They are readable in different directions, and the conversion between them is a division by the molar mass in both directions. That is also why a figure quoted in milligrams per millilitre cannot be read as one quoted in millimolar without the molar mass, however familiar the number looks.

Worked in the other direction, which is where the confusion usually starts: 20 mg of a peptide in 500 microlitres is 40 milligrams per millilitre. Dividing 40 by a molar mass of 588.5343 gives 0.06797 molar, which is 67.97 millimolar, and that is the figure this page returns directly from the mass and the volume in litres. Note how short the route is. Because milligrams per millilitre and grams per litre are the same number, the molar mass is the only bridge the result has to cross. The molar concentration converter carries the whole molar unit ladder from there, including the nanomolar and picomolar ranges where a published method may sit.

What a molarity does and does not travel with

A molarity belongs to a solution, not to a substance, which is the most useful single fact about it. The same peptide has no molarity until it occupies a volume, and once it does the figure changes whenever the volume changes and is unaffected by how the solute arrived. A mass, by contrast, is a property of a quantity of material and travels with that material through any amount of solvent. That asymmetry is why a molarity can never be checked against a label while a mass concentration can. A molarity is a property of the dissolved state rather than of the peptide, so two vials of the same peptide made up in different volumes give different molarities while still holding the same mass.

Two limits are worth stating plainly. The result is computed as an exact concentration, with no temperature term and no correction for solutions that do not behave ideally, so at tens of millimolar the number is a formal concentration rather than an activity. And the molar mass supplied has to be the molar mass of the form in the vial, because a counter ion or a hydrate changes it and a figure quoted for a salt is not interchangeable with the free base value a sequence produces. The comparison between the two concentration systems is worked through at greater length in molarity against mass concentration .

How this calculator works

Three steps, all divisions. First convert the mass to grams, because molarity is defined against the gram. Then divide by the molar mass in grams per mole to get the number of moles. Then divide the moles by the volume in litres to get moles per litre.

The calculator returns the result in both millimolar and micromolar, because a working concentration is usually in one of those two and having both removes a conversion step.

The formulas

  • moles = mass in grams / molar mass in g/mol

    moles
    amount of substance, in mol
    molar mass
    average molecular weight in g/mol
  • M = moles / volume in litres

    M
    molarity, mol/L

    This is the reason volume must be in litres. A molarity computed with millilitres is out by a factor of one thousand.

Worked example

Molarity of 10 mg of a 1500 g/mol peptide in 2 mL

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

Given

Mass
10 mg
Molar mass
1500 g/mol
Volume
2 mL
  1. Convert the mass to grams
    Substitution
    10 mg = 0.010 g
    Result
    0.010 g
  2. Convert mass to moles
    Substitution
    0.010 g / 1500 g/mol
    Result
    6.6667e-6 mol
  3. Convert the volume to litres
    Substitution
    2 mL = 0.002 L
    Result
    0.002 L
  4. Divide moles by litres
    Substitution
    6.6667e-6 mol / 0.002 L
    Result
    0.0033333 M, or 3.3333 mM

What this shows

Note how much the volume unit matters. Dividing 6.6667e-6 mol by 2 instead of 0.002 gives 3.3333e-6 M, a figure one thousand times too small.

Understanding the inputs

Mass
The mass of solute, in the unit you select alongside it.
Watch for: The number and the unit are two separate fields. Changing the unit dropdown does not rescale a number already typed.
Mass unit
The unit the mass was typed in. Grams, milligrams, micrograms or nanograms.
Molar mass (g/mol)
The molar mass in grams per mole, which is numerically the average molecular weight in daltons. For a peptide you do not know, the average molecular weight calculator will give it to you from the sequence.
Watch for: Do not enter a monoisotopic mass here if you want a mass that corresponds to a real weighed quantity. Use the average molecular weight.
Volume (L)
The final solution volume, in litres. Molarity is defined against the solution volume, not against the volume of solvent added.
Watch for: Enter 0.002 for 2 mL. Entering 2 here produces a result a thousand times too small, and the calculator has no way to detect the mistake.

Understanding the results

Molarity (mM)
The concentration in millimolar, that is mol/L multiplied by one thousand. The unit most published methods use.
Molarity (uM)
The same concentration in micromolar, that is mol/L multiplied by one million. Useful when a method specifies a low concentration range.

Units explained

M (molar)
Mol per litre. The base unit of this family.
mM (millimolar)
One thousandth of a molar. 1 mM = 0.001 mol/L.
uM (micromolar)
One millionth of a molar. 1 uM = 1e-6 mol/L.
Mass concentration
Mass per volume, such as mg/mL. A different measurement from molarity, convertible only when the molar mass is known.

Common mistakes

  • Mixing mass concentration and molar concentration. mg/mL cannot be read as mM without the molar mass, and treating one as the other is a factor of the molar mass error.
  • Entering millilitres into a field labelled litres. This is the single most common way to get a wrong answer from an otherwise correct calculator.
  • Using the volume of solvent added rather than the final volume. They differ whenever the solute itself contributes volume.

Important limitations

  • Molarity is a concentration, not a dose. Nothing on this page determines how much anyone should take, and a molarity carries no information about what a given volume delivers.
  • The molar mass must be correct for the form of the substance. A salt, a hydrate or a counter ion changes it.
  • No temperature, no pH and no non ideal behaviour at high concentration is modelled. A molarity is treated as an exact figure here.

Frequently asked questions

What does the molarity calculator compute?

It converts a mass of solute, its molar mass, and a solution volume into molar concentration, using M = (mass / molar mass) / volume.

How do I use the molarity calculator?

Enter the mass and its unit (g, mg, mcg or ng), the molar mass in g/mol, and the volume in litres. The calculator returns the concentration in both mM and uM.

What is the molarity formula this calculator solves?

Molarity (mol/L) equals moles of solute divided by litres of solution, where moles equals mass in grams divided by the molar mass in g/mol.

What units does the molarity calculator expect and return?

Mass can be entered in g, mg, mcg or ng and is converted to grams internally; volume must be in litres; molar mass is in g/mol. Results are shown in mM and uM.

What happens with a zero or negative volume in the molarity calculator?

The calculator rejects a volume of zero or less; volume must be a positive number since dividing by zero or a negative volume is not physically meaningful.

What happens with a negative molar mass in the molarity calculator?

A molar mass at or below zero is rejected. Molar mass is always a positive quantity for a real substance.

Do I need to know the molar mass in advance to use the molarity calculator?

Yes. If you only have a peptide sequence, use the average molecular weight calculator first to derive the molar mass, then bring that number here.

Is the molarity calculator free?

Yes, it runs in your browser with no data sent to a server.

Learn more