COGS Percentage Calculator
Calculate COGS as a percentage of revenue
Enter revenue, total cost of goods sold, and number of units sold to calculate COGS percentage, gross margin, and per-unit cost.
What COGS percentage tells you about your business
Cost of goods sold (COGS) as a percentage of revenue is the foundational metric for understanding gross margin and product-level profitability. It answers a simple but essential question: for every dollar of revenue, how much was spent producing or acquiring the goods that generated it? If COGS is $48,000 and revenue is $120,000, the COGS percentage is 40 percent, and the gross margin is 60 percent. These two numbers are the starting point for assessing whether a business model is financially viable before operating expenses, taxes, and financing costs are considered.
COGS includes all direct costs that are specifically attributable to the production or acquisition of the goods sold. For a manufacturer, this includes raw materials, direct labour, and manufacturing overhead such as factory rent and utilities. For a retailer, COGS is primarily the wholesale or purchase cost of the goods resold. For a software company, COGS typically includes hosting costs, third-party software licences, and the cost of customer support and onboarding. Indirect costs such as general administrative expenses, sales and marketing, and research and development are not part of COGS; they appear below the gross margin line on the income statement as operating expenses.
Tracking COGS percentage over time is a critical operational indicator. A rising COGS percentage signals that the cost structure is deteriorating: raw material prices may be increasing, supplier terms may have worsened, manufacturing efficiency may be declining, or product mix may be shifting towards lower-margin items. A falling COGS percentage signals improving economics: better supplier negotiation, higher-margin products, greater production efficiency, or economies of scale. Businesses that monitor this metric monthly can detect margin compression early and investigate causes before the impact becomes severe.
COGS percentage benchmarks by industry
COGS percentages vary dramatically by industry, reflecting the different cost structures and economic models of each sector. Grocery and food retail typically have COGS percentages of 70 to 75 percent and correspondingly thin gross margins. General merchandise retail operates in the 55 to 65 percent range. Apparel retail is often 50 to 55 percent. Software and SaaS businesses typically have COGS percentages of 20 to 30 percent, reflecting the high gross margins possible when the incremental cost of serving additional customers is low. Professional services businesses often have COGS percentages of 30 to 50 percent, depending on how labour-intensive service delivery is. Comparing your COGS percentage to industry peers and benchmarks helps assess whether the business is operating at competitive efficiency or whether structural improvements are needed.
Per-unit COGS and pricing decisions
Per-unit COGS, calculated by dividing total COGS by units sold, is essential for product pricing analysis. If 3,000 units were sold and total COGS was $48,000, the per-unit cost is $16. If the selling price is $40 per unit, the gross margin per unit is $24, or 60 percent. This per-unit analysis becomes powerful when comparing the economics of different products, SKUs, or customer segments. A product with a $5 per-unit cost and a $15 selling price has a 67 percent gross margin; a product with a $15 per-unit cost and a $25 selling price has a 40 percent margin. Understanding which products drive gross margin expansion and which compress it is fundamental to product portfolio management and pricing strategy.
COGS and inventory accounting methods
For businesses that hold physical inventory, the method used to account for inventory costs affects the reported COGS figure. The three main methods are FIFO (first in, first out), LIFO (last in, first out), and weighted average cost. In a period of rising input costs, FIFO produces a lower COGS (older, cheaper inventory is counted as sold first) and a higher reported gross margin. LIFO produces a higher COGS and a lower gross margin in the same conditions. The weighted average method smooths costs across the period. Most businesses use FIFO because it better reflects the physical flow of goods and is required under IFRS. Understanding how your inventory accounting method affects your reported COGS percentage is important for interpreting trends and making valid comparisons across reporting periods.