Compute commission amount