#### Molar Mass, Molecular Weight and Elemental Composition Calculator

Molar mass of C4H8MgN2O4 (Magnesium glycinate) is 172.4223 g/mol

Convert between C4H8MgN2O4 weight and moles
CompoundMolesWeight, g
C4H8MgN2O4

Elemental composition of C4H8MgN2O4
ElementSymbolAtomic weightAtomsMass percent
CarbonC12.0107427.8634
HydrogenH1.0079484.6766
MagnesiumMg24.3050114.0962
NitrogenN14.0067216.2470
OxygenO15.9994437.1168

Computing molar mass step by step

First, compute the number of each atom in C4H8MgN2O4:
C: 4, H: 8, Mg: 1, N: 2, O: 4

Then, lookup atomic weights for each element in periodic table:
C: 12.0107, H: 1.00794, Mg: 24.305, N: 14.0067, O: 15.9994

Now, compute the sum of products of number of atoms to the atomic weight:
Molar mass (C4H8MgN2O4) = ∑ Counti * Weighti =
Count(C) * Weight(C) + Count(H) * Weight(H) + Count(Mg) * Weight(Mg) + Count(N) * Weight(N) + Count(O) * Weight(O) =
4 * 12.0107 + 8 * 1.00794 + 1 * 24.305 + 2 * 14.0067 + 4 * 15.9994 =
172.4223 g/mol

Mass percent compositionAtomic percent composition

Formula in Hill system is C4H8MgN2O4

### Computing molar mass (molar weight)

To calculate molar mass of a chemical compound enter its formula and click 'Compute'. In chemical formula you may use:
• Any chemical element. Capitalize the first letter in chemical symbol and use lower case for the remaining letters: Ca, Fe, Mg, Mn, S, O, H, C, N, Na, K, Cl, Al.
• Functional groups: D, Ph, Me, Et, Bu, AcAc, For, Ts, Tos, Bz, TMS, tBu, Bzl, Bn, Dmg
• parantesis () or brackets [].
• Common compound names.
Examples of molar mass computations: NaCl, Ca(OH)2, K4[Fe(CN)6], CuSO4*5H2O, water, nitric acid, potassium permanganate, ethanol, fructose, caffeine.

Molar mass calculator also displays common compound name, Hill formula, elemental composition, mass percent composition, atomic percent compositions and allows to convert from weight to number of moles and vice versa.

### Computing molecular weight (molecular mass)

To calculate molecular weight of a chemical compound enter it's formula, specify its isotope mass number after each element in square brackets.
Examples of molecular weight computations: C[14]O[16]2, S[34]O[16]2.

### Definitions of molecular mass, molecular weight, molar mass and molar weight

• Molecular mass (molecular weight) is the mass of one molecule of a substance and is expressed in the unified atomic mass units (u). (1 u is equal to 1/12 the mass of one atom of carbon-12)
• Molar mass (molar weight) is the mass of one mole of a substance and is expressed in g/mol.
Weights of atoms and isotopes are from NIST article.

Related: Molecular weights of amino acids
molecular weights calculated today
Please let us know how we can improve this web app.