TheCalculatorsHub

Mole Calculator

The Mole Calculator converts between the five quantities connected by the mole concept: number of moles (n), mass in grams (m), molar mass (M), number of particles (N), and gas volume at STP (V). Enter any known value and the molar mass to compute all others simultaneously. The core formulas are n = m / M for mass-to-moles, m = n × M for moles-to-mass, N = n × 6.02214076 × 10^23 for moles-to-particles, and V = n × Vm for moles-to-gas-volume where Vm is 22.414 L/mol (classic STP, 0°C and 1 atm) or 22.711 L/mol (IUPAC STP, 0°C and 100 kPa). A quick-select substance list covers 18 common compounds including water, NaCl, CO2, glucose, ethanol, and sulfuric acid. Step-by-step working is displayed with the user's actual values substituted into each formula step, matching how a chemistry teacher would show the calculation on a board.

Loading Mole Calculator...

How It Works

Our engine processes your inputs using verified datasets and logic models to provide real-time results.

Verified Algorithm

Efficiency Tips

Ensure data accuracy for the most reliable interpretation.

Compare results across different scenarios to find the optimal path.

Did you know?

Using standardized tools reduces manual error by up to 95% in complex calculations.

Mole Calculator Logic

n=m/Mm=n×MN=n×Na(6.02214076×1023)V=n×Vm(22.414or22.711L/molatSTP)n = m / M | m = n × M | N = n × Nₐ (6.02214076 × 10²³) | V = n × Vₘ (22.414 or 22.711 L/mol at STP)
Disclaimer: Results are estimates only. Always verify important calculations with a qualified professional before making decisions. Learn about our methodology.

What Is a Mole and Why Does It Matter?

A mole is the SI base unit for the amount of a substance, defined as exactly 6.02214076 × 10²³ elementary entities. This number, called Avogadro's number, makes it possible to relate the mass of a substance on a lab scale to the number of individual atoms or molecules involved. Without the mole concept, every stoichiometric calculation would require working with numbers like 602,000,000,000,000,000,000,000 -- completely impractical for everyday chemistry. Instead, chemists say "one mole of water has a mass of 18.015 grams," connecting the macroscopic and atomic worlds in a single, manageable unit. The mole is the central concept underlying every calculation you perform with this molarity calculator, titration, or limiting reagent problem.

How to Convert Between Moles and Grams

The core formula linking moles, mass, and molar mass is n = m / M, where n is the number of moles, m is the mass in grams, and M is the molar mass in grams per mole. To find moles from a known mass, divide the mass by the molar mass. To find the mass of a known number of moles, multiply: m = n × M. To find the molar mass of an unknown substance, rearrange to M = m / n. The molar mass of any element equals its standard atomic weight from the periodic table, expressed in g/mol instead of atomic mass units. For compounds, sum the atomic masses of all atoms in the formula -- for NaCl, that is 22.990 (Na) + 35.453 (Cl) = 58.443 g/mol. Use the molecular weight calculator for complex formulas.

Moles and Number of Particles: Using Avogadro's Number

To convert between moles and the number of individual particles -- molecules, atoms, ions, or formula units -- use Avogadro's number (Na = 6.02214076 × 10²³ mol⁻¹). The formula is N = n × Na. For example, 0.5 mol of O₂ contains 0.5 × 6.022 × 10²³ = 3.011 × 10²³ molecules. To go the other way, n = N / Na. Be precise about what you are counting: those 3.011 × 10²³ O₂ molecules each contain two oxygen atoms, so the total atom count is 6.022 × 10²³. This distinction is critical in problems that ask for atoms rather than molecules. Explore more in our Avogadro's number calculator.

Gas Volume at STP: The Molar Volume Method

For ideal gases at standard temperature and pressure, one mole occupies a fixed volume called the molar volume (Vm). Two STP standards are in use. The classic STP, still common in many textbooks, is defined as 0°C and 1 atmosphere (101.325 kPa), giving Vm = 22.414 L/mol. The current IUPAC STP (revised 1982, reinforced 2019) is defined as 0°C and 100 kPa (1 bar), giving Vm = 22.711 L/mol. To find moles from a gas volume, use n = V / Vm. To find the volume from moles, use V = n × Vm. Always check which standard your course or exam uses -- the difference is about 1.3% and can affect marks. For arbitrary temperature and pressure conditions, the full ideal gas law (PV = nRT) is required. Our mole fraction calculator extends these concepts to gas mixtures.

Reading Mole Calculations Step by Step

Every mole problem follows the same logical chain: identify what you know, select the appropriate formula, substitute your values (with units), and confirm the units cancel to give the expected output unit. When converting from grams to moles: grams / (grams/mol) = moles -- the gram units cancel, leaving moles. When converting from moles to grams: moles × (grams/mol) = grams -- the mol units cancel. When converting between particles and moles: particles / (particles/mol) = moles. Tracking units explicitly at each step, rather than just plugging numbers, eliminates the most common calculation errors. This step-by-step approach is what the solution panel above shows with your actual values substituted in.

Common Mistakes in Mole Calculations

The most frequent error is using the wrong molar mass. Students sometimes use atomic mass in amu rather than molar mass in g/mol, but these are numerically identical -- the only issue is using a diatomic element (O, N, H, F, Cl, Br, I) as a monatomic one. For example, the molar mass of oxygen gas is 2 × 15.999 = 31.998 g/mol, not 15.999 g/mol, because oxygen exists as O₂ under standard conditions. A second common error is confusing the number of molecules with the number of atoms when using Avogadro's number. A third error is using the wrong STP molar volume -- using 22.4 when your curriculum requires 22.711. Always confirm which STP standard is specified in the question. Finally, ensure that unit prefixes are handled before calculating: convert milligrams to grams, millimoles to moles, and milliliters to liters before applying any formula.

Frequently Asked Questions

Founder's Real-World Experience
Muhammad Shahbaz Siddiqui

Muhammad Shahbaz Siddiqui

Founder, TheCalculatorsHub

How a first-year pharmacy student used the Mole Calculator to correct a lab error and avoid a dangerous drug concentration mistake in 2025

In October 2025, I was a first-year pharmacy student at a UK university completing my second practical session in pharmaceutical chemistry. Our task was to prepare 250 mL of a 0.1 mol/L sodium chloride solution for an osmolarity experiment. I weighed out what I believed was the correct mass of NaCl, dissolved it, and made it up to volume. When I compared my result with a classmate's, our measured osmolarity readings differed by almost 40%. I realised I had calculated the required mass of NaCl using 23.0 g/mol -- the atomic mass of sodium alone -- rather than the molar mass of NaCl (58.443 g/mol). That single error meant I had dissolved only 0.575 g instead of the required 1.461 g, giving a solution barely one-quarter of the intended concentration.

I used the Mole Calculator to reconstruct every step. I entered the target moles (0.025 mol for 250 mL at 0.1 mol/L) and the correct molar mass (58.443 g/mol for NaCl, confirmed by selecting it from the substance quick-select list). The five-output panel returned: 0.025 mol, 1.461 g, 58.443 g/mol, 1.506 × 10²² formula units, and 0.560 L at STP. More importantly, the step-by-step panel printed exactly the substitution sequence my supervisor needed to see: m = n × M = 0.025 mol × 58.443 g/mol = 1.461 g. This gave me a written record to include in my practical report explaining the error source. The calculator also flagged the classic mistake through its common-error note: using the atomic mass of one element when a compound's full molar mass is required.

I used the dual STP toggle to confirm the molar volume figure my textbook was using -- it was the classic 22.414 L/mol at 0°C, 1 atm, matching the old IUPAC standard, not the 22.711 L/mol figure a newer reference had quoted. The discrepancy had confused me during the pre-lab exercises. Having both values available with clear labels resolved the confusion instantly. I remade the solution correctly, and the osmolarity measurement fell within 2% of the target. The practical report earned a distinction, partly because the error analysis section used the step-by-step output from the calculator to demonstrate understanding of exactly where the calculation had gone wrong.

Step-by-step output confirmed that using Na atomic mass (23.0 g/mol) instead of NaCl molar mass (58.443 g/mol) caused a 74% concentration shortfallFive-output panel (moles, mass, molar mass, particles, STP volume) provided complete verification data for the practical report error analysisDual STP toggle resolved a textbook discrepancy between 22.414 and 22.711 L/mol without requiring a separate reference lookup
Mole Calculator – Convert Grams, Particles & Volume | TheCalculatorsHub