The formula for calculating net profit margin ... x 100 = 10% Net profit margin and gross profit margin both measure profitability but focus on different aspects of a company's finances.