KPI means Key Performance Indicator: a measurable value that shows how well a person, team or business is doing against one of its most important goals.
The word doing the work is key. A company tracks hundreds of numbers, and only a handful of them are KPIs: the few metrics leadership has agreed matter most, each with an owner, a target and a review rhythm. "Monthly recurring revenue reached 92% of target" is a KPI. "Page views" is usually just a metric. Every KPI is a metric, but a metric only becomes a KPI when it's tied to a strategic goal and someone is accountable for moving it.
What makes a number a KPI
Formally, a Key Performance Indicator is a quantifiable measure used to evaluate progress toward a defined objective over a defined period. In practice, a well-formed KPI has five parts:
- a name and a formula that everyone calculates the same way
- a target, such as "under 4 hours" or "at least 95%"
- a time frame, such as weekly, monthly or quarterly
- an owner who is responsible for the result
- a data source that is trusted and repeatable
Here is how those parts line up for one KPI, starting from the goal it serves:
Business goal: Keep customers longer
↓
KPI: Monthly customer churn rate
↓
Formula: Customers lost in month / Customers at start of month × 100
↓
Target: Below 2% per month
↓
Owner: Head of Customer Success, reviewed monthly
Without a target and an owner, a number is just reporting. With them, it becomes a tool for decisions. The same holds at any scope: in business, KPI always stands for Key Performance Indicator, whether it shows up in a sales review, an HR appraisal, an engineering scorecard or a Power BI report, and an individual KPI such as a support agent's resolution rate works exactly like a company one.
KPI vs metric vs OKR
These three get mixed up constantly. They're related, but they do different jobs:
Term | What it is | Example | Time horizon |
|---|
Metric | Any number you measure | Website sessions, tickets opened, builds per day | Continuous |
KPI | A critical metric tied to a goal, with a target and owner | Customer churn below 2% per month | Ongoing, reviewed on a fixed cadence |
OKR | Objectives and Key Results: a goal-setting framework for change | Objective: Make onboarding effortless. KR: Raise 30-day activation from 40% to 55% | Usually a quarter |
The short version I use: metrics describe what is happening, KPIs tell you whether the business is healthy, and OKRs describe what you're trying to change next. The two frameworks fit together well. When a KPI drifts off target, it often becomes the subject of next quarter's OKR, and a key result is usually measured with an existing KPI or metric.
Leading, lagging, input and output KPIs
You can slice KPIs many ways, but two distinctions matter most when you're choosing them.
Lagging KPIs measure results that have already happened: revenue, profit, churn, employee turnover. They're easy to measure and hard to influence directly, because by the time you see them the outcome is settled. Leading KPIs predict future results. Qualified pipeline, trial activations and sales demos booked are all leading indicators of revenue. They're harder to define, but they give you time to act.
Area | Leading KPI | Lagging KPI |
|---|
Sales | Qualified pipeline value | Closed-won revenue |
Customer success | Product usage per account | Churn rate |
HR | Employee engagement score | Voluntary turnover rate |
Engineering | Change lead time | Customer-reported incidents |
A healthy KPI set pairs each important lagging KPI with one or two leading KPIs that drive it.
The second split is input versus output. Input KPIs measure effort or resources you control, such as outbound calls made, hours of training delivered or marketing spend. Output KPIs measure what that effort produced: meetings booked, certification pass rate, leads generated. Inputs are useful for coaching and planning, but outputs are what the business actually cares about. Reward inputs alone and you'll get plenty of activity and few results.
You'll also hear KPIs described as strategic (reviewed by leadership monthly or quarterly) or operational (watched daily by teams), and as measuring efficiency or effectiveness. Cost per ticket is an efficiency KPI; first contact resolution is an effectiveness one. Most KPIs are numeric, but survey-based measures such as CSAT turn opinions into numbers too.
KPI examples by department
These are common, well-understood KPIs with their usual formulas. Pick the few that match your goals. Nobody should track all of them.
Sales
- Revenue vs target = actual revenue / target revenue × 100
- Win rate = deals won / deals closed (won + lost) × 100
- Average deal size = total revenue from won deals / number of won deals
- Sales cycle length: average days from opportunity creation to close
- Pipeline coverage = open pipeline value / remaining quota for the period
- Quota attainment: the share of sales reps who hit their quota
Marketing
- Customer acquisition cost (CAC) = sales and marketing spend / new customers acquired
- Marketing qualified leads (MQLs) per month, and the MQL-to-SQL conversion rate
- Conversion rate = visitors who complete a goal / total visitors × 100
- Return on ad spend (ROAS) = revenue attributed to ads / ad spend
- Organic traffic growth: month-over-month change in non-paid search sessions
Finance
- Gross margin = (revenue − cost of goods sold) / revenue × 100
- Net profit margin = net profit / revenue × 100
- Operating cash flow: cash generated from core operations in the period
- Days sales outstanding (DSO) = (accounts receivable / revenue) × number of days in the period
- Budget variance = (actual − budget) / budget × 100
HR
- Employee turnover rate = separations / average headcount × 100
- Time to hire: average days from job posting (or candidate application) to accepted offer
- Offer acceptance rate = offers accepted / offers made × 100
- Employee Net Promoter Score (eNPS) = % promoters − % detractors on the "would you recommend working here?" question
- Absenteeism rate = unplanned absence days / total scheduled work days × 100
Product
- Activation rate = new users who reach the "aha" action / new sign-ups × 100
- DAU/MAU ratio, or stickiness = daily active users / monthly active users
- Retention rate at day 7, day 30 or month 3 for each sign-up cohort
- Feature adoption = active users of a feature / total active users × 100
- Net revenue retention (NRR) = revenue from an existing cohort now (including expansion, minus churn and contraction) / their revenue a year ago × 100
Customer support
- First response time: median time from ticket creation to the first human reply
- Average resolution time: average time from ticket creation to resolution
- First contact resolution (FCR) = tickets solved in the first interaction / total tickets × 100
- Customer satisfaction (CSAT) = satisfied responses / total survey responses × 100
- Net Promoter Score (NPS) = % promoters (9–10) − % detractors (0–6)
Engineering: the DORA metrics
For software delivery, the most widely used KPIs come from DORA (DevOps Research and Assessment). Most people know the original four: deployment frequency, change lead time, change fail rate, and failed deployment recovery time, which used to be called mean time to restore. As of October 2026, the DORA metrics guide lists five, in two groups.
Throughput is measured by:
- change lead time, the time from a change being committed to version control until it's deployed to production
- deployment frequency, how often you deploy to production, or the time between deployments
- failed deployment recovery time, how long it takes to recover from a deployment that fails and needs immediate intervention
Instability is measured by:
- change fail rate, the share of deployments that need immediate intervention such as a rollback or hotfix
- deployment rework rate, the share of deployments that are unplanned and happen because of a production incident
Many teams add reliability KPIs next to these, such as availability against an SLO (for example, 99.9% of requests successful over 30 days) and p95 latency, the response time that 95% of requests beat. DORA metrics are meant to be measured for a team or service and used for improvement, not to rank individual developers. For a wider view, see engineering productivity metrics beyond DORA and SPACE.
Writing a KPI people can act on
"Improve customer satisfaction" can't be managed. The SMART test is the quickest way to turn a wish like that into something you can track:
Letter | Meaning | Question to ask |
|---|
S | Specific | Exactly what is measured, and for which product, region or team? |
M | Measurable | Is there a formula and a reliable data source? |
A | Achievable | Is the target realistic given the baseline and resources? |
R | Relevant | Does it connect to a real business goal? |
T | Time-bound | By when, and how often is it reviewed? |
Applied to three weak KPIs, it looks like this:
Weak KPI | SMART KPI |
|---|
Improve support | Raise CSAT for India-region email support from 82% to 88% by 31 March, measured weekly from the helpdesk survey |
Ship faster | Reduce median change lead time for the payments service from 3 days to under 1 day by end of Q2 |
Hire better | Cut average time to hire for engineering roles from 45 to 35 days this financial year while keeping offer acceptance above 80% |
Look at the last one closely. It carries a guardrail: the speed KPI is paired with a quality KPI, so nobody can hit the speed target by rushing candidates through while acceptance falls. I'd add a guardrail like that to any KPI that's easy to game.
Then write every KPI down in one place, so that everyone works from the same definition:
kpi: Monthly customer churn rate
goal: Retain more paying customers
formula: customers_lost_in_month / customers_at_month_start * 100
target: "< 2.0%"
direction: lower_is_better
frequency: monthly
owner: Head of Customer Success
source: billing database, subscriptions table
guardrail: Net revenue retention >= 100%
Building a KPI dashboard in Power BI
A KPI dashboard shows, on one screen, each KPI's current value, its target, its trend and whether it's on track. Power BI is a common choice for this; if you're new to it, start with What is Power BI. Excel also works well for small teams, using PivotTables, conditional formatting and charts. Power BI becomes the better choice when you need scheduled refresh from multiple data sources, row-level security, or sharing across a larger organisation.
Start by choosing five to ten KPIs per audience. An executive dashboard and a support team dashboard should not be the same page, because each audience can act on different numbers.
Next, model the data as a star schema: a fact table (orders, tickets, deployments) and dimension tables (date, product, region, team). Add a proper date table so that time intelligence functions work, and store targets in their own table, by month and segment.
Then define each KPI once as a DAX measure and reuse it everywhere:
Total Revenue = SUM ( Sales[Amount] )
Revenue Target = SUM ( Targets[RevenueTarget] )
Revenue vs Target % =
DIVIDE ( [Total Revenue], [Revenue Target] )
Revenue Status =
VAR Pct = [Revenue vs Target %]
RETURN
SWITCH (
TRUE (),
ISBLANK ( Pct ), BLANK (),
Pct >= 1, "On track",
Pct >= 0.9, "At risk",
"Off track"
)
Revenue Last Year =
CALCULATE ( [Total Revenue], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
Use DIVIDE rather than the / operator, so that a zero target returns blank instead of an error.
Power BI's built-in KPI visual needs a base measure (the value), a target and a trend axis such as month, according to Microsoft's KPI visual documentation. To build one:
- Add your measure (for example, Total Revenue) and a date field such as month to a chart.
- Sort the axis by month in ascending order. You can't change the sort after converting the chart to a KPI.
- Select the KPI icon in the Visualizations pane.
- Drag your target measure into the Target field.
- In Format visual, set Trend axis > Direction to "High is good" or "Low is good".
That last step is the one people forget. Higher is better for revenue, but for resolution time or change fail rate, lower is better, and the wrong setting reports a good month as a bad one.
Around the KPI visuals, use cards for headline numbers, line charts for trends and conditional formatting for status colours, and always show the target and the last period next to each value. A number without a comparison means little. For rating-style indicators, see creating dynamic star KPIs in Power BI using SVG images and DAX. Finally, schedule a data refresh that matches the KPI cadence and put a recurring review on the calendar. A dashboard nobody discusses changes nothing.
Calculating a KPI at the source in SQL
If your KPI data lives in a database, you can compute it there and feed the result to any BI tool. Here is monthly churn in SQL Server:
WITH months AS (
SELECT DISTINCT DATEFROMPARTS(YEAR(StartDate), MONTH(StartDate), 1) AS MonthStart
FROM dbo.Subscriptions
)
SELECT
m.MonthStart,
COUNT(CASE WHEN s.StartDate < m.MonthStart
AND (s.EndDate IS NULL OR s.EndDate >= m.MonthStart)
THEN 1 END) AS CustomersAtStart,
COUNT(CASE WHEN s.EndDate >= m.MonthStart
AND s.EndDate < DATEADD(MONTH, 1, m.MonthStart)
THEN 1 END) AS CustomersLost
FROM months m
CROSS JOIN dbo.Subscriptions s
GROUP BY m.MonthStart
ORDER BY m.MonthStart;
Divide CustomersLost by CustomersAtStart in your report to get the churn percentage. On large tables, replace the cross join with a calendar table and indexed date ranges.
Where KPI programmes go wrong
The most common failure is simply having too many. If everything is a KPI, nothing is. Most teams can act on three to seven; keep everything else as supporting metrics on a secondary dashboard. Close behind is the vanity metric. Total registered users, page views and social followers look good but rarely drive a decision, so prefer active users, conversion and retention.
A KPI with no owner gets discussed and never improved, and one with no target can't tell you if you're doing well. Inconsistent definitions are just as damaging: if finance and sales calculate "revenue" differently, every meeting turns into an argument about whose number is right. Document each formula and calculate it once, in a shared semantic model or view.
Watch the balance of the set too. Lagging KPIs on their own tell you what went wrong after it's too late to fix, so add leading indicators that give early warning.
Then there's Goodhart's law: when a measure becomes a target, people optimise the measure instead of the outcome. Support teams closing tickets prematurely to hit a resolution-time target is the classic case. Guardrail KPIs help, and so does looking at the actual work behind the numbers. The same instinct should stop you using team KPIs to rank individuals. Deployment frequency or tickets closed per person invites unhealthy competition and hides collaboration. Measure systems and teams, and coach individuals separately.
Finally, don't set and forget. Priorities change, so review the KPI set at least once a year and retire anything that no longer drives a decision. If you're starting from nothing, pick one goal, define one KPI for it with the template above, give it an owner and a target, and review it monthly before adding a second.
Join the conversation! Your thoughts help the community grow.