A business metric is a number, calculated the same way every time, that measures how part of a business performs: revenue, active customers, churn, cost to acquire a customer. Core metrics are the small set of business metrics the whole company runs on. They appear in the board deck, more than one team reports them, and decisions depend on them.
Choosing core metrics is the easy part. Most companies already know they care about revenue and customers. The hard part is the definition. Ask sales, finance and product how many active customers the company had last month and you will often get three different answers, each one correct by its own rules. This guide shows why that happens with a small dataset you can run yourself, then gives you a template for writing a definition that ends the argument.
What is a business metric?
A business metric has three parts: something it counts or sums (customers, revenue, tickets), the rules for what is included, and a time period. "Revenue" is a word. "Recognised subscription revenue in October 2026, in euros, excluding VAT and refunds" is a metric.
The terms around it get mixed up, so here is how they relate:
| Term | What it is | Example |
|---|---|---|
| Data point | A single recorded fact | Invoice 1042 was paid on 3 October |
| Metric | A defined calculation over many data points, for a period | Active customers at the end of October |
| Dimension | An attribute you split a metric by | Plan, country, sales rep |
| KPI | A metric with a target, chosen to track a specific goal | Active customers above 450 by year end |
| Core metric | A metric the whole company shares and runs decisions on | Active customers, ARR, net revenue retention |
Every KPI is a metric, but most metrics are not KPIs. And a core metric can be a KPI for one team (customer success might own a target on it) while being plain context for another.
What are core metrics?
Core metrics are the 5 to 15 numbers that describe whether the business is working. Three tests separate them from everything else on a dashboard:
- Shared. More than one team uses the number. If only the paid search manager looks at cost per click, it is a team metric, not a core one.
- Decision-bearing. Hiring, budgets or targets change when the number moves.
- Stable. It means the same thing this quarter as last quarter, so trends are real.
Being shared is exactly what makes core metrics fragile. Each team pulls the number from the system it knows best, applies its own rules, and the numbers drift apart. Here are typical core metrics for a subscription business and the question each one leaves open until someone writes it down:
| Core metric | Question it answers | Where definitions usually split |
|---|---|---|
| Active customers | How many accounts pay us right now? | Trials, free plans, unpaid invoices, annual plans, test accounts |
| Revenue | How much did we earn this period? | Booked, billed, collected or recognised; tax; refunds; currency |
| ARR and MRR | What is our recurring run rate? | Discounts, usage charges, annual plans spread or not |
| New customers | How many did we win? | Deal close date in the CRM or first payment in billing |
| Churn rate | How many did we lose? | Cancel date or end of paid period; logo or revenue churn |
| Net revenue retention | What is the existing base worth a year on? | Which customers are in the starting cohort |
| Customer acquisition cost | What does a new customer cost? | Ad spend only or fully loaded with salaries |
| Gross margin | What is left after cost of delivery? | Which costs count as cost of revenue |
For the formulas behind several of these and how they chain into each other, see our guide to B2B metrics by funnel stage.
Worked example: three teams, three numbers of active customers
A small B2B software company has eight accounts. At the end of October 2026 the CEO asks: how many active customers do we have? Here is what the systems say.
| Account | CRM stage | Plan | Subscription | October invoice | Last login |
|---|---|---|---|---|---|
| A Acme | Customer | Growth, monthly | Running | €900, paid | 30 Oct |
| B Brightline | Customer | Growth, annual | Running, paid yearly in March | None due | 20 Aug |
| C Cobalt | Customer | Starter, monthly | Ended 12 Oct | €300, paid | 28 Sep |
| D Delta | Customer | Growth, monthly | Running, payment failed | €900, open | 29 Oct |
| E Ember | Opportunity | Growth trial | Trial until 3 Nov | None | 31 Oct |
| F Fjord | Customer | Free | Running, €0 | None | 15 Oct |
| G Granite | Customer | Growth, monthly | Running | €900, paid | 2 Sep |
| H Test (internal) | None | Growth, 100% off | Running, €0 | €0 | 28 Oct |
Each team answers from its own system with a rule that sounds reasonable:
- Sales counts accounts whose CRM stage is "customer": A, B, C, D, F, G. 6 active customers. Cobalt left on 12 October, but nobody updated the CRM, and Fjord was marked a customer when it signed up for the free plan.
- Finance counts accounts that paid an invoice in October: A, C, G. 3 active customers. Brightline pays annually so has no October invoice, Delta's payment failed, and Cobalt paid on 1 October before leaving.
- Product counts accounts that logged in during October: A, D, E, F, H. 5 active customers. That includes a trial, a free account and the team's own test account, and misses two paying customers who simply didn't log in this month.
Three numbers from the same eight accounts: 6, 3 and 5. None of the teams made a mistake. Each one answered a different question (who is in our pipeline as a customer, who paid us this month, who used the product) and called the answer "active customers".
The agreed definition
The fix is to decide what "active customer" is for, then write the rules down. Here the company wants a number that tracks the paying customer base, so it agrees on:
An active customer is an account with at least one paid subscription running at the end of the period. Paid means the price after discounts is above zero. Subscriptions in a trial do not count. A subscription with a failed payment still counts until it is cancelled. Internal and test accounts never count. The period ends at midnight, Europe/Copenhagen time.
Applied to the table: Acme, Brightline, Delta and Granite. 4 active customers. Cobalt ended before month end, Ember is still in its trial, Fjord pays nothing, and the test account is internal.
Here is the same definition as SQL. The first block creates the eight accounts so you can run it as is in DuckDB.
1create table accounts as
2select * from (values
3 ('A', 'Acme', 'customer', false),
4 ('B', 'Brightline', 'customer', false),
5 ('C', 'Cobalt', 'customer', false),
6 ('D', 'Delta', 'customer', false),
7 ('E', 'Ember', 'opportunity', false),
8 ('F', 'Fjord', 'customer', false),
9 ('G', 'Granite', 'customer', false),
10 ('H', 'Test (internal)', null, true)
11) as t(account_id, name, crm_stage, is_internal);
12
13create table subscriptions as
14select * from (values
15 ('A', 'Growth', 'monthly', 900, timestamp '2025-03-01 09:00', cast(null as timestamp), cast(null as timestamp)),
16 ('B', 'Growth', 'annual', 900, timestamp '2025-03-15 10:00', null, null),
17 ('C', 'Starter', 'monthly', 300, timestamp '2024-11-01 08:00', null, timestamp '2026-10-12 14:00'),
18 ('D', 'Growth', 'monthly', 900, timestamp '2025-06-01 12:00', null, null),
19 ('E', 'Growth', 'monthly', 900, timestamp '2026-10-20 15:00', timestamp '2026-11-03 15:00', null),
20 ('F', 'Free', 'monthly', 0, timestamp '2026-01-10 11:00', null, null),
21 ('G', 'Growth', 'monthly', 900, timestamp '2024-09-01 09:00', null, null),
22 ('H', 'Growth', 'monthly', 0, timestamp '2024-01-01 09:00', null, null)
23) as t(account_id, plan, billing_interval, monthly_amount, started_at, trial_ends_at, ended_at);All timestamps are stored in UTC. Midnight at the start of 1 November in Copenhagen is 23:00 UTC on 31 October, because Denmark is on UTC+1 after the clocks change in late October.
1-- active_customers: accounts with a paid subscription running at the end of the period.
2-- Period end: midnight starting 1 Nov 2026 in Europe/Copenhagen = 2026-10-31 23:00 UTC.
3with params as (
4 select timestamp '2026-10-31 23:00:00' as period_end_utc
5)
6select count(distinct s.account_id) as active_customers
7from subscriptions s
8join accounts a on a.account_id = s.account_id
9cross join params p
10where s.started_at < p.period_end_utc -- started before period end
11 and (s.ended_at is null or s.ended_at >= p.period_end_utc) -- not ended yet
12 and (s.trial_ends_at is null or s.trial_ends_at <= p.period_end_utc) -- not in a trial
13 and s.monthly_amount > 0 -- paid plan, after discounts
14 and not a.is_internal; -- no internal or test accountsThe query returns 4. Three details in it are where real implementations go wrong:
- It reads subscription dates, not a status column. A
status = 'active'filter tells you about today. Run it in December for October and you get December's answer. Start and end dates let you ask about any point in time. - It counts accounts, not subscriptions.
count(distinct s.account_id)stops an account with two subscriptions from counting twice. - The internal flag is separate from the price. The test account here happens to pay €0, but internal accounts often sit on a paid plan charged to a company card. The price filter would not catch those.
The metric definition template
A definition is finished when two analysts who have never spoken can implement it separately and get the same number. These are the fields that make that possible, filled in for the metric above.
| Field | What to write | Example: active customers |
|---|---|---|
| Name | One name, used everywhere, plus the technical name | Active customers (active_customers) |
| Description | One sentence a new hire understands | Accounts paying us for at least one subscription at the end of the period |
| Owner | The person who approves changes | Head of finance |
| Formula | The calculation in words, then in SQL | Count of distinct accounts with a qualifying subscription at period end |
| Grain | The level it is calculated at, and how it rolls up | One value per month, measured at period end; not summed across months |
| Filters | What is included and excluded | Price after discount above zero; trials, free plans, internal and test accounts excluded |
| Source tables | Where the data comes from, by table | billing.subscriptions, billing.accounts (internal flag) |
| Time zone | Which clock defines the period boundaries | Europe/Copenhagen; timestamps stored in UTC |
| Refresh | How often it updates, and when a period is final | Daily at 06:00; a month is final on the 3rd of the next month |
| Edge cases | Decisions on the cases people will ask about | Failed payment counts until cancelled; annual plans count every month; reactivated accounts count again |
| Dimensions | What it may be split by | Plan, country, acquisition channel |
| Changelog | What changed, when and why | 2026-11-09: free plans excluded (previously counted) |
A few notes on the fields that cause the most trouble:
- Grain decides whether a metric can be added up. Active customers at month end cannot be summed across three months to get a quarter; revenue can.
- Time zone matters at every boundary. A subscription that ends at 23:30 UTC on 31 October ended in October by a UTC clock, but at 00:30 on 1 November by a Copenhagen clock, so it still counts as active at the end of October in Copenhagen time. Pick one zone and use it for every metric.
- Edge cases should name real situations, not principles. "Annual plans count every month" settles a question; "count all paying customers" does not.
- Changelog keeps history honest. When a definition changes, recalculate past periods with the new rule or label the break in charts, so a jump in the line is not mistaken for growth.
Revenue has the same problem, only bigger
"Active customers" splits three ways. "Revenue" can easily split five, because each team's system records money at a different moment:
| Revenue measure | When the money counts | Usually reported by | System |
|---|---|---|---|
| Bookings | When the contract is signed | Sales | CRM |
| Billings | When the invoice is issued | Finance | Billing |
| Cash collected | When the payment arrives | Finance | Bank, payments |
| Recognised revenue | As the service is delivered, month by month | Accounting | Accounting |
| MRR / ARR | The recurring run rate at a point in time | Leadership, board | Billing |
A €12,000 annual contract signed on 28 October is €12,000 of October bookings, possibly €12,000 of November billings, €1,000 of recognised revenue per month for a year, and €1,000 of MRR from the day it starts. All five are useful. The rule is that each gets its own name, so nobody reports "revenue" without saying which. Our guide on how to calculate MRR goes into the run-rate version in detail.
How to get every team to agree on a definition
- List the core metrics already in use. Collect every dashboard, board slide and spreadsheet that reports one, and note which system and filters each uses.
- Run the competing versions on the same data. Put the numbers side by side for one period, as in the example above. Disagreement in the abstract is endless; three numbers and the accounts behind them make the decisions concrete.
- Decide the purpose, then the rules. Ask what decision the metric supports. "Active customers" for finance planning and "active accounts" for product engagement can both exist, as long as they have different names.
- Write it in the template and name an owner. The owner settles new edge cases and approves changes. Without one, definitions drift back apart within a quarter.
- Implement it once. Build the metric in one place and point every report at it. If each tool recalculates it, you are back to three numbers.
- Retire the old versions. Remove or rename the dashboards and sheets that used the old rules, or people will keep finding them.
Keeping metrics aligned as the company grows is its own discipline; our post on maintaining KPI alignment across teams covers the ongoing part.
Where a metric definition should live
A written definition in a wiki is a good start, but a wiki does not run queries. If the dashboard, the finance spreadsheet and an AI agent each implement the rules themselves, they will drift. The definition needs to live where the data is calculated, so that every tool reads the result instead of rebuilding it. Two common ways to do that:
- Modelled tables in the warehouse. A SQL model such as
active_customers_monthlywith one row per month. Dashboards, spreadsheets and reverse ETL syncs all select from it. Simple, works with every tool, and the SQL is the definition. - A semantic layer. The metric is declared once (measure, filters, dimensions) in a tool such as dbt's semantic layer, Cube or Looker's LookML, and BI tools or APIs ask the layer for "active customers by plan" instead of writing SQL. More flexible for slicing, with another system to run.
Either way, AI agents raise the stakes. An agent asked "how many active customers do we have?" that reads raw billing tables will invent its own definition each time, often a different one. Pointed at a modelled table or semantic layer, it returns the same 4 as the dashboard.
In Weld, metric definitions live as SQL models in your own warehouse. You write them in Weld's SQL editor or in dbt, Weld keeps version history and lineage for each model, and the output tables are what dashboards, reverse ETL syncs and agents read. The Weld MCP server lets agents such as Claude or Cursor run SQL against those tables, and the agent context directory shows the schemas and open-source SQL models, such as MRR, that Weld provides per connector.
FAQ
Core metrics are the small set of business metrics a whole company relies on to judge whether it is working, typically 5 to 15 numbers such as revenue, ARR, active customers, churn and customer acquisition cost. They are shared across teams, drive decisions, and must be defined the same way everywhere so trends are comparable.
A business metric is a quantifiable measure of how part of a business performs, calculated with fixed rules over a defined time period. It needs a clear calculation, inclusion and exclusion rules, and a period. "Revenue" alone is a word; "recognised subscription revenue in October, excluding VAT" is a metric.
A metric is any defined measurement. A KPI, or key performance indicator, is a metric with a target attached, chosen to track progress towards a specific goal. Every KPI is a metric, but most metrics are tracked for context and have no target.
Write down its name, a one-sentence description, an owner, the formula, the grain, the filters, the source tables, the time zone, the refresh schedule and decisions on edge cases. Then test it: run it on a sample of real data where teams currently disagree and check that it settles each case. Implement it once and point every report at that implementation.
Because each team calculates it from its own system with its own rules. Sales counts CRM records, finance counts paid invoices, product counts logins. Each is a valid measure of something, but they answer different questions under the same name. A shared written definition, implemented in one place, removes the gap.
One named person, usually the leader of the function closest to the metric: finance for revenue and margin, the revenue or sales operations lead for pipeline metrics, product for usage metrics. The owner approves changes and decides new edge cases. The data team implements the definition, but should not be the one choosing the business rules.



