The operating profit margin is calculated by dividing the operating profit by the total revenue and multiplying by 100. This provides a percentage that indicates how much of each dollar of revenue is left after deducting operating expenses.