Sub topic 14
Retention, Expansion, and Viral Loops
This chapter assumes you know what activation is, how to read a signup-to-paid funnel, and how packaging gates work. It covers what happens after a user activates. Retention keeps them. Expansion grows what they pay. Viral loops bring in new users without ad spend.
Why the funnel is really a loop
A funnel ends at conversion. A PLG business does not. Revenue depends on whether customers stay, whether they buy more, and whether their usage brings in other customers. If you only optimize signup, activation, and conversion, you fill a bucket that may have holes in it.
Three ideas make up the post-activation side of PLG:
- Retention is the share of users or accounts that are still active (or still paying) after a given period.
- Expansion is revenue growth from existing customers, through more seats, higher plans, or more usage.
- A viral loop is a path where using the product exposes it to new people, and some of them sign up.
Retention
Two kinds of retention
Product teams usually track two different things, and mixing them up causes confusion.
- Usage retention asks whether a user or account still performs a core action. Example: 40% of accounts created in March ran a report in week 8.
- Revenue retention asks whether paying customers keep paying. It has two common forms. Gross revenue retention (GRR) counts only losses from cancellations and downgrades, so it cannot exceed 100%. Net revenue retention (NRR) also adds expansion, so it can exceed 100%.
Usage retention is a leading indicator. Revenue retention lags it. A drop in weekly active accounts in month 2 usually shows up as churn in months 4 to 6.
Reading a retention curve
A cohort retention table shows, for each signup cohort, the share still active in each later period. The shape of the curve matters more than any single number.
| Curve shape | What it means | Typical response |
|---|---|---|
| Falls steadily to zero | No habit forms. Users try the product and leave. | Revisit the aha moment. This is often a product-fit problem, not a marketing one. |
| Falls, then flattens above zero | A core group of users has formed a habit. | Find what the flat group did early. Push more users toward it. |
| Flat or rising | Strong retention, sometimes driven by expansion within accounts. | Protect it, and look at expansion. |
A flattening curve is the target. It means there is a stable base to build on. The level where it flattens tells you how big that base is.
Choosing the retention action
Retention is only meaningful if you pick the right action to measure. "Logged in" is a weak choice, because users can log in from an email link and do nothing. Choose the action that reflects real value, usually close to your activation event but repeatable. For a reporting tool, that might be "viewed or shared a report," measured weekly.
The same logic applies to the period. A tool used daily should be measured weekly or daily. A tool used at month-end, such as invoicing, should be measured monthly. Measuring a monthly-use product weekly makes healthy customers look like churners.
Calculating revenue retention
The calculation is simple, but people often get the cohort wrong. Measure only customers who were paying at the start of the period. New customers added during the period are excluded.
def revenue_retention(start_mrr: float, expansion: float,
contraction: float, churned: float) -> tuple[float, float]:
"""Return (GRR, NRR) for a cohort of customers paying at period start.
start_mrr: monthly recurring revenue from the cohort at the start
expansion: added MRR from upgrades, seats, usage
contraction: lost MRR from downgrades
churned: lost MRR from cancellations
"""
if start_mrr <= 0:
raise ValueError("start_mrr must be positive")
grr = (start_mrr - contraction - churned) / start_mrr
nrr = (start_mrr + expansion - contraction - churned) / start_mrr
return grr, nrr
grr, nrr = revenue_retention(
start_mrr=50_000, expansion=9_000, contraction=2_000, churned=4_000
)
print(f"GRR: {grr:.1%}")
print(f"NRR: {nrr:.1%}")With these made-up numbers, GRR is 88.0% and NRR is 106.0%. The business loses 12% of its starting revenue, but expansion more than makes up for it. That is the pattern PLG companies aim for: an NRR above 100% means the existing base grows even with zero new signups.
Expansion
Expansion is where PLG's low-friction entry pays off. A team that starts on a cheap plan can grow into a larger one without a sales negotiation. There are three common routes.
- Seat expansion. More people in the account use the product. This is the strongest route for collaborative tools, because each new user also raises switching costs.
- Plan upgrades. The account hits a limit or needs a gated feature, such as longer history or SSO, and moves up a tier.
- Usage-based growth. Price rises with consumption, such as API calls, storage, or events processed.
Expansion depends on the packaging decisions from the earlier chapter on gates and limits. If the free or entry plan has no natural limit tied to growing value, accounts never have a reason to expand. If limits arrive before users see value, they cause churn instead.
Expansion signals
Expansion works best when it is triggered by real signals rather than a calendar. Useful signals include:
- Active seats growing week over week.
- Repeated hits against a plan limit.
- A new department or workspace joining an account.
- Use of a feature that exists only on a higher plan, such as a trial of that feature.
These are the same kinds of signals used for product-qualified leads. A self-serve upgrade prompt can handle small accounts. Sales assist can take the larger ones.
Viral loops
What counts as a loop
Not every product has a viral loop, and "going viral" is not a plan. A loop needs a repeatable mechanism. Three types are common in PLG:
- Collaboration loops. A user invites teammates because the work needs them. Examples: shared documents, shared boards.
- Output loops. A user shares something the product produced, and the viewer sees the product. Examples: a shared report, a public form, a branded link.
- Referral loops. The product rewards existing users for bringing in new ones, such as extra storage or credit.
Collaboration and output loops tend to work better, because the sharing is part of the job being done. Referral loops depend on incentives and attract more low-intent signups.
Measuring a loop
Two numbers describe a loop:
- Invites (or shares) per active user, and the conversion rate of those invites into signups.
- Cycle time, the days between a user joining and their invitees joining.
Multiply the first two to get the viral coefficient (k): the number of new users each existing user brings in.
def viral_coefficient(invites_per_user: float, invite_conversion: float) -> float:
"""New users generated per existing user in one loop cycle."""
return invites_per_user * invite_conversion
k = viral_coefficient(invites_per_user=4.0, invite_conversion=0.15)
print(f"k = {k:.2f}")
users = 1000.0
for cycle in range(1, 4):
users += users * k
print(f"after cycle {cycle}: {users:.0f} users")Here k is 0.60. The loop is not self-sustaining, because k is below 1. Each cohort of 1,000 users brings in 600 more, then 360 from those, and so on. Most B2B products have k well below 1. The loop still helps. It acts as a multiplier on paid and organic acquisition, so a k of 0.6 means each acquired user is worth about 1 / (1 − 0.6) = 2.5 users over time.
Making a loop work
- Put the invite at the moment of need. Prompt for invites when the user is about to collaborate, not on a settings page.
- Make the invitee's first experience valuable. An invitee who lands on an empty product will not activate. Show them the shared work first.
- Count activated invitees, not clicks. Invite conversion that stops at signup rewards spam.
- Watch for unwanted invites. Pushing users to email people who did not expect it creates spam complaints and brand damage.
Common errors
- Reporting retention on the wrong action. Logins or page views overstate retention and hide churn.
- Blending cohorts. An overall retention number mixes old and new customers. New cohorts may be worse or better than the average.
- Ignoring seasonality. A product used in tax season will show a deep trough every year. Compare same periods.
- Counting k from top users only. Averages across all active users are lower than the top 10%.
- Expanding too early. Upsell prompts shown before activation turn users away.
Exercise
A cohort of customers paid $80,000 MRR at the start of a quarter. During the quarter, they added $14,000 through upgrades, lost $3,000 to downgrades, and lost $7,000 to cancellations. Calculate GRR and NRR. Then say what would worry you if the $14,000 of expansion came from two customers.
Show answer
GRR = (80,000 − 3,000 − 7,000) / 80,000 = 70,000 / 80,000 = 87.5%. NRR = (80,000 + 14,000 − 3,000 − 7,000) / 80,000 = 84,000 / 80,000 = 105%. If two customers produced all the expansion, NRR hides a weak base. Most customers may be shrinking or leaving, and the business now depends on two accounts. Check logo retention and GRR, and see whether the expansion can be repeated across other accounts.
Exercise
Your product has 5,000 active users. Each sends 3 invites on average, and 10% of invites become activated signups. What is k, and how many new users does one cycle add? Is the loop self-sustaining?
Show answer
k = 3 × 0.10 = 0.30. One cycle adds about 5,000 × 0.30 = 1,500 users. The loop is not self-sustaining because k is below 1, so each wave is smaller than the last. It still adds value as a multiplier on other acquisition, roughly 1 / (1 − 0.3) ≈ 1.43 users per acquired user.