Percentage of elements (by mass)

Formula: (The charges must be written f.i.: ++ and not 2+)