Bean cost per cup is price per gram times dose, divided by cups. It is a starting estimate, not an exact accounting of overhead.

Coffee cost per cup is a starting estimate: bean price per gram times dose, divided by cups. Water and energy are tiny for home brewing and omitted unless you add them.