Calculates profit of a pen