cost per serving formula