Skip to main content
Fundamentos Contables

¿Qué Es Costo de Bienes Vendidos (COGS)

Los costos directos atribuibles a la producción de bienes o la prestación de servicios vendidos.

Explicación Detallada

El COGS incluye materiales, mano de obra directa y gastos generales de fabricación. Restar el COGS de los ingresos produce la ganancia bruta.

Ejemplo

El COGS de una imprenta incluye papel, tinta y salarios del operador de prensa facturados en cada orden de producción.

Por Qué Es Importante

El seguimiento preciso del COGS es esencial para la fijación de precios, el análisis de márgenes y la declaración fiscal.

Datos clave

  • Cost of Goods Sold (COGS) is the direct costs attributable to producing goods or services sold by a business — including materials, direct labor, and direct overhead.
  • Formula: COGS = Beginning Inventory + Purchases − Ending Inventory (for product businesses). Service businesses often use 'Cost of Revenue' instead with similar logic for direct service-delivery costs.
  • Gross profit = Revenue − COGS. Gross margin = Gross profit ÷ Revenue. These are foundational profitability metrics.
  • What's IN COGS: raw materials, direct labor, factory overhead, freight-in, manufacturing supplies. What's OUT: marketing, sales, admin, R&D (these are operating expenses below the gross profit line).
  • Industry benchmarks: SaaS gross margins 70-85%, professional services 55-75%, manufacturing 25-45%, retail 25-50%, restaurants 30-40%.

Cómo se aplica en la práctica

A specialty coffee roaster sells $480,000 of coffee in 2026. Their COGS includes: green coffee beans purchased ($142,000), packaging materials ($28,000), roasting labor (1.2 FTEs allocated, $58,000), roastery utilities and rent allocation ($24,000), freight-in ($8,000). Total COGS = $260,000. Gross profit = $480K − $260K = $220K. Gross margin = 46%. They use this metric to evaluate whether their pricing supports business sustainability against the 35-50% industry benchmark.

Errores comunes

  • Including marketing or admin costs in COGS — overstates COGS, understates operating expenses, distorts both gross margin and operating margin.
  • Excluding direct labor from COGS — common mistake among service businesses, makes gross margin meaningless.
  • Using inconsistent inventory valuation methods (FIFO vs. LIFO vs. weighted average) across periods — distorts COGS comparability.
  • Not properly allocating overhead — manufacturing overhead (utilities, depreciation) belongs in COGS but is often left in operating expenses.
  • Failing to update COGS for inventory write-downs (obsolete, damaged, expired stock) — overstates inventory and understates current-period COGS.

Preguntas frecuentes

What's the difference between COGS and operating expenses?

COGS is direct costs of producing/delivering what you sold (materials, direct labor, factory overhead). Operating expenses are everything else (marketing, sales, admin, R&D, executive comp). COGS sits above the gross profit line; operating expenses below.

Do service businesses have COGS?

Often called 'Cost of Revenue' or 'Cost of Services' rather than COGS, but yes. Includes direct labor (consultant/developer time on billable work), client-specific software/tools, and travel/expenses passed through. Excludes overhead like office rent and admin labor.

How is COGS calculated for SaaS?

SaaS COGS typically includes: hosting/infrastructure costs (AWS, etc.), customer support labor for that revenue, payment processing fees, third-party data costs, and direct platform-delivery costs. Excludes sales, marketing, R&D — those are operating expenses. Healthy SaaS gross margin: 70-85%.

What inventory valuation method should I use?

Three main methods: FIFO (first-in-first-out, common in food/perishable businesses), LIFO (last-in-first-out, allowed in U.S. but not IFRS, common in commodities), Weighted Average (averages all inventory cost). Choose based on industry norms and tax considerations; consult a CPA.

Why does COGS matter so much?

Three reasons: (1) Gross margin determines unit economics and ability to scale, (2) Tax: COGS is the largest single deduction for product businesses, (3) Operations: tracking COGS by product/service identifies which offerings are profitable vs. dilutive.

Recursos Relacionados

Última verificación: May 2026

Términos Relacionados en

Consejos de facturación que realmente ayudan

Únete a más de 5,000 freelancers y propietarios de pequeñas empresas. Un correo por semana con consejos prácticos de facturación, tips fiscales y novedades del producto.

Sin spam, nunca. Cancela cuando quieras.

Costo de Bienes Vendidos (COGS)