The net profit margin is the percentage of profit a company earns from its total revenue after all expenses, taxes, and costs have been deducted. Gross profit, on the other hand, is the profit made after deducting only the cost of goods sold, not taking into account other operational expenses.