TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is experimental probability? Formula and examples

Experimental probability is the number of times an event happened divided by the number of trials. The formula, worked examples, how it differs from theoretical probability, and why a 15% rate from 20 visitors tells you far less than one from 2,000.

Lin Zhou Reviewed by Su He Also called empirical probability Last updated Nov 29, 2026 Glossary

Quick answer

Experimental probability is the probability of an event estimated from actual trials: the number of times the event occurred divided by the total number of trials. Unlike theoretical probability it changes as trials accumulate, and it becomes reliable only when the number of trials is large.

Formula: P(E) = number of times event E occurred ÷ total number of trials

What is experimental probability?

Experimental probability (also called empirical probability or relative frequency) is the probability of an event estimated from what actually happened in repeated trials: the number of times the event occurred divided by the number of trials. If you flip a coin 10 times and get 7 heads, the experimental probability of heads is 7 ÷ 10 = 0.70.

It is the counterpart of theoretical probability, which is worked out from the possible outcomes before any trial is run (a fair coin has 1 head out of 2 equally likely outcomes, so 0.50). The two usually disagree in small samples and move closer as the number of trials grows. That last point, the law of large numbers, is why experimental probability matters far beyond the classroom: every conversion rate, bounce rate or click-through rate in an analytics report is an experimental probability, and how much you can trust it depends on how many trials sit underneath it.

Experimental probability formula

P(E) = number of times event E occurred ÷ total number of trials

Three worked examples, from classroom to website:

ExperimentTrialsTimes the event occurredExperimental probability
Flip a coin, event = heads1077 ÷ 10 = 0.70
Flip a coin, event = heads1,000512512 ÷ 1,000 = 0.512
Roll a die, event = a six601313 ÷ 60 ≈ 0.217
Landing-page visit, event = sign-up2,000300300 ÷ 2,000 = 0.15

The result is always between 0 (never happened) and 1 (happened every time). It can be written as a fraction, a decimal or a percentage. The steps are the same every time: define the trial, define the event, count both, divide.

The definition of a trial is where real-world mistakes happen. For a landing page, a trial could be a session, a unique visitor or a pageview, and each gives a different probability from the same data.

Experimental vs theoretical probability

Experimental probabilityTheoretical probability
Based onObserved outcomes of trialsReasoning about possible outcomes
FormulaOccurrences ÷ trialsFavorable outcomes ÷ possible outcomes (equally likely)
Coin example7 heads in 10 flips = 0.701 ÷ 2 = 0.50
Changes when you run more trials?YesNo
Needs equally likely outcomes?NoYes
Website example300 sign-ups from 2,000 visits = 15%Does not exist: no one can list a visitor's "equally likely outcomes"

The last row is the important one for business data. For a coin or a die, theoretical probability is available and experimental probability is a check on it. For a conversion rate, there is no theoretical value to compare with. The experimental probability is the only estimate you have, so the question becomes how precise it is.

Why more trials give a more reliable number

The law of large numbers says that as the number of trials grows, the experimental probability tends to get closer to the true probability. OpenStax's Introductory Statistics gives a real example: two math professors who tested a Belgian one-euro coin in 250 trials got heads 56% of the time, not the 50% you might expect, and the textbook uses it to show that a modest number of trials can still sit several points away from the long-run value.

How far away? A confidence interval puts a number on it. The NIST/SEMATECH e-Handbook of Statistical Methods recommends the Wilson method for a proportion, because the simpler normal approximation can produce impossible negative limits when samples are small. Recomputed with Wilson 95% intervals:

DataExperimental probability95% Wilson intervalInterval width
7 heads in 10 flips70%39.7% – 89.2%49.5 points
140 heads in 250 trials (OpenStax example)56%49.8% – 62.0%12.2 points
512 heads in 1,000 flips51.2%48.1% – 54.3%6.2 points

The 10-flip result of 0.70 looks far from 0.50, but its interval includes 0.50 comfortably. Even 140 heads in 250 trials has an interval that just reaches 50%. Only with many more trials does the interval narrow enough to say much.

Worked example: two landing pages at 15%

Sample data: two landing pages both report a 15% sign-up rate.

PageVisitors (trials)Sign-upsExperimental probability95% Wilson interval
A20315%5.2% – 36.0%
B2,00030015%13.5% – 16.6%

Same number, very different information. Page A's true rate could plausibly be anything from about 5% to 36%; a single extra sign-up would move the headline from 15% to 20%. Page B's rate is pinned to within about a point and a half either side. If someone proposes redesigning page A because "it converts at 15% and we need 20%", the honest answer is that 20 visits cannot tell 15% from 20%.

A rough planning rule follows from the same arithmetic. To estimate a rate near 15% to within ±5 points (95% confidence) you need about 1.96² × 0.15 × 0.85 ÷ 0.05² ≈ 196 trials; to within ±2 points, about 1,225. The sample size page covers the full calculation for comparing two rates, and the confidence interval page explains how to read the intervals above.

Common mistakes with experimental probability

  1. Reporting a rate without the count. "15%" means little without "of 20" or "of 2,000". Always show trials next to the probability.
  2. Changing what counts as a trial. Sessions, visitors and pageviews give different denominators. A conversion rate per session is not comparable with one per visitor.
  3. Expecting small samples to match theory. Seven heads in ten flips is not evidence of a biased coin; the 95% interval is 39.7% to 89.2%.
  4. Counting non-human trials. Bot visits are trials that can never convert. They push the experimental probability down and make it less stable.
  5. The gambler's fallacy. After five tails, the next flip of a fair coin is still 50% heads. Experimental probability describes the past run, not a debt the next trial has to repay.

Reading experimental probabilities in TapCub

Every rate in TapCub is an experimental probability: conversions divided by visitors, bounces divided by sessions, chats that ended in a goal divided by chats. TapCub does not run A/B tests or split traffic; it measures what happened, so the job is to read each rate together with its trial count.

  1. Check the trial count next to every goal rate. In Web analytics › Goals, the conversion rate divides converting visitors by unique visitors in the selected dates. Before acting on page A's 15%, look at how many visitors sit behind it; 20 visitors gives you the 5%–36% interval above.
  2. Keep bots out of the denominator. New projects count recognized bots and AI crawlers in Web analytics › Bots only, so they are not trials in your human conversion rates.
  3. Let the product flag tiny samples where it can. In Live chat › Reports › Conversion attribution, TapCub compares the conversion of visitors who chatted with those who did not, and shows a small-sample notice when fewer than 30 visitors chatted.
  4. Compute the interval yourself when it matters. TapCub reports the rate, not a Wilson interval. Export the numerator and denominator (or query them in All-platform analytics › Behavior › Metrics & SQL) and apply the formula before making a decision on a small page.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Lin Zhou

Product Experience Specialist

Writes about product experience, practical workflows, and growth, turning complex processes into clear steps for everyday decisions.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do you calculate experimental probability?

Count how many times the event happened and divide by the number of trials. If 7 of 10 coin flips land heads, the experimental probability of heads is 7 ÷ 10 = 0.70. Define the trial and the event first; for a website, a trial might be a visitor and the event a sign-up.

What is the difference between experimental and theoretical probability?

Theoretical probability comes from reasoning about equally likely outcomes before any trial, such as 1 in 2 for heads. Experimental probability comes from what actually happened, such as 7 heads in 10 flips. The theoretical value stays fixed; the experimental value changes and tends toward the true value as trials increase.

Why does experimental probability get closer to theoretical probability with more trials?

Because of the law of large numbers: random runs of luck average out over many trials. In this article's examples, 7 heads in 10 flips has a 95% interval of 39.7% to 89.2%, while 512 heads in 1,000 flips narrows it to 48.1% to 54.3%.

Is a conversion rate an experimental probability?

Yes. A conversion rate is the number of conversions divided by the number of visitors or sessions, which is exactly occurrences divided by trials. That is why a 15% rate from 20 visitors (95% interval 5.2% to 36.0%) is far less reliable than 15% from 2,000 visitors (13.5% to 16.6%).

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics