For instance, say you pay $8,000 for goods and sell them for $10,000. Your gross profit is $2,000. Divide this figure by the total revenue to get your gross profit margin: 0.2. Multiply this figure by 100 to get your gross profit margin percentage: 20 percent.