> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beaconrevenue.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Margin intelligence

> Measure gross margin for each customer and group, against the floor in your growth plan.

Margin intelligence measures what each customer keeps from its revenue after the cost of revenue: hosting and software, onboarding, support and customer success. It shows gross margin for the company, each size group, segment, plan and customer-fit tier, and each customer. It compares gross margin with the floor your growth plan sets.

Beacon runs the module once a day, after Cost to serve. It belongs to the Finance module family. See [Modules](https://docs.beaconrevenue.io/modules/overview.md).

> [!NOTE]
>
> Gross margin, each cost of revenue and the check against your growth plan's floor are available, for every group and customer. Hosting and software come from an estimate you enter in Setup, so gross margin is labelled **entered**. Contribution margin, sales and marketing cost, retention, onboarding by customer, the score, the decisions, the plan and spending-limit check, the lock and alerts aren't available: they need acquisition cost, retention spend and the lock.

## The cost of revenue

Margin intelligence follows the order of a subscription company's P\&L. Each cost comes from the place that already holds it, so nothing is counted twice.

| Line | Comes from | Where it sits |
| - | - | - |
| **Revenue** | Each customer's revenue over the months [Cost to serve](https://docs.beaconrevenue.io/modules/cost-to-serve.md) has worked out | The base every share is taken of |
| **Hosting and software** | Your books, once read. Until then, the share of revenue you enter in Setup. Payment fees are included. | Cost of revenue |
| **Onboarding** | Cost to serve: the services team | Cost of revenue |
| **Support** | Cost to serve: support people and tools | Cost of revenue |
| **Customer success** | Cost to serve | Cost of revenue |
| **Gross margin** | Revenue less cost of revenue | |
| **Sales and marketing** | Each customer's acquisition cost, spread over its expected life | Below gross margin |
| **Retention** | Retention plays and campaigns | Below gross margin |
| **Contribution margin** | Gross margin less sales and marketing and retention | |

Company overheads such as R\&D, finance and office costs aren't in either margin.

## Outputs

| Output | Description | Availability |
| - | - | - |
| [**Gross margin**](https://docs.beaconrevenue.io/definitions/gross-margin.md) | The banner figure: the company's gross margin over the window, as a share of revenue. Labelled entered while hosting and software come from your estimate. | Available |
| **Against your growth plan's floor** | Gross margin against the floor your growth plan sets, in points above or under, and which size groups are under it | Available |
| **Gross margin by group** | Gross margin for each size group, segment, plan and customer-fit tier, with the floor as a line | Available |
| **Margin breakdown** | A year of revenue, then each cost of revenue, down to gross margin, for the company or a size group | Available |
| **Profitability by group** | Each group's revenue a year, each cost as a share of its revenue, and gross margin | Available |
| **Margin per customer** | Each customer's revenue a year, each cost as a share of it, gross margin, plan, size group, segment and customer fit | Available |
| **Serving customers** | Onboarding, support and customer success together, as a share of revenue | Available |
| **Revenue by plan** | Each plan's customers, monthly revenue in the billing month, share of revenue, serving cost and gross margin | Available |
| [**Contribution margin**](https://docs.beaconrevenue.io/definitions/contribution-margin.md) | Gross margin less sales and marketing and retention, for every group and customer | Not yet available |
| **Sales and marketing** · **Retention** | The two costs below gross margin | Not yet available |
| **Onboarding by customer** | Onboarding placed on each customer, rather than on the company only | Not yet available |
| **Hosting and software from your books** | The amount read from your accounts, replacing the estimate | Not yet available |
| [**Margin score**](https://docs.beaconrevenue.io/definitions/margin-contribution-index.md) | A score from 0 to 100 for each group and the company, against your growth plan's band | Not yet available |
| **The decisions that move margin most** | The few decisions that would add the most margin, ranked by margin a year | Not yet available |
| **Check against the plan and spending limits** | The score against its band, and the margin path ahead against your spending limits | Not yet available |
| **Margin ahead** | Gross and contribution margin for the next 12 months, under your revenue forecast | Not yet available |
| **Margin over time** | Gross and contribution margin, and the score, month by month | Not yet available |
| **Channel cut** | Every chart cut by the channel each customer came through | Not yet available |
| **Locked margin views** | Each month's view, and the quarter's final view locked by your CFO | Not yet available |
| **Alerts** | Six rules, listed under [Alerts](#alerts) | Not yet available |

Most charts can be cut by size, segment, plan or customer fit. The customer-fit cut shows once customers are scored in [Customer fit](https://docs.beaconrevenue.io/modules/customer-fit.md).

## How it's calculated

Beacon's code adds up each customer's revenue and costs, and each group's. Your data store calculates gross margin and every share. The page calculates nothing.

### Customers and groups

| Rule | Detail |
| - | - |
| **Customers included** | Every customer Cost to serve holds a current cost for: one per customer with revenue in its window |
| **Groups** | The company, each size group, each segment, each plan and each customer-fit tier held |
| **Segment** | As Cost to serve names it, with its size group first |
| **Customer fit** | The customer's fit tier, where one is held |
| **Group totals** | Every amount is the sum of the group's customers, to the cent |
| **Not matched** | Customers with no matching account are counted. They carry no industry, fit or plan. |

### Plan

| Rule | Detail |
| - | - |
| **Plan** | Of the customer's active subscriptions, the product it was billed most for in Cost to serve's billing month |
| **A tie** | The higher monthly list price, then the product in alphabetical order |
| **No subscription billed** | **No plan read**, counted |
| **Plan name** | Each plan is named by its list price, as [Prices and discounts](https://docs.beaconrevenue.io/modules/prices-and-discounts.md) names it |
| **Monthly revenue** | The customer's revenue in the billing month, over all its subscriptions |

### Costs

| Cost | Rule |
| - | - |
| **Window** | Cost to serve's window: the latest 12 months it has worked out, or every month it holds until 12 exist. Every row carries the same window. |
| **Support** · **Customer success** · **Onboarding** | Copied from Cost to serve for each customer, as it placed them. Beacon doesn't work them out again. |
| **Not placed** | Support, customer success and onboarding that Cost to serve couldn't place on a customer are added to the company row only. Groups carry only what was placed. |
| **Hosting and software** | Each customer's revenue times the share you enter in Setup. A group's is the sum of its customers'. |
| **No estimate** | Hosting and software are empty, not 0, and gross margin isn't calculated |
| **Growth plan floor** | The gross-margin floor of your active growth plan, copied onto every row. Empty when no growth plan is chosen. |

```text theme={null}
Cost of revenue = Hosting and software + Onboarding + Support + Customer success
Gross margin = Revenue − Cost of revenue
Gross margin (%) = Gross margin ÷ Revenue × 100
Each cost (%) = Cost ÷ Revenue × 100
Serving (%) = (Onboarding + Support + Customer success) ÷ Revenue × 100
Against the floor (points) = Gross margin (%) − Floor (%)
A year = Amount over the window × 12 ÷ Months in the window
Share of company revenue = Group revenue ÷ Company revenue × 100
```

Shares are rounded to 0.1%, amounts to the cent. A share is empty when revenue is 0.

### The split between groups

Your books hold hosting and software for the whole company. The split rule in Setup decides how it is spread across groups, and the parts always add back to the company figure.

| Answer | How Beacon splits it |
| - | - |
| **By usage** (the default) | By revenue until product usage is connected |
| **By each group's revenue** | By revenue |
| **By plan** | By revenue until a share per plan can be set |

The page names the rule it used.

### Checks

The company row carries Cost to serve's own revenue, support and customer-success totals. The data store measures how far the customers' sums are from them. The gap should be 0; any gap is reported and never corrected.

### Schedule

The module runs daily at 16:00 UTC, after Cost to serve at 14:00. It runs only for companies with billing connected. A row no longer needed is marked inactive and kept. A row whose figures haven't changed isn't rewritten. Each row carries the rules version that wrote it. The daily run doesn't lock anything.

## Contribution margin, the score and the lock

> [!NOTE]
>
> Not yet available. This section describes the design.

| Output | Design |
| - | - |
| **Contribution margin** | Gross margin less sales and marketing (each customer's acquisition cost spread over its expected life) and retention spend, as a share of revenue |
| **Margin score** | Each customer is scored. A group's score is its customers' scores, weighted by their revenue over 12 months. |
| **The decisions that move margin most** | Beacon tests five drivers against your own figures: the mix of customers, price discipline, cost to serve, channels and retention. It ranks decisions by the margin each adds a year. |
| **Estimates** | Until Beacon has 18 months of your own results, a decision's effect is an estimate from similar companies, and says so |
| **Monthly view** | Saved on the working day you set in Setup, and never changed |
| **Quarterly lock** | Your CFO locks the final view at each quarter-end. Your sales, customer-success and marketing leads have 5 working days to add input first. |
| **After a lock** | A locked view never changes. Anything learned later is recorded against it by name. |

Beacon recommends; your CFO decides.

### Score levels

| Score | Level | Meaning |
| - | - | - |
| **70 or more** | Adds margin | Contribution margin clearly above what your plan needs |
| **50 to 69** | Within plan | Contribution margin where your growth plan expects it |
| **30 to 49** | Thin | Contribution margin below plan, watched each month |
| **Under 30** | Dilutes margin | The group costs more margin than it brings. Your CFO and the group's owner are told. |

### Targets

| Measure | Target |
| - | - |
| **Company margin score** | 60 or more |
| **Revenue scoring 50 or more** | 75% or more |
| **Revenue held back, customers not matched** | Under 5% |
| **Locks on time, monthly and quarterly** | Every one |
| **Leads giving input before the lock** | 95% or more |
| **Disagreements with other modules** | 2 or fewer a quarter |
| **Months with margin inside the growth plan** | 90% or more |

### Fixed settings

| Setting | Changed by |
| - | - |
| **The levels: 70, 50 to 69, 30 to 49, under 30** | Your CFO, at the quarterly calibration |
| **Weighting customers by their revenue over 12 months** | Your CFO, at the quarterly calibration |
| **How far margin here may differ from its sources: 2%** | Your CFO, at the quarterly calibration |
| **When two modules disagree: 15 points** | Fixed for all of Beacon |
| **Input window before the lock: 5 working days** | Fixed for all of Beacon |
| **Moving a customer to another segment or channel** | Always needs approval, and margin is calculated again |
| **Your growth plan and spending limits** | Your CEO and CFO. Never changed here. |

## In Beacon

Go to **Data** > **Dashboards** and select **Margin intelligence**. The banner shows **Gross margin** over the window, labelled entered while hosting and software come from your estimate, and how it sits against your growth plan's floor. Beside it is **Contribution margin**.

| Tab | Contents |
| - | - |
| **Overview** | **Gross and contribution margin by group**, **Margin breakdown**, **Against your growth plan**, **Profitability by group**, **The decisions that move margin most**, **Locked margin views**, **Where each number comes from** and **About this module** |
| **Dashboard** | **Margin score over time**, **Margin score by group**, **What moved the score**, **Gross margin ahead**, **Contribution margin ahead**, **Against the plan and the spending limits**, **Gross and contribution margin over time**, **Revenue by plan** and **Switches on later** |
| **Signals & alerts** | What the module watches, its six alert rules, when other modules disagree, recent alerts and whether they worked |
| **Scorecard** | How the margin score is built, the score now, score levels, targets, the four stages and the fixed settings. Read-only. |
| **Margin per customer** | Every customer, or every group, with revenue a year, each cost, gross margin and the score. Filter by size, segment, plan and customer fit, or search. Sort by largest, lowest gross margin, costliest to serve, newest or name. Select one for detail. |
| **Setup** | The module's six questions, the questions it shares with other modules, and the company questions it uses |

| Page status | Meaning |
| - | - |
| **Not measured yet** | Billing isn't connected |
| **Coming** | Billing is connected; the daily run hasn't written the groups |
| **Running with gaps** | Revenue and the cost of revenue are read for every group and customer; contribution margin, the score and the lock wait |

The page shows **Live** once contribution margin, the score and the lock are available.

The page and its figures are open to leadership roles only. Beacon's connector in Claude reads the same view: each group's revenue, costs and gross margin, and every customer by revenue.

Margin intelligence never changes an invoice, a price, a discount or your books. Your accounting stays the record for statutory reporting and audit.

## Requirements

| Source | Required | Provides | Read today |
| - | - | - | - |
| **Billing** (Stripe) | Yes | No module runs without billing. Each customer's plan and monthly revenue, and revenue over the window through Cost to serve. | Yes |
| **Support desk** (HubSpot tickets) | Yes, for Cost to serve | Support cost on each customer | Through Cost to serve |
| **CRM** (HubSpot) | Yes, for Cost to serve | Customer-success time on each customer | Through Cost to serve |
| **Accounting** | No | Hosting and software from your books. Until they are read, enter an estimate in Setup. | No |

See [Connect your tools](https://docs.beaconrevenue.io/connect-your-tools.md).

## Related modules

### Inputs

| Module | Provides | Status |
| - | - | - |
| [**Cost to serve**](https://docs.beaconrevenue.io/modules/cost-to-serve.md) | Each customer's revenue, support, customer-success and onboarding cost over its window, and what it couldn't place | In use |
| [**Prices and discounts**](https://docs.beaconrevenue.io/modules/prices-and-discounts.md) | The rule for each customer's plan, and the plans' list prices | In use |
| [**Segments**](https://docs.beaconrevenue.io/modules/segments.md) | The segments margin is cut by, through Cost to serve | In use |
| [**Customer fit**](https://docs.beaconrevenue.io/modules/customer-fit.md) | Each customer's fit tier | In use |
| [**Customer matching**](https://docs.beaconrevenue.io/modules/customer-matching.md) · [**Data integrity**](https://docs.beaconrevenue.io/modules/data-integrity.md) | One customer in every source, and figures flagged when a source is weak | In use |
| [**Revenue intelligence**](https://docs.beaconrevenue.io/modules/revenue-intelligence.md) | Each customer's revenue and the locked month. Revenue is read through Cost to serve until the month is locked. | In part |
| [**Sales acquisition cost**](https://docs.beaconrevenue.io/modules/sales-acquisition-cost.md) · **Marketing acquisition cost** | Each customer's acquisition cost, by channel | Not yet |
| **Lifecycle economics** | Retention spend, and lifetime margin by segment | Not yet |
| [**Contract intelligence**](https://docs.beaconrevenue.io/modules/contract-intelligence.md) | Discounts and terms in each deal | Not yet |
| **Cost forecast** · **Approval limits** | Cost to serve ahead, and the spending limits margin is checked against | Not yet |

### Used by

| Module | Uses |
| - | - |
| **GTM efficiency** | The company's gross margin |
| **Cash & runway** | The margin path ahead, turned into cash |
| **Company growth** | Margin against the growth plan, for the board pack |
| **Lifecycle economics** | Gross margin for lifetime value |
| [**Sales acquisition cost**](https://docs.beaconrevenue.io/modules/sales-acquisition-cost.md) | Gross margin for payback |
| [**Customer value**](https://docs.beaconrevenue.io/modules/customer-value.md) · [**Customer fit**](https://docs.beaconrevenue.io/modules/customer-fit.md) | Margin as one part of each customer's value and fit |
| [**Prices and discounts**](https://docs.beaconrevenue.io/modules/prices-and-discounts.md) | What each discount costs in margin |
| [**Revenue forecast**](https://docs.beaconrevenue.io/modules/revenue-forecast.md) · **Variance** · **Budgets** | The margin layer over the forecast, and where it drifted |

GTM efficiency is the one reader in use. The others start reading it once they, or the part they need, are built.

## Alerts

> [!NOTE]
>
> Not yet available.

| Alert | Trigger | Priority | Sent to |
| - | - | - | - |
| **One group is pulling margin down** | One segment accounts for more than 20% of the fall in margin across the company over the locked period | High | CFO, with the VP Sales and VP Customer success to review it, in Slack and email, at the next forecast review |
| **A paid channel's margin is shrinking** | The margin of customers won through a paid channel falls 15% or more on the period before | High | VP Marketing and CFO, in Slack and email, at the next forecast review |
| **Margin and the revenue forecast disagree** | The margin path and the company revenue forecast are 15 points or more apart at the quarter ahead. Beacon pauses its own actions on the groups concerned. | Urgent | CFO and CEO, in Slack and email, for a joint review |
| **Margin crosses a spending limit** | The margin path ahead crosses the limit set in Approval limits | Urgent | CFO and CEO, in Slack and email |
| **Margin breaks the growth plan** | Gross margin falls below your growth plan's floor, or the score leaves its band | Urgent | CFO and CEO, in Slack and email |
| **The score missed its band two quarters running** | The company's margin score is outside its band at two quarter locks in a row | High | CFO and CEO, recorded at the quarter lock |

Each rule waits for the score, the lock, or an input that isn't read. Each group's owner also gets the alerts about that group.

This module is also compared with the Revenue forecast, Cash & runway, Lifecycle economics, Marketing acquisition cost and Contract intelligence. When one is 15 points or more apart, they are reviewed together. Against the Cost forecast, a gap of 15% of the cost of serving ahead means the cost forecast wins and the difference is shown. Beacon never changes a spending limit.

## Setup questions

| Question | Answers | Used for |
| - | - | - |
| **Who decides on margin, and who gives input?** | Decides and locks: CFO. Gives input: VP Sales, VP Customer success, VP Marketing. Picked from your Beacon users. | The lock and the input before it |
| **Which accounts in your books are hosting and software?** | **Hosting and infrastructure**, **Software built into the product** and **Payment processing fees**, each marked Cost of revenue or Not cost of revenue | Hosting and software from your books |
| **Until your books are connected: hosting and software, roughly?** | Hosting, software and payment fees, as a share of revenue (%): 0 to 90, to one decimal | Hosting and software, and so gross margin |
| **How are hosting and software split between groups of customers?** | By how much each group uses the product: by revenue until usage is connected · By each group's revenue · By plan: a share I set for each plan | The split between groups |
| **When is margin locked?** | Save the monthly view on working day (1 to 20) · Input window before the quarter lock (working days) (1 to 10) · Lock each quarter within (working days) (1 to 20) | The lock calendar |
| **Who else gets the alerts?** | CEO (growth-plan and forecast alerts), picked from your Beacon users. Your CFO always gets them. | Alerts |

The four questions in between are saved from the Setup tab. The estimate is used from the next daily run and is labelled entered wherever it is used, including in Sales acquisition cost, Lifecycle economics and Customer value. Until you enter it, hosting and software are empty and gross margin isn't calculated. The split starts at usage. The accounts wait for your books, and the calendar for the lock. The two people questions need your Beacon users, which the page can't list, so they aren't saved.

Shared with other modules: your growth plan and its gross-margin floor are set in **Set the target**. Team costs are set in [Cost to serve](https://docs.beaconrevenue.io/modules/cost-to-serve.md), and the cost of each sales role in [Sales acquisition cost](https://docs.beaconrevenue.io/modules/sales-acquisition-cost.md). Marketing spend is set in Marketing acquisition cost, and retention costs in Lifecycle economics. Your discount limit comes from the growth plan, through [Prices and discounts](https://docs.beaconrevenue.io/modules/prices-and-discounts.md). Segments are set in [Segments](https://docs.beaconrevenue.io/modules/segments.md). Your revenue model, reporting currency, ARR or MRR reporting and financial year start are set once in Company DNA.

## Related

> [card] [Cost to serve](https://docs.beaconrevenue.io/modules/cost-to-serve.md)
>
> What each customer costs to serve.

> [card] [Revenue intelligence](https://docs.beaconrevenue.io/modules/revenue-intelligence.md)
>
> Each customer's revenue, month by month.

> [card] [Contribution margin](https://docs.beaconrevenue.io/definitions/contribution-margin.md)
>
> The contribution margin definition.

> [card] [Sales acquisition cost](https://docs.beaconrevenue.io/modules/sales-acquisition-cost.md)
>
> What a new customer costs to win.

> [card] [Connect your tools](https://docs.beaconrevenue.io/connect-your-tools.md)
>
> What each connection unlocks.

> [card] [Modules](https://docs.beaconrevenue.io/modules/overview.md)
>
> Module families and availability.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.