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.

Three teams count active customers from the same eight accounts and get three numbers: sales counts accounts whose CRM stage is customer and gets 6, finance counts accounts that paid an invoice in October and gets 3, product counts accounts that logged in during October and gets 5. One written definition, a paid subscription running at month end, gives 4. The dashboard, the spreadsheet and the AI agent all read that one definition and show 4.

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:

TermWhat it isExample
Data pointA single recorded factInvoice 1042 was paid on 3 October
MetricA defined calculation over many data points, for a periodActive customers at the end of October
DimensionAn attribute you split a metric byPlan, country, sales rep
KPIA metric with a target, chosen to track a specific goalActive customers above 450 by year end
Core metricA metric the whole company shares and runs decisions onActive 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 metricQuestion it answersWhere definitions usually split
Active customersHow many accounts pay us right now?Trials, free plans, unpaid invoices, annual plans, test accounts
RevenueHow much did we earn this period?Booked, billed, collected or recognised; tax; refunds; currency
ARR and MRRWhat is our recurring run rate?Discounts, usage charges, annual plans spread or not
New customersHow many did we win?Deal close date in the CRM or first payment in billing
Churn rateHow many did we lose?Cancel date or end of paid period; logo or revenue churn
Net revenue retentionWhat is the existing base worth a year on?Which customers are in the starting cohort
Customer acquisition costWhat does a new customer cost?Ad spend only or fully loaded with salaries
Gross marginWhat 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.

AccountCRM stagePlanSubscriptionOctober invoiceLast login
A AcmeCustomerGrowth, monthlyRunning€900, paid30 Oct
B BrightlineCustomerGrowth, annualRunning, paid yearly in MarchNone due20 Aug
C CobaltCustomerStarter, monthlyEnded 12 Oct€300, paid28 Sep
D DeltaCustomerGrowth, monthlyRunning, payment failed€900, open29 Oct
E EmberOpportunityGrowth trialTrial until 3 NovNone31 Oct
F FjordCustomerFreeRunning, €0None15 Oct
G GraniteCustomerGrowth, monthlyRunning€900, paid2 Sep
H Test (internal)NoneGrowth, 100% offRunning, €0€028 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.

SQL
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.

SQL
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 accounts

The 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.

FieldWhat to writeExample: active customers
NameOne name, used everywhere, plus the technical nameActive customers (active_customers)
DescriptionOne sentence a new hire understandsAccounts paying us for at least one subscription at the end of the period
OwnerThe person who approves changesHead of finance
FormulaThe calculation in words, then in SQLCount of distinct accounts with a qualifying subscription at period end
GrainThe level it is calculated at, and how it rolls upOne value per month, measured at period end; not summed across months
FiltersWhat is included and excludedPrice after discount above zero; trials, free plans, internal and test accounts excluded
Source tablesWhere the data comes from, by tablebilling.subscriptions, billing.accounts (internal flag)
Time zoneWhich clock defines the period boundariesEurope/Copenhagen; timestamps stored in UTC
RefreshHow often it updates, and when a period is finalDaily at 06:00; a month is final on the 3rd of the next month
Edge casesDecisions on the cases people will ask aboutFailed payment counts until cancelled; annual plans count every month; reactivated accounts count again
DimensionsWhat it may be split byPlan, country, acquisition channel
ChangelogWhat changed, when and why2026-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 measureWhen the money countsUsually reported bySystem
BookingsWhen the contract is signedSalesCRM
BillingsWhen the invoice is issuedFinanceBilling
Cash collectedWhen the payment arrivesFinanceBank, payments
Recognised revenueAs the service is delivered, month by monthAccountingAccounting
MRR / ARRThe recurring run rate at a point in timeLeadership, boardBilling

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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_monthly with 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