The formula to calculate operating profit margin is: Operating Profit Margin = (Operating Income / Revenue) x 100 For example, if a company has an operating income of $200,000 and revenue of $1,000,000, the operating profit margin would be: (200,000 / 1,000,000) x 100 = 20%