> ## Documentation Index
> Fetch the complete documentation index at: https://docs.userpilot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How Product Health Score Is Calculated

> Formulas, default weights, weight redistribution, rounding, and refresh frequency for Product Health Score.

This article explains exactly how Userpilot turns your setup into a score, so you can interpret results with confidence and explain them to your team.

## Overview

Every score is calculated in three steps:

1. Calculate each enabled metric as a score from 0 to 100
2. Multiply each metric score by its weight
3. Add the weighted values and round to the nearest whole number

```text theme={null}
Product Health Score = Σ (Metric score × Metric weight)
```

Each user or company is scored by one configuration only: the highest-priority segment it matches, or the default configuration if it matches none. Scores from different segments are never mixed.

## Default weights

| Metric | Company level | User level |
| - | - | - |
| Stickiness | 40% | 50% |
| Feature engagement | 40% | 40% |
| NPS | 20% | 10% |

> [!NOTE]
>
> The weights of the enabled metrics must total exactly 100%, and each enabled metric needs a weight of at least 1%

## Metric formulas

Each metric uses its own time window and is calculated independently. Because every metric is normalized to a 0-100 scale, the time windows don't need to match.

| Metric | Time window |
| - | - |
| Stickiness | 1 to 365 days (default 30 days) |
| Feature engagement | Set per condition, in weeks or months. A condition with no window uses all time |
| NPS | Up to 365 days, 52 weeks, or 12 months |

### Stickiness

Stickiness uses one of two ratios: **DAU/WAU** or **WAU/MAU**.

**Company level**

```text theme={null}
Stickiness = (Average DAU / Average WAU) × 100   or   (Average WAU / Average MAU) × 100
```

The result is capped at 100. For example, with DAU/WAU, an average DAU of 200 and an average WAU of 800 gives (200 / 800) × 100 = **25**.

**User level**

At user level, stickiness measures how regularly the user was active within the stickiness window.

```text theme={null}
DAU/WAU:  Stickiness = (Active days in the window / Days in the window) × 100
WAU/MAU:  Stickiness = (Weeks with any activity / Weeks in the window) × 100
```

* **DAU/WAU** counts days. Weekend days are removed from both sides: activity on a weekend day doesn't count, and weekend days aren't included in the denominator. With the default 30-day window and a Saturday-Sunday [weekend](https://run.userpilot.io/settings/general), the denominator is about 21-22 days.
* **WAU/MAU** counts weeks, where a week is a 7-day block of the window. A week counts as active if the user had any activity in it.
* **DAU/MAU** counts active days within a monthly window. If weekends are excluded, both weekend activity and weekend days are removed from the calculation.

Examples with DAU/WAU, a 30-day window, and 22 weekdays in the window:

| Activity | Stickiness |
| - | - |
| Active on 22 of 22 weekdays | 100 |
| Active on 11 of 22 weekdays | 50 |
| Active on 3 of 22 weekdays | 13.6 |

Example with WAU/MAU and a 28-day window (4 weeks): a user active in 3 of the 4 weeks scores (3 / 4) × 100 = **75**.

How activity is counted:

1. A user is active on a day when they trigger `identify_user`, `session_start`, `page_view`, `track`, `track_feature`, `track_labeled`, `autocapture`, `interaction`, or `screen`
2. `interaction` events from the Resource Center, Resource Center modules, experiments, content throttling, and goals don't count
3. Only web and mobile sessions count. Data sent through the HTTP API doesn't count as an active day
4. The window ends today, the same as other date ranges in Userpilot. Today counts once the account has activity today
5. The weekend days are the ones defined in **[Settings → General](https://run.userpilot.io/settings/general) → Weekends**

### Feature engagement

Feature engagement is based on the conditions you define, up to 10 per configuration. Each condition is a row with one or more events, a minimum count, and an optional time window in weeks or months. Without a window, the condition looks at all time.

Each row has its own **Any of** or **All of** setting:

1. **Any of:** the row's events are counted together. The row is met when their combined total reaches the minimum count
2. **All of:** every event in the row has to reach the minimum count on its own. At company level, the same user has to do this for every event in the row

The score is the share of rows met, calculated for each user or company:

```text theme={null}
User level    = (Rows met by the user / Total rows) × 100
Company level = (Rows met by at least one user in the company / Total rows) × 100
```

For example, with three conditions:

| Condition | User A | Met |
| - | - | - |
| Create invoice ≥ 2 times within 1 week | 1 time | No |
| Send email ≥ 1 time within 1 month | 0 times | No |
| Create workflow ≥ 2 times within 1 month | 2 times | Yes |

User A meets 1 of 3 conditions, so Feature engagement = (1 / 3) × 100 = **33**.

How **Any of** and **All of** change a row: take a row with the events *Create invoice* and *Send invoice*, a minimum count of 3, and a window of 1 month. A user who created 2 invoices and sent 1:

* With **Any of**, meets the row, because 2 + 1 = 3
* With **All of**, doesn't meet the row, because neither event reached 3 on its own

### NPS

NPS ranges from -100 to +100, so Userpilot shifts and scales it to fit the 0-100 range used by the other metrics:

```text theme={null}
Normalized NPS = (NPS + 100) / 2
```

At company level, for example, an NPS of 40 becomes (40 + 100) / 2 = **70**, and an NPS of 0 becomes **50**.

At the user level, a single answer is a promoter, passive, or detractor, so it normalizes to **100**, **50**, or **0**.

You can choose which answers are used:

* **Latest** (default): each user's most recent answer within the time window
* **Average:** every answer within the time window, not just each user's latest

Only answers to the main NPS survey count, and offline answers are excluded.

## When a metric is off or has no data

"No data" and zero are different. A metric scored at 0 lowers the score. A metric with no data, such as NPS with no responses in the selected period, is dropped from the calculation. The same happens when a metric is turned off.

> [!WARNING]
>
> No activity counts as 0, not as no data. If a user or company has no active days in the stickiness window but has other data (such as NPS) or was scored before, stickiness is **0** and lowers the score. Stickiness is only dropped when every day in the window is a weekend day.

When a metric drops out, its weight is redistributed proportionally across the remaining metrics, not equally, so the total stays at 100%:

```text theme={null}
New weight = (Original weight / Sum of remaining weights) × 100
```

For example, with Stickiness at 60%, Feature engagement at 30%, and NPS at 10%, if there's no NPS data:

* Remaining weights: 60 + 30 = 90
* Stickiness: (60 / 90) × 100 = **66.7%**
* Feature engagement: (30 / 90) × 100 = **33.3%**

## Try it

Adjust the metric scores and weights below to see how they combine into a final score and health status.

Load default weights:
Company level
User level

Raw score:

> [!NOTE]
>
> The calculator starts with the company-level default weights and uses the default health bands (At risk below 40, Healthy above 80). Clearing **Has data** simulates a metric with no data or a metric that's turned off.

## Rounding

If the final score has decimals, it's rounded to the nearest whole number, with halves rounded up:

| Raw score | Final score |
| - | - |
| 82.4 | 82 |
| 82.5 | 83 |
| 67.8 | 68 |
| 49.2 | 49 |

## Overall product score

The overall score on the dashboard is the plain average of every scored user's or company's latest score:

```text theme={null}
Overall score = Σ (Final score of each user or company) / Number of users or companies
```

Users or companies whose score has been cleared aren't included. See [How often scores update](#how-often-scores-update).

## From qualifying companies to the Overall Health Score

Take a company-level setup where Stickiness uses a 30-day window, Feature engagement uses a condition with a 2-month window, and NPS uses a 4-month window. Userpilot works through three steps:

**1. Determine which companies qualify for a score**

Userpilot uses the longest time window among the selected metrics. In this example, Stickiness uses 30 days, Feature engagement uses 2 months, and NPS uses 4 months. Since 4 months is the longest window, a company qualifies if it was active within the previous 4 months.

A company that meets the Feature engagement condition within 2 months qualifies even if it has no NPS response and a Stickiness score of zero.

**2. Calculate each company's score**

Each metric uses its own time window. Userpilot multiplies each metric score by its configured weight and adds the results.

If NPS is missing, its weight is redistributed to the other metrics according to the [scoring rules](#when-a-metric-is-off-or-has-no-data). A calculated Stickiness score of zero still counts as zero.

**3. Calculate the Overall Health Score**

Userpilot averages the company scores available on the last day of the selected date range. If **Last 30 days** and **Last 3 months** both end today, they show the same Overall Health Score. The longer range shows more history in the trend.

![Screenshot 2026 11 09 At 19 19 46](https://mintcdn.com/userpilot/VeB5aBLsRbRJ2SbI/images/Screenshot-2026-11-09-at-19.19.46.png?fit=max\&auto=format\&n=VeB5aBLsRbRJ2SbI\&q=85\&s=5cab64e0267b073adb64d25c62619918)

## End-to-end example

A company-level setup with two custom segments and the default configuration:

| Configuration | Stickiness | Feature engagement | NPS |
| - | - | - | - |
| Segment A: High-value customers | 50% | Off | 50% |
| Segment B: New customers | 40% | 60% | Off |
| Default (All segments) | 65% | Off | 35% |

Scores for three companies:

| Company | Matches | Calculation | Score |
| - | - | - | - |
| Company X | Segment A | (80 × 0.5) + (60 × 0.5) = 40 + 30 | **70** |
| Company Y | Segment B | (50 × 0.4) + (70 × 0.6) = 20 + 42 | **62** |
| Company Z | Default | (40 × 0.65) + (30 × 0.35) = 26 + 10.5 = 36.5 | **37** |

Overall score = (70 + 62 + 37) / 3 = 56.3, rounded to **56**.

With the default health bands, Company Z is At risk, and the overall product health is Neutral.

## How often scores update

* **Every hour:** scores are recalculated for users or companies that have been active since the last run.
* **Once a day:** when the application's date changes, scores are recalculated for every user or company with a session inside the longest enabled metric window.

Users or companies with no session inside that window have their stored score cleared, so they drop out of the overall score until they're active again.

While the calculation is paused, scores don't update and keep their last calculated values.

Product Health Score formula: final score = sum of (metric score × metric weight), rounded to the nearest whole number (halves round up). Metrics: Stickiness, Feature engagement, NPS. Default weights at company level: Stickiness 65%, Feature engagement off (0%), NPS 35%. Default weights at user level: Stickiness 85%, Feature engagement off (0%), NPS 15%. Feature engagement is off by default with no conditions. Enabled weights must total exactly 100%, with at least 1% per enabled metric. Company stickiness = average DAU / average WAU (or average WAU / average MAU) × 100, capped at 100. User stickiness: DAU/WAU = active days in the window / days in the window × 100, with weekend days removed from both; WAU/MAU = weeks (7-day blocks) with any activity / weeks in the window × 100. Stickiness window is 1-365 days, default 30. No activity counts as 0, not as no data. Feature engagement = conditions (rows) met / total rows × 100; each row is Any of (events counted together) or All of (each event must reach the minimum count; at company level the same user); at company level a row is met if at least one user meets it; up to 10 conditions. Normalized NPS = (NPS + 100) / 2; NPS can use each user's latest answer or the average of all answers in the window; only the main NPS survey counts, offline answers excluded. A metric with no data or turned off is removed and its weight is redistributed proportionally: new weight = original weight / sum of remaining weights × 100. Default health bands: At risk below 40, Neutral from 40 to 80, Healthy above 80. Scores update hourly for active accounts and daily for accounts with a session inside the longest enabled metric window; other accounts have their score cleared and drop out of the overall average.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.