This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/6777/. Also, please do not modify any references to the original work (if any) contained in this content.
For chemistry you often need to convert moles to grams and grams to moles.
There is a simple relation between these two:
- mass of the substance in grams
- quantity of the substance in moles
- molar mass of the substance in grams/mole
And the most difficult task here is finding out the molar mass of the substance.
The molar mass is a physical property defined as the mass of a given substance (chemical element or chemical compound) divided by the amount of substance. The molar mass of atoms of an element is given by the standard relative atomic mass of the element multiplied by the molar mass constant, 1 × 10−3 kg/mol = 1 g/mol. The molar mass of a compound is given by the sum of the standard atomic weight (namely, the standard relative atomic mass) of the atoms which form the compound multiplied by the molar mass constant. Multiplying by the molar mass constant ensures that the calculation is dimensionally correct: standard relative atomic masses are dimensionless quantities (i.e., pure numbers) whereas molar masses have units (in this case, grams/mole).
Happily, we already have the Molar mass of the substance calculator, which calculates molar mass for given substance using Periodic table handbook. It is used in the calculator below to parse chemical compound formula and obtain molar mass.
The calculator below calculates mass of the substance in grams or quantity of the substance in moles depending on user's input. It also displays molar mass of the chemical compound and details of its calculation just for reference.
Note: Always use the upper case for the first character in the element name and the lower case for the second character as in periodic table. Compare: Co - cobalt and CO - carbon monoxide. Thus, Na3PO4 — correct notation, na3po4/NA3PO4 — incorrect notation.