FREE TOOLS. ZERO LIMITS.
No Signup RequiredNo Watermarks
ToolzNova · Lab & chemistry calculators

mg/mL to Molarity Calculator Online

Convert a mass concentration in mg/mL into molarity and millimolar. Useful for drug stocks, proteins and reagents labelled by weight.

mg/mL to Molarity Calculator

Free mg/ml to molarity calculator that runs in your browser. Nothing is uploaded.

M = mg/mL ÷ MW
Calculator inputs
—
Molarity—
Millimolar—
g/L—
Molar mass—
✓ Free • ✓ No signup • ✓ Mobile friendly

Use the exact chemical form, concentration basis, reaction factor, and source values required by your method.

Results show M and mM. Molar mass must be for the exact form you weigh, including any water of crystallisation.

How to convert mg/mL to molarity

1Enter mg/mL

Type the mass concentration from the label or protocol.

2Enter molar mass

Use g/mol for the exact substance.

3Read molarity

See M, mM and the matching g/L value.

mg/mL to molarity examples

Molarity = mg/mL ÷ molar mass, because mg/mL is the same number as g/L.

For large molecules such as proteins, the result is often in µM: multiply mM by 1000.

Substancemg/mLMolar massMolarity
NaCl958.440.154 M
Glucose50180.160.278 M
Caffeine1194.195.15 mM
BSA protein1≈ 66,430≈ 15 µM

Working out molarity from weight-based labels

This short guide explains what the mg/ml to molarity calculator does, how to get the best result and when another tool is a better fit.

What the Conversion Means

mg/mL is a mass-per-volume concentration. Molarity is amount of substance per liter. Converting mass concentration to molarity requires the compound's molar mass.

mg/mL to Molarity Calculator – mg/mL to M
How the mg/ml to molarity calculator works: mg/mL in, M out.

Core Formula

M = mg/mL ÷ molar mass(g/mol). The relationship works because 1 mg/mL is numerically equal to 1 g/L.

Worked Example

A solution at 25 mg/mL of a 100 g/mol compound has molarity 25 g/L ÷ 100 g/mol = 0.25 mol/L, or 0.25 M.

Why Molar Mass Is Essential

Without molar mass, mass concentration cannot be converted into moles. A 10 mg/mL solution of a 50 g/mol compound is twice as concentrated in molar terms as a 10 mg/mL solution of a 100 g/mol compound.

Verify the Chemical Formula

The Molecular Weight Calculator can calculate g/mol. Use the exact chemical form, including hydrates or salts when they are part of the material.

Reverse Conversion

mg/mL = M × molar mass. The Molarity to mg/mL Calculator converts in the opposite direction.

Connection to g/L

Because mg/mL and g/L share the same numerical value, 12 mg/mL is 12 g/L. The Mass Concentration Calculator can display additional equivalent units.

From Molarity to Dilution

After molarity is known, a working solution can be prepared with a compatible stock-to-target calculation. The Solution Dilution Calculator handles C1V1 = C2V2.

Active Ingredient Versus Product Mass

A formulated product may contain excipients or a stated active fraction. Do not treat total product mg/mL as pure analyte mass concentration unless the product documentation defines it that way.

Unit Labeling

Always preserve mg/mL and M labels in records. A bare numeric value such as 0.25 can be ambiguous when mass and molar concentration are used in the same workflow.

Checking Through the g/L Identity

Start by recognizing that the numerical mg/mL value is the same as g/L. Then divide that g/L value by molar mass in g/mol. The grams cancel and liters remain in the denominator, giving mol/L. This unit pathway is a useful manual check and makes clear why no extra factor of 1,000 belongs in the final formula.

Final Chemical-Form Check

Before accepting the molarity, verify that the entered molar mass represents the same chemical form as the mass concentration. A salt, hydrate, free base, or different counterion can change g/mol and therefore change the calculated molarity even when mg/mL is unchanged.

Further reading: Molar concentration explained. It explains the format behind this mg/ml to molarity calculator in more detail.

Where it’s used

Drug stocks

Convert label mg/mL to mM.

Proteins

Get µM for assays.

Media

Compare additive concentrations.

Coursework

Check unit conversions.

Quick fixes

Result tiny for a protein

Proteins have large molar masses; read mM and multiply by 1000 for µM.

Label shows mg per tablet

That isn’t a concentration; divide by the volume first.

“Enter positive molar mass”

Molar mass must be greater than zero.

Salt form on label

Use the molar mass of the salt you weighed, e.g. hydrochloride.

Frequently asked questions

What is the formula?

Molarity = mg/mL ÷ molar mass (g/mol).

Why does that work?

1 mg/mL equals 1 g/L.

What is 9 mg/mL NaCl in M?

About 0.154 M.

How do I get µM?

Multiply mM by 1000.

Which molar mass for a salt?

The salt form you weighed, including counter-ion.

Is my data uploaded?

No. The mg/ml to molarity calculator works entirely in your browser, so your file stays on your device.

Can I enter µg/mL?

Divide by 1000 to get mg/mL first.

Can I reverse it?

Use the Molarity to mg/mL Calculator.

Does it work for proteins?

Yes, with the protein’s molar mass in g/mol.

Is % w/v accepted?

Multiply % w/v by 10 to get mg/mL first.