Bookmarks

KPI — key performance indicator

A metric chosen as the primary measure of success: it shows whether a team, a process or an organisation is meeting its goals.

Also: KPI, key performance measure, performance indicator

checked 18 Nov

All terms

A KPI is not just any number monitoring can produce, but a selected set: it answers whether the work is moving towards the goals of the business or the project. The other metrics remain diagnostic — they are used to find the cause when a key indicator slips.

Types of KPI

AttributeTypesExamples
By levelan organisation, a team, an individual processcompany revenue and NPS; support first response time; share of releases rolled back
By timinglagging — the result has already happened; leading — give an early warningquarterly revenue, share of resolved tickets; automated test coverage, number of open vulnerabilities

How KPIs are chosen and measured

  1. tie it to a goal: each KPI answers the question “have we met the target”;
  2. set a baseline and a target: “share of first replies within an hour — from 55 to 80% over a quarter”;
  3. fix the formula, the data source and the period so the figure can be reproduced;
  4. revise the set once the goal is met or has changed — KPIs do not live forever.

Keep the formula simple and verifiable. For example, the KPI “support replies quickly” is calculated as:

sqlSupport KPI: share of tickets with a first reply within an hour, per month
SELECT  round(100.0 * count(*) FILTER (WHERE first_reply_at - created_at <= interval '60 minutes')        / count(*), 1) AS first_reply_within_hour_pctFROM ticketsWHERE created_at >= date_trunc('month', now());

KPI, OKR and Goodhart’s law

A KPI is a standing measure of the health of a process or a product: it is kept at its level and monitored so it does not slip. OKRs work differently: a goal and 3–5 measurable key results per quarter, then a new set. A KPI can feed into a key result but does not replace the goal: a number without direction leads nowhere.

Once a metric becomes a target it stops being an honest measure: the team will start working for the number rather than the result (Goodhart’s law). The DORA guide advises against setting a metric as a goal and against hunting for “one metric to rule them all” — a complex system is described by several indicators, some of which balance each other.

Sources

the term is written from these pages

Verified 18 Nov

Not to be confused with

what it is mixed up with and how it differs

  • OKRObjectives and Key Results

    OKR — a goal and 3–5 key results per quarter; KPI — a standing metric that can be one of those results.

  • SLOservice level objective

    SLO — a quality target for a specific service, set by the team on top of an SLI; KPI — a management metric for any process.

In depth in the references

where the topic is covered in detail