Relative molecular mass is an important characteristic of molecular chemical compounds. It is defined as the ratio of the mass of a molecule to the unified atomic mass unit. Its units are defined as \(\frac{1}{12}\)th the mass of a 12C atom.
Calculating the molecular mass of a molecule from its molecular formula is a routine, but mundane task suitable for automation.
CHNOPS
C - carbon, H - hydrogen, N - nitrogen, O - oxygen, P - phosphorus, S - sulfur
Combinations of these six chemical elements make up most biological molecules (and a significant subset of organic molecules too). For the sake of simplicity, the initial version of the molecular mass calculator is limited to these elements.