Calculate net profit ()