Viral Coefficient: How to Measure and Audit It

A viral coefficient, also called K-factor, is the number of new qualifying users attributed to each eligible existing user in a defined cohort and time window. In the invite model, it equals invitations per eligible user times the share of those invitations that convert.
Optimization A/B TestingCall to Action (CTA)Conversion Optimization
Viral Coefficient: How to Measure and Audit It - Arfadia

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.


Viral coefficient and K-factor are one metric

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.

The formula and its units

Take three counts from the same cohort:

  • U: distinct eligible existing users in the cohort.
  • I: invitation opportunities those users created during the sending window, in one declared unit.
  • A: distinct new users who reached the declared qualifying event and were credited to someone in U under one attribution rule.

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.

Qualitative schematic with no quantities: eligible existing users, invitation opportunities and attributed new users are three measurement units that must come from the same cohort with consistent definitions. Dotted links show association, not causation; repeated symbols do not imply equal counts.

Specify the cohort before you calculate

Most disputes over a viral coefficient concern the denominator, the invitation unit or the outcome.

Eligible users: count the people who sent nothing

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.

Hypothetical cohort, not observed data: 100 eligible users, 40 sent invitations (solid tokens) and 60 sent none (outlined tokens). The denominator of the viral coefficient includes all 100 eligible users, including non-senders.

Invitation opportunities: pick one unit

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.

Attributed new users: one person, one credit

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.

Declarations a reproducible viral coefficient needs

Viral coefficient elementWhat to declareCommon counting failure
Eligible users (U)Cohort start and end, eligibility event, identity rule, zero-invite inclusion, time zoneMixing onboarding, activated and paying cohorts
Invitation opportunities (I)Logical unit, origin, timestamps, retry policy, and whether sends, deliveries or exposures are countedRepeated 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 invitersLost links, device or account splits, self-referrals, double credit
Windows and cutoffEntry, sending, conversion and lookback windows, extraction time, late-event handlingReporting right-censored cohorts before they mature
ReproducibilityJoin coverage, rejected-event counts, versioned exclusions, rerun equalityTreating event deduplication as person deduplication
Attribution qualityCredited A, with origin-unknown users counted separatelyTreating credited signups as caused signups
Context: a proposed audit record built from the cohort, invitation, attribution and window sections of this entry, not a vendor or database schema.

Set the windows and the cutoff

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.

Attribution windows are credit rules

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.

Link expiry is not a 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.

Let cohorts mature before you report

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.


Worked audit with a hypothetical cohort

HYPOTHETICAL EXAMPLE. These numbers are invented to show the arithmetic. They are not benchmarks, client results or observations from any real product.

The base calculation

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).

  • i = 4,000 / 1,000 = 4 invitations per eligible user
  • c = 200 / 4,000 = 0.05
  • K = 4 × 0.05 = 0.20
  • Check: A / U = 200 / 1,000 = 0.20

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.

Counting traps that change the answer

Hypothetical audit cases: how counting choices move K

Audit caseCohort inputsCorrect K resultCommon K mistake
Zero sendersU = 100; 60 users send nothing; 40 users send 5 each, so I = 200; A = 30K = 30 / 100 = 0.30Dividing by the 40 senders gives 0.75, a sender-only figure rather than the cohort K
Mixed unitsU = 1,000; 1,500 send attempts reach 1,200 unique recipients; A = 150K = 150 / 1,000 = 0.151.5 sends per user × (150 / 1,200 = 0.125) = 0.1875, which mixes a send-based rate with a recipient-based conversion
Early cutoffU = 5,000; by day 7, I = 10,000 and A = 200; by day 45, I = 15,000 and A = 2,250K = 0.04 at day 7; K = 0.45 at day 45Reporting the day 7 value as the cohort's K. Neither value is a stable true K; each belongs to its window
No invitationsU = 10; I = 0; A = 0K = A / U = 0; c is undefinedReporting a 0% conversion rate for 0 / 0
Empty cohortU = 0K is undefinedFilling in zero
Context: hypothetical figures from this entry's worked audit, not benchmarks, client results or observations from any real product.

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.


Attribution is not causation

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.

Unknown origins and scenario ranges

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.

Organic uplift is a different number

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.


Reading K across generations

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.


Related measurement concepts

  • Viral loop: the process in which a user invites, an invitee responds and a new qualifying user joins. The coefficient measures its yield.
  • Referral conversion rate: often divides by invitations, clicks or visitors, so it corresponds to c, not K. Referral coefficient has no verified standard definition.
  • Network effects: value that grows with use, a different property from acquisition.
  • Epidemiological reproduction number: a loose analogy whose numbers and thresholds do not carry over.

Audit checklist

Before a viral coefficient goes into a report, a second analyst should answer yes to each question:

  1. Is the cohort defined by dates, eligibility event, identity rule and time zone?
  2. Does U include non-senders, with sender-only figures labeled separately?
  3. Is the invitation unit declared, with rules for retries and public shares?
  4. Does A count each new person once, exclude existing users and settle competing inviters?
  5. Are windows recorded apart from link lifetime, with immature cohorts flagged?
  6. For positive U and I, does i × c equal A/U? Check zero cases separately.
  7. Are origin-unknown users separate, and is the figure called credited, not caused?
  8. Does a rerun on the same extract reproduce the same K?

Frequently asked questions

What is a viral coefficient?

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.

Why does the viral coefficient change when users who sent no invitations are included?

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.

Can a viral coefficient be zero while the conversion rate is undefined?

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.

Does an attributed referral signup prove that the invitation caused it?

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.

Is a referral link's expiry the same as the conversion window?

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.

How long should the observation window be for a viral coefficient?

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.


Related Terms

Sources

  1. David Skok, For Entrepreneurs, Lessons Learned: Viral Marketing
  2. Adjust, What is K-factor in mobile marketing?
  3. Google Analytics, Recommended events
  4. Google Analytics Help, Select attribution settings
  5. Google Analytics Help, Measure activity across platforms with User-ID
  6. Amplitude, Track unique users
  7. Amplitude, HTTP V2 API
  8. Branch, Create In-App Sharing and Referral Links
  9. Branch, Deep Linking Full Reference
  10. Customer.io, Track specification
  11. AppsFlyer, User invite attribution
  12. Andrew Chen, Facebook viral marketing: When and why do apps jump the shark?
We use cookies

We use cookies to enhance your browsing experience, analyze traffic, and personalize content. See our Privacy Policy for details.

Cookie Settings
PT Arfadia Digital Indonesia

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.

Necessary Cookies Always Active

Required for basic website functionality. Cannot be disabled.

Analytics Cookies

Help us understand how visitors interact with the website. Data used anonymously.

Marketing Cookies

Used to display relevant ads and measure campaign effectiveness.

Functional Cookies

Enables live chat, social media integrations, and language preferences.

Preferences saved