Concentration and ratio calculation