# KPIs and Metric Design

> Choosing and defining metrics that reflect real value, including north star metrics, input metrics and guardrails. Free notes, key concepts, resources and a...

Canonical: https://www.internhack.in/roadmaps/tracks/data-analyst/kpi-design
Last updated: 2026-11-28

Choosing and defining metrics that reflect real value, including north star metrics, input metrics and guardrails.

Beginner · about 4 hours · difficulty 2/5

Learn first: [Framing Questions and Requirements](https://www.internhack.in/roadmaps/tracks/data-analyst/problem-framing), [Aggregation with GROUP BY and HAVING](https://www.internhack.in/roadmaps/tracks/data-analyst/sql-aggregation)

A metric is only useful if moving it means the business is actually getting better. Good analysts spend real effort on choosing and defining metrics before reporting on them.

### Types of metrics

- **North star metric**: one number that best captures value delivered to customers, such as weekly listening hours for a music app or nights booked for a travel marketplace.
- **Input (driver) metrics**: levers teams can move that feed the north star: new signups, activation rate, items per order.
- **Guardrail metrics**: things that must not get worse while you optimise: refund rate, page load time, support tickets.
- **Leading vs lagging**: activation this week predicts revenue next quarter; revenue itself lags.

### Properties of a good KPI

- **Clearly defined**: numerator, denominator, time window, filters, and how edge cases (refunds, test accounts) are handled.
- **Actionable**: a team knows what they would do to move it.
- **Sensitive but not noisy**: it moves when something real changes.
- **Hard to game**: optimising it should not damage the business. Counting "calls handled" can reward short, unhelpful calls.

### Ratios vs counts

Report rates (conversion rate, revenue per user) alongside the counts that make them up, so a rising rate caused by a falling denominator is visible.

### Metric documentation

Keep a metric dictionary: name, definition, SQL or DAX, owner, and known caveats. It is the cheapest way to stop meetings arguing about whose number is right.

**Pitfall:** vanity metrics like total registered users that only ever go up. You are ready to move on when you can propose a north star, three input metrics and two guardrails for a product you use.

## Key concepts

- **North star metrics**
- **Input and driver metrics**
- **Guardrail metrics**
- **Leading vs lagging indicators**
- **Vanity metrics and gaming**
- **Metric dictionaries**
- **OKRs and targets**

## Mini project

For a food delivery app, write a metric dictionary with a north star, four input metrics and two guardrails, each with an exact definition and a SQL sketch.

## Check yourself

Give an example of a metric that could improve while the business gets worse, and name a guardrail that would catch it.

## Free resources

- [Key performance indicator (overview)](https://en.wikipedia.org/wiki/Performance_indicator) (Wikipedia)
- [Amplitude docs: metrics and analytics guides](https://amplitude.com/docs) (Amplitude)

Previous: [Working with Stakeholders](https://www.internhack.in/roadmaps/tracks/data-analyst/stakeholder-management) · Next: [Funnel Analysis](https://www.internhack.in/roadmaps/tracks/data-analyst/funnel-analysis)

## More in Business and Product Metrics

- [KPIs and Metric Design](https://www.internhack.in/roadmaps/tracks/data-analyst/kpi-design)
- [Funnel Analysis](https://www.internhack.in/roadmaps/tracks/data-analyst/funnel-analysis)
- [Cohort and Retention Analysis](https://www.internhack.in/roadmaps/tracks/data-analyst/cohort-retention)
- [Unit Economics and Revenue Metrics](https://www.internhack.in/roadmaps/tracks/data-analyst/unit-economics)
- [Diagnosing Metric Changes](https://www.internhack.in/roadmaps/tracks/data-analyst/metric-diagnosis)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Data Analyst Roadmap](https://www.internhack.in/roadmaps/tracks/data-analyst)
