Virality coefficient: definition
The virality coefficient is the average number of new users each existing user brings in through invitations or sharing. It is calculated as invitations sent per user multiplied by the share of those invitations that turn into new users. Above 1, a user base grows on its own; below 1, virality multiplies the users you acquire in other ways.
Also called the K-factor, the viral coefficient or the viral factor.
What is the Virality Coefficient?
The virality coefficient measures how many new users each existing user generates. The name K-factor is borrowed from epidemiology, where a similar number describes how many people each infected person goes on to infect. It is calculated as:
K = (invitations sent per user) × (conversion rate of those invitations)
For example: if each user sends an average of 5 invitations and 20% of those invitations convert into new users, K = 5 × 0.20 = 1.0. A K-factor of exactly 1.0 means the user base sustains itself, because every user replaces themselves with one new user. Above 1.0 produces exponential growth. Below 1.0, growth still needs acquisition from other channels, and virality multiplies it.
"Invitation" is used broadly here. It covers a teammate invite, a shared document or dashboard, a public link to something made in the product, and a plain recommendation. Anything a user does that puts the product in front of a new person can feed the coefficient, as long as you can count both how often it happens and how often it turns into a new user.
How to Calculate the K-Factor: a Worked Example
The formula is simple; most mistakes come from counting the wrong people. Work it out per cohort, in four steps:
- Pick a cohort. Take every user who signed up in one period, for example the 200 users who signed up in March.
- Count invitations per user. Suppose 50 of them sent 150 invitations in total. Divide by the whole cohort, not by the 50 who invited: 150 ÷ 200 = 0.75 invitations per user.
- Count conversions. Suppose 30 of the invited people signed up and became active. Conversion is 30 ÷ 150 = 20%. Count an invitee only once they are actually using the product, not when they click the link.
- Multiply. K = 0.75 × 0.20 = 0.15. Every 100 users in this cohort bring in 15 new active users directly, and those 15 bring in a few more.
Dividing by inviters instead of the whole cohort would give 3 invitations per user and a K-factor four times higher, which is the most common way the number gets inflated. Counting clicks instead of active signups is the second. Our product virality guide lists the definitions to hold to for each part of a viral loop, including the second-generation rate most teams never measure.
What the K-Factor Number Means
Because every invited user can invite again, the K-factor works on generations: the users you acquired invite a first generation, that generation invites a second, and so on. The chart shows what three values do to the same 100 acquired users.
Each generation is K times the size of the one before it. Below 1 the generations shrink and the total levels off; above 1 they grow and the total keeps accelerating.
When K is below 1, the generations shrink, and the total number of users you end up with from N acquired users is N ÷ (1 − K). That makes the coefficient easy to translate into acquisition terms:
| K-factor | 100 acquired users become | What it means for acquisition |
|---|---|---|
| 0.1 | about 111 users | Every 9 acquired users bring roughly one more for free. |
| 0.25 | about 133 users | A third more users for the same acquisition spend. |
| 0.5 | 200 users | Every acquired user is worth two, so the effective cost of each user is halved. |
| 0.75 | 400 users | Every acquired user is worth four. |
| 1.0 or more | No ceiling | Growth continues without new acquisition, until the pool of people who can be invited runs out. |
Arithmetic from the formula, assuming the coefficient holds across generations. Real coefficients usually fall as a product spreads.
This is why a coefficient well below 1 still matters. It is a multiplier on every other channel, so it lowers your customer acquisition cost without a separate budget. Our CAC guide covers how to calculate that cost and the other levers that reduce it.
Viral Coefficient vs Related Terms
Several growth terms sit close to the K-factor and are often used as if they meant the same thing:
| Term | What it measures |
|---|---|
| Viral cycle time | How long one turn of the loop takes, from a user joining to that user causing someone else to join. Growth compounds once per cycle, so a short cycle can matter as much as a high K. |
| Referral rate | The share of users who refer or invite at least one person. It says nothing about how many invitations they send or how many convert. |
| Invitation conversion rate | The share of invitations that become active users. It is the second half of the K-factor formula. |
| Viral loop | The repeatable path inside the product that produces invitations: use, need someone else, invite, the invitee joins and uses. The K-factor measures one loop's output. |
| Word of mouth | Recommendations that happen outside the product. They feed growth but are hard to attribute, so they usually show up in a K-factor only through referral codes or "how did you hear about us" answers. |
| Net Promoter Score | How likely users say they are to recommend the product. It measures intent to recommend, while the K-factor measures the users a recommendation actually produced. |
| Virality index | Used loosely for the same idea as the K-factor. In social media analytics it usually means something different: how often a post is shared relative to how many people saw it. |
Types of Virality
Not all virality is the same mechanism, and each type moves a different half of the formula:
- Inherent virality: the product only works or provides value when several people use it. Collaboration tools have it built into the core use case, which is what drives invitation volume.
- Word-of-mouth virality: users tell others because they love the product and the recommendation is genuine. It is driven by product quality and is the slowest to engineer.
- Incentivised virality: referral programmes with explicit rewards, such as extra storage, credits or discounts. They can lift the coefficient quickly, but it often drops back when the incentive is removed.
- Broadcast virality: output shared publicly, such as a "Made with" badge, a public page or a shared report. It creates awareness at the top of the funnel more than direct conversion.
In B2B software the strongest of these is usually inherent: a user invites a colleague because the work needs them, not because they were asked to recommend the product. Our product virality guide breaks down the five loops that work in B2B, and customer advocacy covers the deliberate, programme-driven side of recommendations.
Why Onboarding Moves the K-Factor
Both halves of the formula depend on what happens in a user's first sessions, which is why onboarding is often the cheapest place to lift the coefficient:
- Invitations come from activated users. Almost nobody invites a colleague into a tool they have not got value from yet. Every user who stalls before their first result is a user who will never send an invitation, so raising activation raises invitation volume.
- Invited users need their own onboarding. Someone who arrives from an invitation already has a reason to be there: a shared project, a document, a task. Landing them on a generic welcome flow throws that context away and lowers the conversion half. Our virality guide explains why the loop breaks at the receiving end.
- Faster value means a shorter cycle. The sooner a new user reaches the moment where a second person is needed, the sooner they invite, and the shorter the viral cycle. Reducing time to value speeds up every turn of the loop.
Increase invitation volume by making inviting part of the work: ask for a teammate at the moment the task needs one, make outputs shareable, and put the invite step where users already are rather than in a settings page. Improve invitation conversion by making each invitation specific: a colleague sharing a particular document, with a clear reason to open it, converts far better than a generic "try this product" email.
Kompassify does not send invitations for you; the invite system is part of your product. What it does is put the invitation in front of users at the right moment, without code. An onboarding checklist item such as "Invite a teammate" can redirect users to your invite page once they have completed the steps that lead to their first result. A product tour targeted at the page invited users land on gives them their own short path to the thing they were invited to see. An NPS survey shows you who your promoters are. And Kompassify's no-code product analytics reports activated, engaged and churning users, so you can see whether more users reach the point where inviting makes sense.
Go deeper on the Kompassify blog
Longer guides on the ideas in this entry.
Frequently Asked Questions
Get more users to the point where they invite
Kompassify helps SaaS teams activate new users faster with product tours, onboarding checklists and in-app announcements, then shows the effect in no-code product analytics.
Start for free →Free up to 100 monthly active users · plans from $129/month · GDPR-compliant and EU-hosted