Required Datapoints
- -
Profit Margin measures the percentage of revenue that remains as profit after accounting for expenses. It indicates how effectively a company manages costs to generate earnings from its sales.
Profit Margin is a fundamental indicator of financial sustainability and cost efficiency, reflecting how effectively a business converts revenue into profit after accounting for different layers of cost (gross, operating, or net).
The relevance and interpretation of this metric shift depending on the model or product:
A higher margin signals pricing power, cost control, and strong economics. A lower margin may suggest rising expenses, discounting, or under-optimized ops.
By segmenting by cohort — such as product line, geography, acquisition channel, or customer type — you unlock insights to optimize pricing, reduce COGS, and drive profitable growth.
Profit Margin informs:
These are the main factors that directly impact the metric. Understanding these lets you know what levers you can pull to improve the outcome
Actionable ideas to optimize this KPI, from fast, low-effort wins to strategic initiatives that drive measurable impact.
Activities commonly tied to improving or operationalizing this KPI.
| Activity | Description |
|---|---|
| Revenue Management | Revenue Management is a strategic process focused on maximizing an organization’s income by aligning pricing, packaging, customer segmentation, and sales or channel tactics with market demand, competitive positioning, and overarching business objectives. It makes the motion operational through ownership, routines, and cross-functional follow-through. Relevant KPIs include Cost to Serve and Customer Lifetime Value. |
| Pricing Strategy | Pricing Strategy is an iterative process focused on defining, testing, and optimizing how a product or service is priced, packaged, and positioned to maximize customer adoption, revenue, and market competitiveness. It gives teams a clear plan for where to focus, how to sequence work, and what to measure. Relevant KPIs include Average Contract Value and Average Revenue Per Expansion Account. |
| Cost Control | Cost Control is a strategic activity aimed at maximizing business profitability by continuously monitoring, analyzing, and managing costs in alignment with opportunities to increase revenue. It helps teams translate strategy into repeatable execution. Relevant KPIs include Profit Margin. |
| Operational Efficiency | Operational Efficiency focuses on streamlining and integrating processes, technology, and data across sales, marketing, and customer success teams to drive consistent growth and enhance overall go-to-market effectiveness. It makes the motion operational through ownership, routines, and cross-functional follow-through. Relevant KPIs include Profit Margin and Return on Investment. |
A SaaS company generates $1,000,000 in revenue with $600,000 in operating expenses and $200,000 in net profit:
This KPI is associated with the following stages in the AAARRR (Pirate Metrics) funnel:
This KPI is classified as a lagging Indicator. It reflects the results of past actions or behaviors and is used to validate performance or assess the impact of previous strategies.
This role is directly accountable for the KPI and is expected to drive progress and decisions around it.
These roles contribute directly to performance and typically partner on execution, reporting, or optimization.
These leading indicators influence this KPI and act as early signals that forecast future changes in this KPI.
These lagging indicators confirm, quantify, or amplify this KPI and help explain the broader business impact on this KPI after the fact.
How this KPI is structured in Cube.js, including its key measures, dimensions, and calculation logic for consistent reporting.
cube('Revenue', { sql: `SELECT * FROM revenue`, measures: { totalRevenue: { sql: `amount`, type: 'sum', title: 'Total Revenue', description: 'Total revenue from sales.' } }, dimensions: { id: { sql: `id`, type: 'number', primaryKey: true }, createdAt: { sql: `created_at`, type: 'time', title: 'Created At', description: 'The time when the revenue was recorded.' } }})cube('Expenses', { sql: `SELECT * FROM expenses`, measures: { totalExpenses: { sql: `amount`, type: 'sum', title: 'Total Expenses', description: 'Total expenses incurred.' } }, dimensions: { id: { sql: `id`, type: 'number', primaryKey: true }, createdAt: { sql: `created_at`, type: 'time', title: 'Created At', description: 'The time when the expense was recorded.' } }})cube('ProfitMargin', { sql: `SELECT * FROM profit_margin`, joins: { Revenue: { relationship: 'belongsTo', sql: `${CUBE}.revenue_id = ${Revenue}.id` }, Expenses: { relationship: 'belongsTo', sql: `${CUBE}.expenses_id = ${Expenses}.id` } }, measures: { profitMargin: { sql: `(${Revenue.totalRevenue} - ${Expenses.totalExpenses}) / ${Revenue.totalRevenue} * 100`, type: 'number', title: 'Profit Margin', description: 'Percentage of revenue that remains as profit after accounting for expenses.' } }, dimensions: { id: { sql: `id`, type: 'number', primaryKey: true }, createdAt: { sql: `created_at`, type: 'time', title: 'Created At', description: 'The time when the profit margin was calculated.' } }})Note: This is a reference implementation and should be used as a starting point. You’ll need to adapt it to match your own data model and schema