concentration calculations