To calculate mass and make an elemental analysis of proper chemical formula simply use chem-calc. Just enter a formula in the box, click the Calculate button or press enter key. See the results.