Grams to Moles Calculator
Calculate grams moles with our free science calculator. Uses standard scientific formulas with unit conversions and explanations.
Calculator
Adjust values & calculateFormula
Moles equal mass divided by molar mass. To reverse, mass equals moles times molar mass. The molar mass is the sum of atomic masses of all atoms in the chemical formula, found on the periodic table.
Last reviewed: December 2025
Worked Examples
Example 1: Grams of NaCl to Moles
Example 2: Moles of Glucose to Grams
Background & Theory
The Grams to Moles Calculator applies the following established principles and formulas. Chemistry is the science of matter's composition, structure, properties, and transformations. At the heart of quantitative chemistry lies the mole concept. One mole of any substance contains exactly 6.022ร10ยฒยณ entities (Avogadro's number, Nโ), and the molar mass of an element or compound in grams per mole is numerically equal to its atomic or molecular mass in atomic mass units. This allows chemists to convert between measurable mass and the number of reacting particles. Stoichiometry uses balanced chemical equations to relate the amounts of reactants and products. A balanced equation conserves both mass and charge. Molarity, the most common concentration unit, is defined as M = n/V, where n is moles of solute and V is volume of solution in liters, giving units of mol/L. Acidity and basicity are quantified by the pH scale, defined as pH = โlogโโ[Hโบ], where [Hโบ] is the molar concentration of hydrogen ions. Pure water at 25ยฐC has pH 7.00; acids have lower values and bases higher values. Each unit change represents a tenfold change in hydrogen ion concentration. Gas behavior is described by the ideal gas law PV = nRT, where P is pressure in pascals, V is volume in cubic meters, n is moles, R = 8.314 J/(molยทK), and T is temperature in kelvin. Special cases include Boyle's Law (PโVโ = PโVโ at constant temperature) and Charles's Law (Vโ/Tโ = Vโ/Tโ at constant pressure). Thermochemistry quantifies heat changes in reactions through enthalpy, H. Hess's Law states that the total enthalpy change for a reaction is the sum of enthalpy changes for any sequence of steps leading to the same overall reaction, making it possible to calculate enthalpies for reactions that cannot be measured directly. Electron configuration describes the distribution of electrons in atomic orbitals according to the Aufbau principle, Pauli exclusion principle, and Hund's rule. Periodic trends including atomic radius, ionization energy, and electronegativity arise systematically from electron configuration and nuclear charge, enabling chemists to predict and rationalize chemical behavior across the periodic table.
History
The history behind the Grams to Moles Calculator traces back through the following developments. Chemistry's roots lie in alchemy, the medieval practice combining proto-scientific experimentation with mystical aims. Alchemists developed practical techniques including distillation, calcination, and the preparation of acids, building a body of empirical knowledge despite their theoretical misunderstandings. Modern chemistry is conventionally dated to Antoine Lavoisier (1743โ1794), often called the father of modern chemistry. Lavoisier demonstrated the law of conservation of mass in 1789, showing that matter is neither created nor destroyed in chemical reactions. He identified oxygen's role in combustion, dismantling the phlogiston theory, and co-authored the first systematic chemical nomenclature, establishing the language still used today. John Dalton proposed the first modern atomic theory in 1803, asserting that all matter is composed of indivisible atoms, that atoms of the same element are identical in mass, and that compounds form from fixed ratios of different atoms. This provided a physical basis for Lavoisier's conservation law and Proust's law of definite proportions. Dmitri Mendeleev published his periodic table in 1869, arranging the 63 known elements by atomic mass and revealing repeating patterns of chemical behavior. He boldly left gaps for undiscovered elements and predicted their properties with remarkable accuracy, predictions confirmed by the subsequent discovery of gallium, scandium, and germanium. Ernest Rutherford's gold foil experiment in 1911 revealed the nuclear model of the atom: a tiny, dense, positively charged nucleus surrounded by electrons. Niels Bohr refined this in 1913 with a quantized model of electron orbits that explained the hydrogen emission spectrum. Quantum chemistry and molecular orbital theory, developed through the 1920s and 1930s, provided the full quantum mechanical description of chemical bonding. The latter 20th century saw the rise of computational chemistry, enabling molecular simulation at unprecedented scale. The green chemistry movement, articulated in the 12 Principles of Green Chemistry in 1998, reoriented the field toward sustainability, waste reduction, and benign chemical design, reflecting chemistry's growing awareness of its environmental responsibilities.
Frequently Asked Questions
Sources & References
Formula
n = m / M (moles = grams / molar mass)
Moles equal mass divided by molar mass. To reverse, mass equals moles times molar mass. The molar mass is the sum of atomic masses of all atoms in the chemical formula, found on the periodic table.
Frequently Asked Questions
How do you convert grams to moles?
To convert grams to moles, divide the mass in grams by the molar mass (molecular weight) in grams per mole: moles = grams / molar mass. The molar mass is found by adding up the atomic masses of all atoms in the chemical formula from the periodic table. For example, water (H2O) has a molar mass of 2(1.008) + 16.00 = 18.015 g/mol, so 36 grams of water is 36/18.015 = 2.0 moles. This conversion is the foundation of all stoichiometric calculations in chemistry.
What is the relationship between moles, mass, and particles?
These three quantities are connected through molar mass and Avogadro's number. Mass and moles are related by: n = m/M. Moles and particles are related by: N = n * NA (6.022e23). Therefore particles and mass are related by: N = (m/M) * NA. One mole of any substance always contains 6.022e23 particles but has different masses depending on the molar mass. One mole of hydrogen gas (2 g) and one mole of lead (207 g) both contain the same number of atoms but differ greatly in mass.
How do I verify Grams to Moles Calculator's result independently?
The Formula section on this page shows the equation used. You can reproduce the calculation manually or in a spreadsheet using those steps. Compare your answer against the worked examples in the Examples section, which use known reference values so you can confirm the calculator is behaving as expected.
What inputs do I need to use Grams to Moles Calculator accurately?
Each field is labelled with the required unit (metric or imperial). Gather your source values before starting โ for example, a weight measurement in kilograms, a distance in metres, or a dollar amount โ and enter them exactly as measured. The formula section on this page lists every variable and explains what each represents.
Can I use Grams to Moles Calculator on a mobile device?
Yes. All calculators on NovaCalculator are fully responsive and work on smartphones, tablets, and desktops. The layout adapts automatically to your screen size.
How do I interpret the result?
Results are displayed with a label and unit to help you understand the output. Many calculators include a short explanation or classification below the result (for example, a BMI category or risk level). Refer to the worked examples section on this page for real-world context.
References
Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy