Calculate net profit
(
)