Compute profit margin ratio