What Is Gross Margin and How Is It Calculated for a SaaS or Product Business?
Gross margin is the portion of revenue that remains after you subtract cost of goods sold (COGS), shown as a dollar amount or percentage. It indicates how much revenue is available to cover operating expenses and profit.
For SaaS offerings, COGS typically includes hosting, third-party licenses, customer support, and payment fees, while product businesses include manufacturing, materials, and shipping. HubSpot Sales Hub reporting can help associate deal revenue with estimated fulfillment costs so teams can monitor margins by product or subscription.
For example, a $1,000 contract that costs $300 to deliver yields a $700 gross margin, or 70%. Compare margins across products or plans to inform pricing decisions, resource allocation, and profitability forecasts.
How Does Gross Margin Affect Customer Acquisition Cost, Customer Lifetime Value, and Pricing Strategy?
The gross margin influences how much you can invest in acquiring customers and still reach profitability. It sets the upper bound for sustainable customer acquisition cost (CAC) and affects the length of time needed to recoup acquisition expenses.
Higher gross margins allow for larger acquisition budgets and more flexibility in pricing tiers, while thin margins force stricter CAC limits and tighter product positioning. Teams often use margin benchmarks to decide whether to subsidize acquisition or raise prices to protect long-term value.
Use HubSpot Sales Hub reporting and deal-level analytics to link revenue, fulfillment costs, and customer lifecycles so you can calculate realistic CAC and customer lifetime value (CLV) thresholds. Those insights help pricing teams set plans that balance competitiveness with sufficient margin to fund operations.
What Costs Should Be Included When Calculating Gross Margin for Services Versus Product Sales?
For services, include direct labor, contractor and subcontractor fees, onboarding and support time, and any third-party software or tools that are required to deliver the service.
For product sales, include raw materials, manufacturing or purchase cost, packaging, shipping, and expected warranty or return expenses. Allocate per-unit variable costs and include production overhead that rises with volume so per-sale margins reflect true fulfillment cost.
Use HubSpot Sales Hub reporting and deal analytics to connect revenue lines with estimated fulfillment expenses, making it easier to compare margins by SKU, service package, or subscription plan and inform pricing decisions.
Which Is More Relevant for Pricing Decisions: Gross Margin Percentage or Gross Profit Per Unit?
Both metrics are valuable, but their relevance depends on the decision you need to make. Gross margin percentage shows the portion of revenue left after cost of goods sold and makes it easy to compare profitability across products, plans, or business models.
Gross profit per unit gives the absolute contribution of each sale and is especially useful when you price by SKU, set minimum order levels, or design bundles and discounts. Use per-unit profit to determine whether lower-margin items still generate enough cash to cover fixed costs and support pricing tiers.
Combine both perspectives in your reporting: HubSpot Sales Hub deal analytics can surface margin percentages by product line, while HubSpot CRM reporting can link per-unit profit to customer segments and lifecycle stages to inform tactical pricing choices.
How Can HubSpot's Reporting and Deal Properties Be Configured to Track Gross Margin by Product or Deal Type?
Start by deciding which cost elements count toward COGS for each product or service, for example direct labor, third-party fees, shipping, or hosting. Document a consistent method for allocating shared costs so reported margins are comparable across deals and product lines.
Create custom deal properties for cost, estimated COGS, and gross margin and capture SKU-level data using line items. Use HubSpot CRM custom properties to store cost inputs and HubSpot Sales Hub reporting to create calculated fields, segmented reports, and dashboards that show margin by product, plan, or deal type.
Segment reports by deal type and product category to spot low-margin areas and test pricing or fulfillment changes. Reconcile HubSpot figures with accounting records, and build validation rules or workflows to ensure cost values stay current and account for discounts, returns, and bundled pricing.
What Is a Marketing Manager's Guide to Using Gross Margin Data to Optimize Campaign ROI?
A marketing manager can use gross margin data to see which campaigns produce profitable revenue after direct costs. This measure helps shift focus from top-line performance to the actual contribution each campaign makes to operating income.
Calculate campaign-level gross margin by attributing revenue and direct fulfillment costs to channels and creatives. Use HubSpot Marketing Hub campaign reporting and attribution tools to connect spend, conversions, and estimated COGS so you can compare true profitability across channels and tactics.
Translate those insights into action by setting margin thresholds for acceptable customer acquisition cost, running small tests to validate assumptions, and prioritizing offers or segments that yield higher per-sale contribution. Reconcile marketing figures with accounting for returns, discounts, and lifetime value to keep decisions grounded in financial reality.