Metrics·Glossary term

Metric

Metric A/B testing Reference guide

Metric is a concept used in metrics, kpis & business outcomes.

Quick definition: A metric is a quantitative measure with a defined formula, unit, population, and time window used to describe performance or evaluate a decision.

What is a metric?

A metric converts observed events, records, or values into a measure that people can compare and act on. Counts, rates, averages, percentiles, totals, and ratios are all metrics. “Conversions,” “revenue,” and “engagement” are not complete metrics until they specify what counts, for whom, over which time period, and from which source.

Metrics differ from data, KPIs, goals, and statistics. Data are the underlying records. A KPI is a metric selected as important for ongoing performance management. A goal is a desired outcome, while a statistic is a numerical summary or inferential estimate. In experimentation, a primary metric is the preselected outcome used to assess the hypothesis; guardrail metrics constrain unacceptable harms. Read KPI and guardrail metric for those distinctions.

Metric definition framework

A defensible metric specification includes its name, purpose, formula, numerator, denominator, unit of analysis, eligibility rules, observation window, exclusions, data source, aggregation method, owner, and version. A rate typically follows rate = qualifying units / eligible opportunity units × 100. A mean follows mean = sum of unit-level values / number of included units. The numerator and denominator must use compatible units.

For example, “seven-day paid conversion among assigned eligible users” means unique users with a confirmed paid order within seven days divided by unique users eligible and assigned to the experiment. It is distinct from “orders per session,” even if both use purchase events. The specification makes results reproducible and prevents dashboards from silently measuring different things under the same label.

Metrics in A/B testing and product work

Start experiment design with the decision, not a convenient event. Select one primary metric that most directly represents the expected causal benefit, specify it before launch, and add a small set of relevant guardrails. A copy change may have click-through rate as a diagnostic but completed task or purchase as the decision metric. The framework in primary versus guardrail metrics helps connect local behavior to customer value.

Randomize before treatment, use all eligible assigned units when estimating the offer effect, and report each arm’s numerator and denominator. Measure absolute difference and uncertainty, not only a relative uplift or p-value. A conversion increase from 2.0% to 2.4% is +0.4 percentage points and +20% relative. Confidence intervals help distinguish a precise gain from a noisy estimate.

A metric becomes unreliable when teams examine many alternatives after results arrive and promote the best-looking one. Write hypotheses and analysis plans first; treat unplanned segments and measures as exploratory. See multiple comparisons for the statistical risk.

Worked scenario

A travel product tests a clearer cancellation-policy message. It defines the primary metric as completed bookings within 48 hours divided by all unique eligible visitors assigned to a variant. Control has 10,000 eligible visitors and 500 bookings; treatment has 10,100 and 556.

control metric = 500 / 10,000 = 5.00%
treatment metric = 556 / 10,100 = 5.50%
absolute difference = +0.50 percentage points

The team also defines cancellation within 14 days and support-contact rate as guardrails. It checks the planned statistical interval, assignment counts, and booking-event reconciliation before declaring a benefit. The label “booking conversion” alone would not have captured the denominator, window, or quality constraints needed for the decision.

Data-quality limitations

Metrics inherit defects in event tracking, joins, and business rules. Duplicate webhooks inflate numerators; missing identities fragment people; a redesigned page can stop emitting an old event; bots and staff traffic pollute both sides; and timezone changes move outcomes across windows. Reconcile critical outcomes with source systems and audit raw counts by variant and platform.

For randomized studies, verify assignment and exposure. A sample-ratio mismatch or variant-specific logging failure can invalidate comparisons; use SRM diagnostics before interpretation. Avoid denominators conditioned on post-treatment actions such as “people who saw checkout” when treatment changes that path.

Common mistakes

  • Using vague names: include population, action, and window.
  • Mixing units: do not divide orders by users and call it user conversion.
  • Changing definitions without versioning: trend breaks need disclosure.
  • Optimizing a proxy: validate its relationship to meaningful value.
  • Ignoring uncertainty: point estimates fluctuate.
  • Letting a dashboard choose the result: preselect the primary measure.

Frequently asked questions

What makes a metric actionable?

It has a defined owner, decision use, formula, trusted source, and a plausible action when it changes.

Is a metric always a rate?

No. It can be a count, sum, mean, percentile, duration, or ratio.

Can a metric be both a KPI and an experiment outcome?

Yes, if its definition fits both the ongoing business objective and the test’s causal question.

Why does denominator choice matter?

Changing the population changes the question, and post-treatment denominators can bias an experiment estimate.

Summary

A metric is only useful when its formula and context are precise. Define compatible numerators and denominators, population, window, source, and ownership. In A/B testing, preselect decision metrics, verify measurement quality, quantify uncertainty, and evaluate benefits with relevant guardrails.

Sources