Marketing

Virality Coefficient (K-Factor)

A product with a virality coefficient above 1 grows without any external acquisition spend: each user brings in more than one new user, and the user base compounds. Below 1, which is where almost every B2B product lives, the same number tells you how far your users multiply every user you acquire. Either way, it changes how you value every growth investment.

Updated October 8, 2026

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:

  1. Pick a cohort. Take every user who signed up in one period, for example the 200 users who signed up in March.
  2. 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.
  3. 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.
  4. 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.

WHAT THE K-FACTOR DOES TO 100 ACQUIRED USERS 0 50 100 150 200 New users in the generation 100 100 Acquired 50 120 Gen 1 25 144 Gen 2 12 173 Gen 3 6 207 Gen 4 Generation of invitations K = 0.5: Amplifies 194 users so far, never more than 200 K = 1.0: Replaces itself 500 users so far, growing in a straight line K = 1.2: Compounds 744 users so far, each generation bigger Illustrative arithmetic, not benchmarks

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-factor100 acquired users becomeWhat it means for acquisition
0.1about 111 usersEvery 9 acquired users bring roughly one more for free.
0.25about 133 usersA third more users for the same acquisition spend.
0.5200 usersEvery acquired user is worth two, so the effective cost of each user is halved.
0.75400 usersEvery acquired user is worth four.
1.0 or moreNo ceilingGrowth 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:

TermWhat it measures
Viral cycle timeHow 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 rateThe 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 rateThe share of invitations that become active users. It is the second half of the K-factor formula.
Viral loopThe 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 mouthRecommendations 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 ScoreHow 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 indexUsed 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.

Frequently Asked Questions

What is a viral coefficient?
A viral coefficient, also called the K-factor or virality coefficient, is the average number of new users that each existing user brings in through invitations or sharing. A K-factor of 0.4 means every 10 users bring in 4 more. It is the single number that tells you how much of your growth the product generates by itself.
How do you calculate the K-factor?
Multiply the average number of invitations sent per user by the conversion rate of those invitations: K = i × c. Count invitations across everyone in the cohort, not only the users who invited, and count a conversion only when the invited person signs up and becomes active. If 200 users send 150 invitations (0.75 per user) and 30 invitees become active users (20%), K = 0.75 × 0.20 = 0.15.
What does a K-factor above 1 mean?
It means each user brings in more than one new user, so every generation of invitations is bigger than the one before and the user base keeps growing without any further acquisition spend. This is what "going viral" means mathematically. It is rare and usually temporary, because the pool of people who can still be invited shrinks as the product spreads.
What is a good K-factor for a SaaS product?
There is no universal threshold, because the number depends on how collaborative the product is, how big a team usually is and how you count invitations. Any K above zero already multiplies your acquisition: a K of 0.5 turns 100 acquired users into about 200. The useful comparison is your own trend, cohort by cohort: is each month's K higher than the last?
Is K-factor the same as referral rate?
No. Referral rate is the share of users who refer at least one person. The K-factor also includes how many invitations each user sends and how many of them convert, so it measures the actual number of new users produced. A product can have a high referral rate and a low K-factor if most invitations are never accepted.
What is viral cycle time?
Viral cycle time is how long one turn of the loop takes: from a user joining to that user causing someone else to join. Compounding happens once per cycle, so a modest K-factor with a cycle of a few days can produce more growth in a quarter than a higher K-factor with a cycle of several weeks.
What does K-factor mean in marketing?
In marketing the K-factor is used the same way as in product teams: the number of new customers each existing customer generates through referrals, invitations or shared content. Marketers use it to estimate how much a referral programme or a share feature multiplies paid and organic acquisition, which lowers the effective cost of acquiring each customer.
How does improving onboarding affect the K-factor?
Directly, through both halves of the formula. Users rarely invite anyone before they have got value from the product themselves, so faster activation raises the number of users who reach the point where inviting makes sense. And invited users who land on a page that shows them why they were invited convert better, which raises the conversion half. Better onboarding also shortens the viral cycle time.

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