Percentage composition and formula determination