Gross profit margin is calculated by dividing the total sales value, after deducting the cost of sales, by the total sales value, and is expressed as a percentage. For example, if a company’s sales are SAR 100,000 and its cost of sales is SAR 75,000, its gross profit margin is 25% (calculated as (100,000 – 75,000) / 100,000).