mg per mL to Molarity Calculator

Convert solution strength with molar mass and purity. Check dilution, units, and needed mass fast. Download results when your lab notes need clear records.

Calculator

mg/mL
g/mol
%
mL

Formula used

Since 1 mg/mL equals 1 g/L, molarity can be found directly when molar mass is known.

Molarity M = (mg/mL × purity decimal × dilution factor) ÷ molar mass

For example, 10 mg/mL sodium chloride with molar mass 58.44 g/mol gives 10 ÷ 58.44 = 0.171116 M. That equals 171.116 mM.

For mass planning, the calculator uses: mass mg = target M × molar mass × volume L × 1000 ÷ purity decimal

How to use this calculator

  1. Enter the solution concentration in mg per mL.
  2. Choose a common compound or type the molar mass.
  3. Add purity if the material is not fully pure.
  4. Use dilution factor when the measured sample was diluted.
  5. Select the result unit, such as M, mM, µM, or nM.
  6. Optionally enter a target molarity and volume.
  7. Press Calculate to see the result above the form.
  8. Download the result as CSV or PDF for records.

Example data table

Compound mg/mL Molar mass g/mol Purity Dilution Molarity
Sodium chloride 10 58.44 100% 1 0.171116 M
Glucose 5 180.156 99% 1 0.027476 M
Caffeine 2 194.19 98% 2 0.020187 M
BSA protein 1 66430 100% 1 0.000015 M

About mg per mL to molarity conversion

Laboratory concentrations are often written as mass per volume. A label may say 5 mg/mL, 10 mg/mL, or 1.5 mg/mL. These values are useful for weighing and dissolving materials. They do not directly show how many molecules are present. Molarity solves that problem. It expresses concentration as moles per liter. This makes reactions, buffers, dilutions, and assays easier to compare.

Why molar mass matters

The same mass can represent very different mole amounts. Ten milligrams of sodium chloride contains many more moles than ten milligrams of a large protein. The difference comes from molar mass. Molar mass tells how many grams one mole weighs. Smaller molar mass gives higher molarity for the same mg/mL value. Larger molar mass gives lower molarity.

The useful shortcut

The conversion has a helpful shortcut. One mg/mL is exactly the same as one g/L. Because molarity is moles per liter, you can divide the g/L value by g/mol. The gram units cancel. The result is mol/L, also called M. This is why the basic equation is simple. Molarity equals mg/mL divided by molar mass.

Purity and dilution

Real materials may not be completely pure. A powder with 95 percent purity contains less active compound than the weighed mass suggests. This calculator corrects the concentration by multiplying by the purity decimal. A 95 percent purity value becomes 0.95. Dilution factor is also included. If a sample was diluted ten times before measurement, enter 10 to estimate the original stock concentration.

Choosing the right unit

Molarity can be large or very small. A result in M is useful for strong stocks. A result in mM is common for salts, buffers, and many reagents. A result in µM is common for drugs, enzymes, ligands, and biological assays. A result in nM is useful for very dilute solutions. The calculator shows several units so you can report the number clearly.

Preparing a solution

The target section helps plan new solutions. Enter the desired molarity and final volume. The tool estimates the mass needed in milligrams. It also estimates the stock volume needed when the calculated stock concentration is strong enough. This helps reduce manual errors during dilution planning. Always check solubility, hydration state, salt form, and lab protocol before preparing critical solutions.

Good laboratory practice

Record the compound name, lot purity, molar mass source, final volume, and date. Use the CSV or PDF export for a quick record. Confirm molar mass from a reliable certificate or product sheet. Proteins, hydrates, salts, and mixtures need special attention. Small formula changes can create large concentration changes.

FAQs

1. What does mg per mL mean?

It means milligrams of substance in each milliliter of solution. It is a mass concentration. It does not show mole count until molar mass is used.

2. What does molarity mean?

Molarity means moles of solute per liter of solution. Its unit is mol/L, usually written as M. It is common in chemistry and biology labs.

3. How do I convert mg/mL to M?

Use the formula M = mg/mL ÷ molar mass. This works because 1 mg/mL equals 1 g/L. Molar mass must be in g/mol.

4. Why is molar mass required?

Molar mass links mass to moles. Without it, the calculator cannot know how many moles are present in the entered mass concentration.

5. Is 1 mg/mL always equal to 1 g/L?

Yes. One milligram per milliliter equals one gram per liter. This unit shortcut makes the molarity conversion faster and cleaner.

6. How is purity used?

Purity reduces the active concentration. For 95 percent purity, the calculator multiplies the entered mg/mL value by 0.95 before converting.

7. What is dilution factor?

Dilution factor corrects for previous dilution. If a sample was diluted ten times before measurement, enter 10 to estimate the original stock concentration.

8. Can this calculator handle proteins?

Yes, if you know the protein molar mass in g/mol. Large proteins often give small molarity values, even at visible mg/mL concentrations.

9. Can I use molecular weight instead of molar mass?

Yes, if the molecular weight is expressed as g/mol. In many lab contexts, molecular weight and molar mass are used together for this calculation.

10. Why does the result change with unit selection?

The concentration is the same, but the display unit changes. One M equals 1000 mM, 1,000,000 µM, and 1,000,000,000 nM.

11. How do I calculate mass needed for a target solution?

Enter target molarity and final volume. The calculator uses target M times molar mass times volume in liters, then adjusts for purity.

12. Why is my stock volume larger than final volume?

That means the stock is weaker than the desired final solution. You need a stronger stock or direct weighing instead of dilution.

13. Does hydration state matter?

Yes. Hydrated salts have different molar masses than anhydrous salts. Always use the molar mass that matches the exact material used.

14. Can I export my result?

Yes. After calculation, use the CSV button for spreadsheet records or the PDF button for a clean saved report.

Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.