A viral coefficient is the number of new qualifying users attributed to each eligible existing user, measured for a defined cohort and time window. It is also known as K-factor. In the conventional invite model, it equals the average number of invitations per eligible user multiplied by the share of those invitations that turn into qualifying new users.
The formula is short; agreeing on what gets counted is the hard part. Analysts can get different coefficients from the same data by choosing different denominators or cutoffs. This entry is a measurement reference. For the growth-strategy view of the same metric, see Arfadia's K-Factor glossary entry.
The two names describe one calculation. David Skok's practitioner essay on viral marketing labels K the viral coefficient and calculates it by multiplying invitations by the conversion rate (Skok, For Entrepreneurs). Adjust's mobile marketing glossary writes K-factor as K = i × c, with i as average invites per user and c as the conversion rate; its worked example multiplies 4 invites by a 25% conversion rate to reach 1 (Adjust K-factor glossary).
Neither source is a standards body or defines a mandatory event schema. Eligibility, units and cutoffs are decisions your team has to document.
Take three counts from the same cohort:
Then i = I / U, c = A / I and K = i × c; when U and I are above zero, the I terms cancel and K = A / U. If reported i × c does not equal A / U, the inputs came from different populations or units.
Treat c as a conversion probability only when each opportunity can produce at most one qualifying user. A public share link can bring in several signups, making c a yield per opportunity.
Most disputes over a viral coefficient concern the denominator, the invitation unit or the outcome.
The cohort coefficient divides by everyone who could have invited, including users who sent nothing. A sender-only figure divides by senders only. Label it as a separate metric.
Newly registered, activated and paying users are different cohorts. Pick one, state its entry dates and time zone, and count each person once in U.
A share action, a delivered invitation, a unique recipient and a resend are four different things. Google Analytics documents a recommended share event with optional parameters such as method and content type (Google Analytics recommended events), which records a share, not its recipients or the signups that followed. Customer.io's track specification likewise treats each track call as one event with a name and properties (Customer.io track specification).
When invitations come from public posts, for example content produced through user-generated content services or influencer marketing services, decide whether one post counts as one opportunity.
Retries need a rule too: three taps on send to the same friend are one opportunity under a unique-pair unit and three under a send-attempt unit. Never mix units.
A should count distinct people who were not already qualifying users, reached the qualifying event and received exactly one credit. Watch for duplicate devices, competing inviters and existing users signing up again.
Amplitude describes tracking unique users with device IDs, user IDs and its own Amplitude ID, and advises assigning a stable user ID once a user authenticates (Amplitude, track unique users). Its HTTP V2 API can deduplicate repeat event submissions that share an insert_id and device ID within seven days (Amplitude HTTP V2 API). That is event deduplication for retries, not person deduplication.
Google Analytics documents a User-ID feature for sending your own identifiers across platforms (Google Analytics User-ID). Branch documents referral sharing links and tracing install attribution back to them (Branch sharing and referral links), and AppsFlyer documents user invite attribution for installs from existing users' referrals (AppsFlyer user invite attribution). These documented features are not a recommended stack or proof that any setup is configured correctly.
| Viral coefficient element | What to declare | Common counting failure |
|---|---|---|
| Eligible users (U) | Cohort start and end, eligibility event, identity rule, zero-invite inclusion, time zone | Mixing onboarding, activated and paying cohorts |
| Invitation opportunities (I) | Logical unit, origin, timestamps, retry policy, and whether sends, deliveries or exposures are counted | Repeated sends counted as new invitations; public shares with no recipient count |
| Attributed new users (A) | Qualifying event, one count per new person, existing-user exclusion, credit rule for competing inviters | Lost links, device or account splits, self-referrals, double credit |
| Windows and cutoff | Entry, sending, conversion and lookback windows, extraction time, late-event handling | Reporting right-censored cohorts before they mature |
| Reproducibility | Join coverage, rejected-event counts, versioned exclusions, rerun equality | Treating event deduplication as person deduplication |
| Attribution quality | Credited A, with origin-unknown users counted separately | Treating credited signups as caused signups |
A viral coefficient without dates is not reproducible. Record cohort entry, the sending window, the conversion window, any attribution lookback, the extraction time and the time zone separately. None has a universal default.
Google describes attribution as assigning credit for conversions to the ads, clicks and other factors along a user's path (Google Analytics attribution settings). An attribution rule assigns credit. It does not prove causation or set your conversion window.
Branch's deep link reference notes that some short links created through its API or SDK expire after 380 days, with the clock reset by activity, while Quick Links do not expire (Branch deep link reference). Link lifetime says nothing about how long to observe a cohort, so record it separately from your conversion window.
Recent cohorts are right-censored, so K can look as if it is falling while the data is only incomplete. Report cohorts that have passed the full conversion window, or flag immature ones with their cutoff date.
HYPOTHETICAL EXAMPLE. These numbers are invented to show the arithmetic. They are not benchmarks, client results or observations from any real product.
A cohort has 1,000 eligible users (U) who create 4,000 invitation opportunities under a unique-recipient rule (I). By the cutoff, 200 distinct new users have qualified and been credited to someone in the cohort (A).
The check matches, so the arithmetic reconciles under the declared inputs. That is all it shows: it does not establish complete joins, unique persons or that the invitations caused the signups. If a dashboard shows a different K for these inputs, the error is in the pipeline, not the formula.
| Audit case | Cohort inputs | Correct K result | Common K mistake |
|---|---|---|---|
| Zero senders | U = 100; 60 users send nothing; 40 users send 5 each, so I = 200; A = 30 | K = 30 / 100 = 0.30 | Dividing by the 40 senders gives 0.75, a sender-only figure rather than the cohort K |
| Mixed units | U = 1,000; 1,500 send attempts reach 1,200 unique recipients; A = 150 | K = 150 / 1,000 = 0.15 | 1.5 sends per user × (150 / 1,200 = 0.125) = 0.1875, which mixes a send-based rate with a recipient-based conversion |
| Early cutoff | U = 5,000; by day 7, I = 10,000 and A = 200; by day 45, I = 15,000 and A = 2,250 | K = 0.04 at day 7; K = 0.45 at day 45 | Reporting the day 7 value as the cohort's K. Neither value is a stable true K; each belongs to its window |
| No invitations | U = 10; I = 0; A = 0 | K = A / U = 0; c is undefined | Reporting a 0% conversion rate for 0 / 0 |
| Empty cohort | U = 0 | K is undefined | Filling in zero |
In a nonempty eligible cohort with no invitations and no attributed users, K is zero while c is undefined. If I is zero but A is above zero in a fully tracked link model, the attribution pipeline is broken.
A referral click followed by a signup shows that the invitee touched the link, not that the invitation changed the outcome, since some people would have joined anyway. Measuring the incremental effect needs a comparison such as a controlled test, so describe an observed viral coefficient as a credited count per eligible user.
Some new users arrive with no recoverable origin. Do not assume that all or none of them came from invitations.
Hypothetical example: U = 100 and A = 20 credited signups give an observed K of 0.20, and 10 more new users arrived in the window with no recorded origin. If all were referrals, K would be 0.30; if none were, it stays 0.20. Report 0.20 plus a scenario range of 0.20 to 0.30, conditional on that all-or-none assumption. That range is not a statistical confidence interval or a bound on the true causal effect.
Comparing organic installs against paid installs or a pre-campaign baseline gives a different estimand. It depends on the baseline, can come out negative and is not invitation-tracked A / U.
In a simple generational model, each generation of new users equals K times the previous one, so K below 1 shrinks generations, K equal to 1 keeps them flat and K above 1 grows them. Skok's essay discusses this growth threshold together with viral cycle time (Skok, For Entrepreneurs). Viral cycle time is the duration of one invitation-and-response generation.
Andrew Chen's essay on Facebook app virality works through an example of 10,000 users sending 8 invitations each at a 10% conversion rate (Andrew Chen's virality example). Those inputs multiply to 0.8, describing the example's assumptions, not an observed app.
The recurrence counts new users, not active users, so K below 1 does not mean the user base is shrinking and K above 1 does not guarantee survival, revenue or profit. Fixed K breaks with a finite audience or shifting conversion rates, and cycle time decides calendar speed. Never report K as a standalone growth forecast.
Before a viral coefficient goes into a report, a second analyst should answer yes to each question:
A viral coefficient, also called K-factor, is the number of new qualifying users attributed to each eligible existing user over a defined cohort and time window. It equals invitations per eligible user times their conversion share, which simplifies to attributed new users divided by eligible users.
The denominator changes. The cohort coefficient divides by all eligible users; a sender-only figure divides by senders. With at least one sender, the sender-only figure is at least as high; with none, it is undefined. Hypothetically, 100 users, 40 senders and 30 credited new users give K = 0.30 versus a sender-only 0.75.
Yes. With eligible users but no invitations and no conversions, K is zero, while conversions divided by invitations is 0 / 0: undefined, not a 0% rate. An empty cohort makes K undefined too, never zero.
No. Attribution assigns credit by a declared rule, such as which referral link was used. Showing that the invitation changed the outcome needs a comparison such as a controlled test.
No. Link lifetime is a provider setting; Branch, for example, documents that some short links expire after 380 days while Quick Links do not expire. The conversion window is an analyst decision.
There is no universal default. Fit the window to how long invites and signups take in your product, declare it in advance and report it with the result. In one hypothetical cohort, K is 0.04 at 7 days and 0.45 at 45 days. Compare only matching windows and matured cohorts.
We use cookies to ensure the website runs optimally and to help us understand how you use our services. You can choose which categories to allow. Read our Privacy Policy.
Required for basic website functionality. Cannot be disabled.
Help us understand how visitors interact with the website. Data used anonymously.
Used to display relevant ads and measure campaign effectiveness.
Enables live chat, social media integrations, and language preferences.