What is Cost of Goods Sold (COGS)?
The direct costs of producing the goods sold by a business — materials, labor, and direct overhead.
Definition
Cost of Goods Sold (COGS) is the total direct cost incurred to produce or acquire the goods that a business sells during a specific period. This includes the cost of raw materials, direct labor costs (workers who physically make the product), and manufacturing overhead directly tied to production. COGS is subtracted from revenue to calculate gross profit: Revenue − COGS = Gross Profit.
COGS for Product Businesses
For a manufacturing or retail business, COGS includes: the cost of raw materials and components, direct labor (wages of workers who assemble or manufacture the product), freight and shipping to bring materials in, import duties and tariffs on components, and factory overhead allocated to each unit produced. For example, a furniture maker's COGS includes wood, hardware, finishing materials, and the wages of the craftspeople building each piece.
COGS for Freelancers and Service Businesses
Service-based freelancers generally have very little or no COGS because they are selling time, expertise, and creative labor rather than physical goods. However, certain freelancers do have meaningful COGS: a freelance photographer who sells prints has printing and framing costs as COGS; a digital product creator selling templates or fonts has platform transaction fees as COGS; a custom merchandise seller has production and shipping costs as COGS. Most traditional freelance services — writing, design, consulting, development — have COGS close to zero.
Why COGS Matters
COGS is a critical component of calculating gross margin — the percentage of revenue that exceeds the direct cost of production. A business with 70% gross margin retains 70 cents of every dollar of revenue after covering direct costs, which must then cover operating expenses and generate profit. Understanding COGS helps freelancers who sell products price competitively: if your COGS is too high relative to your selling price, you may be losing money on each sale without realizing it.
Calculating and Recording COGS
COGS = Beginning Inventory + Purchases During Period − Ending Inventory. For freelancers with simple product businesses, this can be calculated at year-end. The journal entry to record COGS reduces inventory (an asset) and records the expense. Accurate COGS calculation requires maintaining records of beginning and ending inventory values and all direct costs incurred during the period. Eonebill and accounting software can help track these costs if you sell products alongside your freelance services.