Skip to main content

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 4
5 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 2 of 4
6 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 3 of 4
5 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 4 of 4
1 topic 3 problems
Chapter
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
Electrolysis Calculator
Calculate electrolysis mass, moles, or time with clear steps
Concentration Calculator
Calculate molarity, solute mass, or solution volume — with built-in conversions
Chemistry Constants (Quick Reference)
One-click copy of essential general chemistry constants
Combustion Reaction Calculator
Balance combustion reactions and calculate O₂, CO₂, and H₂O amounts
Protein Molecular Weight Calculator
Calculate protein MW from FASTA or raw sequence, plus mass↔moles conversion
DNA Concentration Calculator
Calculate DNA concentration from A260 or convert ng/µL and nM
Neutralization Calculator
Solve acid–base equivalence fast — clear steps, visuals, and conversions
Buffer Preparation Calculator
Generate lab-ready buffer recipes from target pH and volume.
Molarity Calculator
Calculate solution molarity from moles, mass, or volume instantly
DNA Copy Number Calculator
Convert DNA mass, concentration, or molarity into copy number
Protein Concentration Calculator
Calculate protein concentration via A280, standard curves, and dilutions.
Limiting Reactant Calculator
Find the limiting reactant and theoretical yield from a balanced reaction
Stoichiometry Calculator
Instant stoichiometry solver for moles, mass, and particles
Empirical Formula Calculator
Calculate empirical formulas from mass or percent composition with steps
Lattice Energy Calculator
Estimate lattice energy using the Born–Landé model or Born–Haber cycle
Resuspension Calculator
Calculate resuspension volume, concentration, or mass for reagents and oligos
Back to all calculatorsAll calculators