How to calculate
Convert each mass to moles using standard atomic weights, divide by the smallest value, and test small integer multipliers.
Worked example
Use One element symbol and mass per line C, 24.022 / H, 4.032 / O, 31.998. The result is CH2O.
Input and result notes
Use a common mass unit or mass percentages. Very noisy data or ambiguous ratios can require laboratory interpretation.