Cost of Goods Sold
Cost of goods sold (COGS) is the direct cost of producing the products a company sells.
COGS covers materials, manufacturing labor, and any shipping or packaging directly tied to production. Accounting for the cost of goods sold helps teams calculate gross margin, set pricing, and forecast profitability.
See how HubSpot Sales Hub can help teams stay profitable
Sales teams can use deal records in HubSpot Sales Hub with cost of goods sold to understand profitability
What Is the Cost of Goods Sold and How Is It Calculated for a Product-Based Business?
Cost of goods sold measures the direct costs required to produce the products a business sells. These expenses include raw materials, manufacturing labor, and shipping. COGS guides pricing, profitability analysis, and inventory decisions.
The basic formula is beginning inventory plus purchased inventory minus ending inventory, adjusted for returns and write-offs when applicable. Teams reconcile that calculation with sales and customer data in HubSpot CRM reporting. That comparison allows finance and operations to validate margins and spot mismatches between sales and inventory costs.
Tracking COGS by product, batch, or channel reveals cost drivers, like supplier price changes or production inefficiencies. That insight lets product and finance teams prioritize cost reductions, set realistic margin targets, and make strategic sourcing and pricing choices.
Resources:
How Does the Cost of Goods Sold Relate to Gross Margin and Pricing Strategy for Subscription Versus Physical Products?
Gross margin is revenue minus cost of goods sold divided by revenue, expressed as a percentage. This metric shows how much revenue remains to cover operating expenses and profit. The gross margin sets the pricing floor for both subscription and physical products.
Subscription businesses often amortize onboarding and fulfillment costs across recurring periods, which can lower per-period COGS as customer lifetime value grows. This distinction for subscriptions should account for upfront acquisition and onboarding expenses, while aiming to recoup those costs over time.
Physical products have different per-unit costs. COGS includes materials, manufacturing labor, and shipping, so per-unit pricing and inventory controls directly affect gross margin. Teams can reconcile those figures with sales data using HubSpot CRM reporting and HubSpot Data Hub's sync. This integration helps finance and product teams spot margin erosion quickly. Strategists can then set pricing strategies that reflect actual cost structures and customer value.
Resources:
Which Costs Should Be Included in the Cost of Goods Sold for Dropshipping, Bundled Products, and Services?
Included costs are the direct expenses required to deliver the sold item or service, such as supplier charges, packaging, shipping fees, and labor directly tied to fulfillment. Including the right costs produces accurate gross margins and prevents pricing decisions that could erode profitability.
Dropshipping costs typically include supplier invoices, per-order shipping fees, and any marketplace or transaction charges that vary with each sale. Meanwhile, bundled products require allocating component costs, shared packaging, and warranty expenses across items. Services generally include billable labor, subcontractor fees, and third-party platform costs that are directly attributable to the engagement. Getting those allocations right clarifies which offerings are profitable and supports sensible pricing.
Teams should choose a consistent allocation method, such as per-unit, weighted average, or activity-based costing. Teams can compare those allocations with HubSpot CRM reporting and HubSpot Data Hub to real deals. They can then understand how inventory and finance records align, catching discrepancies quickly. That alignment reduces margin surprises and improves forecasting and supplier negotiation outcomes.
What Are the Pros and Cons of Using First-In, First-Out Versus Weighted Average for Inventory Valuation in Cost of Goods Sold?
First-in, first-out (FIFO) assigns the cost of the earliest purchased or produced inventory to the cost of goods sold. Conversely, weighted average spreads the total inventory cost across all units sold. A team's chosen method alters reported gross margin and tax timing. This ultimately influences pricing decisions and financial comparisons.
First-in, first-out often produces a lower reported cost of goods sold and a higher gross margin during periods of rising prices. As a result, FIFO can make short-term profitability look stronger. That apparent improvement may create larger tax obligations and cash demands. Companies should consider cash flow and reporting objectives when selecting a method.
Finance teams can use HubSpot CRM reporting to compare FIFO and weighted average outcomes by SKU and sales channel. From there, accountants can reconcile revenue with inventory costs across systems. Consistent application improves trend analysis and stakeholder transparency, while inconsistent use or method changes can complicate audits.
Resources:
How Can HubSpot's Product Library and Deals Be Used to Track and Report Cost of Goods Sold?
Teams can use tags in HubSpot's product library and deals to capture the unit cost, quantity, and sale details. That information is the basis of the cost of goods sold for each transaction. HubSpot's visibility lets finance and commercial teams reconcile revenue with direct costs and produce reliable gross margin figures.
In practice, teams populate product records with cost, SKU, and standard price. Sales teams can also add products as line items on deals, noting quantities and discounts to calculate the per-sale cost of goods sold. HubSpot Sales Hub deals and HubSpot CRM product records store those line items and cost fields. Reporting can show the cost of goods sold by product, sales rep, and time period, which speeds reconciliation and supports pricing decisions.
Use custom deal properties and calculated fields to roll up line item costs and create recurring reports that track margin trends over time. That approach reduces month-end surprises and gives leaders timely data to adjust sourcing, pricing, or sales incentives.
What Is a Finance Manager's Checklist for Reconciling Cost of Goods Sold With CRM Revenue Data?
A finance manager's reconciliation checklist focuses on aligning CRM revenue transactions with cost of goods sold entries. Finance managers match deals to invoices, confirming quantities, checking unit costs, and accounting for discounts and returns. This alignment ensures gross margin figures are accurate and prevents misstatements that could distort pricing and profitability decisions.
Practical steps include exporting deal line items, comparing unit costs to product records, and verifying inventory adjustments and write-offs in accounting systems. Teams use HubSpot CRM reporting to extract deal-level revenue and HubSpot Data Hub's sync to bring inventory updates into the same reporting view. A comprehensive view reduces manual reconciliation time and highlights where records diverge.
HubSpot users can implement variance thresholds, maintain an auditable trail for manual adjustments, and schedule monthly reconciliations. Doing so improves forecasting accuracy and limits unexpected margin surprises. Finance leaders can also find timely evidence to renegotiate supplier terms or update pricing when needed.
Key Takeaways: Cost of Goods Sold
Cost of goods sold determines the real profitability of products and services. Beyond that, COGS affects pricing, cash flow, and investor reporting. When teams measure COGS accurately, they can set margins that reflect true cost drivers, prioritize supplier and process changes, and avoid margin erosion that harms cash runway. By centralizing product cost and transaction data in HubSpot CRM reporting, finance and commercial teams can reconcile revenue to costs faster and make data-driven pricing choices.
Frequently Asked Questions About Cost of Goods Sold
When is it appropriate for a business to switch inventory valuation methods from FIFO to weighted average, and how will that change affect the reported cost of goods sold and tax liabilities?
Why should ecommerce and dropshipping businesses centralize supplier, shipping, and returns data when calculating the cost of goods sold?
What operational metrics should finance managers reconcile between CRM deal data and cost of goods sold to prevent margin erosion?
Who should own the ongoing calculation and reporting of the cost of goods sold in a scaling business: finance, product, or operations?
Related Business Terms and Concepts
Gross Margin
Understanding gross margin is essential for implementing the cost of goods sold. Gross margins quantify profitability at the SKU level and highlight margin variance. Finance and product teams can use gross margin analysis to set pricing bands, prioritize cost reduction opportunities, and feed product-level metrics into HubSpot CRM reporting for faster decision-making.
Revenue Management
Revenue management directly impacts the cost of goods sold by aligning pricing and promotion strategies to protect margins across channels. Operational teams should integrate revenue management rules with inventory models and HubSpot Sales Hub deal properties. This ensures discounts and bundle pricing reconcile with recorded costs.
Accrued Revenue
Accrued revenue affects how and when cost of goods sold is recognized, particularly for contracts with partial delivery or subscription billing. Accounting and operations should reconcile accrued revenue schedules with cost recognition rules. Teams can use HubSpot CRM reporting to surface timing mismatches that affect gross margin reporting.
Sales Forecasting
Sales forecasting informs purchase planning and cost assumptions that determine the projected cost of goods sold and inventory levels. Cross-functional teams should feed sales forecasts into procurement models and HubSpot CRM dashboards to reduce stockouts, cut excess carrying costs, and improve margin predictability.
Sales Growth
Sales growth changes can materially alter the cost of goods sold per unit as volumes scale. Finance leaders should model scaling scenarios. Teams can use HubSpot Sales Hub and HubSpot CRM reports to plan capacity investments and preserve target margins.
Retention Rate
Retention rate influences long-term unit demand and after-sales cost assumptions that feed into COGS forecasts. Product and finance teams should use retention analysis in HubSpot CRM to project repeat-order volumes, refine per-customer cost allocations, and prioritize investments.