How the margins are calculated
Gross profit is revenue minus direct costs. Net profit also subtracts operating and other expenses. Each margin divides its profit figure by revenue.
Example: $100,000 revenue less $35,000 direct, $40,000 operating and $5,000 other costs produces 65% gross margin and 20% net margin.