Skip to main content
All Calculators & ConvertersAll calculators

Enter known values (provide any two):

If provided, we auto-compute M. You can also override M manually below.

Enter any two of m, n, and M. Leave the unknown one blank.

Show:

Tip: Quick picks auto-fill formula and one value. We’ll compute the missing one.

Result:

No results yet. Enter any two values and click Convert.

How to use this converter

  • Provide any two: mass m (g), moles n (mol), molar mass M (g·mol⁻¹).
  • Auto M: Type a chemical formula to auto-compute M; you may override it.
  • Formulas: m = nM,   n = m/M,   M = m/n.

Formula & Equation Used

Mass: m = n × M

Moles: n = m / M

Molar mass: M = m / n

Example Problems & Step-by-Step Solutions

Example 1 — 5.00 g NaCl → moles

M(NaCl) ≈ 58.44 g·mol⁻¹ → n = 5.00 / 58.44 = 0.0856 mol.

Example 2 — 0.250 mol CO₂ → grams

M(CO₂) ≈ 44.01 g·mol⁻¹ → m = 0.250 × 44.01 = 11.0 g.

Example 3 — M from formula

For Ca(OH)₂: M = 40.08 + 2×(16.00 + 1.008) ≈ 74.09 g·mol⁻¹.

Frequently Asked Questions

Q: Do I need the chemical formula?

Only if you want us to auto-compute M. Otherwise, type M directly.

Q: What if I enter all three values?

We’ll recompute the missing one based on m = nM and show any consistency check in the steps.

Q: Are units important?

Yes: m in grams, n in moles, M in g·mol⁻¹. We follow these units consistently.

The Atom
2. Atoms & Elements
3 problems
Topic
Jules
Subatomic Particles
2. Atoms & Elements
5 problems
Topic
Jules
Atomic Mass
2. Atoms & Elements
5 problems
Topic
Jules
Calculating Molar Mass
2. Atoms & Elements
5 problems
Topic
Jules
Mole Concept
2. Atoms & Elements
7 problems
Topic
Jules
Law of Conservation of Mass
2. Atoms & Elements
4 problems
Topic
ErnestBlazevic
Stoichiometry
3. Chemical Reactions
7 problems
Topic
Jules
Balancing Chemical Equations
3. Chemical Reactions
7 problems
Topic
Jules
Limiting Reagent
3. Chemical Reactions
7 problems
Topic
Jules
Mass Percent
3. Chemical Reactions
7 problems
Topic
Jules
Solution Stoichiometry
6. Chemical Quantities & Aqueous Reactions
7 problems
Topic
Jules
Electrolytes
6. Chemical Quantities & Aqueous Reactions
4 problems
Topic
Jules
Gas Stoichiometry
7. Gases
7 problems
Topic
Jules
Mole Fraction
7. Gases
5 problems
Topic
Jules
2. Atoms & Elements - Part 1 of 4
6 topics 14 problems
Chapter
Jules
2. Atoms & Elements - Part 2 of 4
6 topics 14 problems
Chapter
Jules
2. Atoms & Elements - Part 3 of 4
6 topics 14 problems
Chapter
Jules
2. Atoms & Elements - Part 4 of 4
5 topics 14 problems
Chapter
Jules
3. Chemical Reactions - Part 1 of 3
5 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 2 of 3
6 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 3 of 3
5 topics 13 problems
Chapter
Jules
6. Chemical Quantities & Aqueous Reactions - Part 1 of 3
6 topics 13 problems
Chapter
Jules
6. Chemical Quantities & Aqueous Reactions - Part 2 of 3
6 topics 12 problems
Chapter
Jules
6. Chemical Quantities & Aqueous Reactions - Part 3 of 3
5 topics 12 problems
Chapter
Jules
7. Gases - Part 1 of 4
5 topics 14 problems
Chapter
Jules
7. Gases - Part 2 of 4
5 topics 13 problems
Chapter
Jules
7. Gases - Part 3 of 4
5 topics 13 problems
Chapter
Jules
7. Gases - Part 4 of 4
5 topics 13 problems
Chapter
Jules