Cricket Follow on Calculator

Pri Geens

Pri Geens

Cricket Follow-On Calculator

Your Follow-On Analysis

First-Innings Lead
Follow-On Threshold (Law 14)
Follow-On Available to Team A
Team B Avoidance Status
Target to Win
Based on MCC Law 14 (The Follow-On) and ICC Test Playing Conditions. The follow-on exists only in two-innings cricket – ODI, T20 and IPL matches never have a follow-on. Law 14.3 reduces the threshold if the first day is washed out. For estimation only.

What Is a Cricket Follow-On Calculator?

A cricket follow-on calculator compares the first-innings scores of the two teams with the follow-on threshold selected for the match length. The calculator identifies the first-innings leader, shows whether Team A can enforce the follow-on, reports whether Team B reached the avoidance score, and can calculate later-match targets from optional second-innings runs.

The calculator is designed for two-innings cricket. Its match-format choices are Test / 5+ day, first-class 3-4 day, 2-day, and 1-day two-innings matches. The supplied calculator also includes a first-day washout option that reduces certain follow-on thresholds by one match-length tier.

Follow-on availability and follow-on enforcement are separate. Meeting the threshold makes the follow-on available to Team A. The “Follow-On Enforced by Team A?” selection is then used when the calculator interprets optional second-innings scores and determines which team may have a target.

How the Cricket Follow-On Calculation Works

The calculator starts by subtracting Team B’s first-innings score from Team A’s first-innings score:

First-innings lead=A1−B1\text{First-innings lead}=A_1-B_1

Here, A₁ is Team A’s first-innings runs and B₁ is Team B’s first-innings runs. A positive result means Team A leads. A negative result means Team B leads. A result of zero means the scores are level.

If Team A’s lead is at least the applicable follow-on margin, the calculator displays “YES” for follow-on availability.

Follow-on available when A1−B1≥M\text{Follow-on available when }A_1-B_1\ge M

In this relationship, M is the threshold for the selected match format after any first-day washout adjustment.

The calculator also finds the score Team B needs to avoid the follow-on:

Runs needed to avoid follow-on=A1−M+1\text{Runs needed to avoid follow-on}=A_1-M+1

If Team B’s first-innings score is at least that value, the calculator reports “Avoided.” Otherwise, it reports “Not avoided.”

If Team A does not enforce the follow-on and a positive Team A second-innings score is entered, the calculator determines Team B’s winning target as:

Team B target=A1+A2−B1+1\text{Team B target}=A_1+A_2-B_1+1

If the follow-on is marked as enforced and Team B’s combined first- and second-innings total reaches or exceeds Team A’s first-innings score, the calculator instead determines Team A’s possible fourth-innings target:

Team A target=B1+B2−A1+1\text{Team A target}=B_1+B_2-A_1+1

If Team B is following on and its combined total remains below Team A’s first-innings total, the calculator displays the possible innings-margin difference:

Innings margin=A1−(B1+B2)\text{Innings margin}=A_1-(B_1+B_2)

Worked Example

Suppose a Test / 5+ day match is selected, the first day was not washed out, Team A scored 622, and Team B scored 183 in the first innings. The calculator uses a 200-run follow-on threshold.

Lead=622−183=439 runs\text{Lead}=622-183=439\text{ runs}

Because 439 is at least 200, the calculator reports that the follow-on is available. Team B’s avoidance score is:

622−200+1=423622-200+1=423

Team B scored 183, so the calculator reports “Not avoided” and notes that 423 runs were needed. Team A’s lead exceeds the 200-run mark by 239 runs.

How to Use the Cricket Follow-On Calculator

  1. Select the match format: Test / 5+ day, first-class 3-4 day, 2-day, or 1-day two-innings match.
  2. Select whether the first day was completely washed out with no play.
  3. Enter Team A’s first-innings runs. Team A is the side that batted first.
  4. Enter Team B’s first-innings runs.
  5. Select whether Team A enforced the follow-on, did not enforce it, or has not yet decided.
  6. Enter Team A and Team B second-innings runs when you want the calculator to analyze a later-match target. These fields are optional.
  7. Select Calculate to display the first-innings lead, threshold, follow-on availability, avoidance status, and any target or live-match message supported by the entered scores.

The first-innings lead result shows “A +” followed by the lead when Team A is ahead, “B +” when Team B is ahead, or “Level” when the scores are equal. Follow-on availability is displayed separately as YES or NO.

The calculator rejects non-finite or negative run totals. Blank run fields are read as zero, including the first-innings and optional second-innings fields. Reset clears all four score fields, restores Test / 5+ day, selects no first-day washout, returns enforcement to “Not yet decided,” and hides the results.

Understanding the Follow-On Thresholds and Results

The calculator stores a different follow-on margin for each match length. If the first day is marked as completely washed out, its code moves the threshold to the next lower tier. The 75-run tier is not reduced further.

Match FormatNormal ThresholdIf First Day Is Completely Washed Out
Test / 5+ day match200 runs150 runs
First-class, 3-4 day match150 runs100 runs
2-day match100 runs75 runs
1-day two-innings match75 runs75 runs

Team A can only receive a YES follow-on result when it leads after the first innings and that lead meets or exceeds the applicable threshold. If the scores are level, the calculator reports no lead. If Team B leads, it states that Team A cannot enforce the follow-on.

The optional second-innings logic depends on the enforcement selection. When “Yes – Team B is following on” is selected, Team B’s second innings is combined with its first innings. If that total is still below Team A’s first-innings score, the calculator shows a conditional innings-win message. Otherwise, it calculates the runs Team A would need if it bats a fourth innings.

When the follow-on selection is “No” or “Not yet decided,” both choices follow the same target-calculation branch in the code. A positive Team A second-innings score lets the calculator produce Team B’s target. If Team B second-innings runs are also entered, it shows how many more runs are needed or states that Team B has passed the target.

There is an important zero-value limitation. Because blank optional scores and entered zeros are treated the same in several conditions, a second-innings score of exactly 0 may be interpreted as though that innings score has not yet been supplied. For example, the calculator only performs several second-innings target calculations when the entered score is greater than zero.

The summary line also always uses the phrase “Team A leads.” When Team A is level or behind, the summary substitutes a lead of 0, while the separate First-Innings Lead result correctly shows “Level” or Team B’s actual lead. Use the dedicated lead result for that situation.

Frequently Asked Questions

How is the follow-on calculated?

The calculator subtracts Team B’s first-innings score from Team A’s first-innings score and compares the result with the threshold for the selected match format. If Team A’s positive lead equals or exceeds that threshold, the calculator marks the follow-on as available.

What are the follow-on thresholds used by this calculator?

The stored thresholds are 200 runs for Test / 5+ day matches, 150 for 3-4 day first-class matches, 100 for 2-day matches, and 75 for 1-day two-innings matches. Selecting a complete first-day washout reduces the first three thresholds by one tier.

How many runs does Team B need to avoid the follow-on?

The calculator uses Team A’s first-innings score minus the applicable follow-on margin, then adds one run. For example, if Team A scores 500 and the threshold is 200, Team B needs 301 runs for the calculator to report that the follow-on was avoided.

Does qualifying for the follow-on mean it is automatically enforced?

No. The calculator treats availability and enforcement as separate items. A large enough first-innings lead produces a YES availability result, but you separately choose whether Team A enforced the follow-on. That selection changes how optional second-innings scores are interpreted.

Can the calculator find the fourth-innings target?

Yes, in the score combinations implemented by the code. Without an enforced follow-on, a positive Team A second-innings score produces Team B’s target. With an enforced follow-on, a positive Team B second-innings score can produce Team A’s target once Team B’s combined total reaches Team A’s first-innings score.

What happens if Team B leads after the first innings?

The calculator displays Team B’s lead and marks follow-on availability as NO. The avoidance result becomes not applicable because Team A does not lead. The code does not perform its later target calculations inside this branch, even if optional second-innings scores have been entered.

What happens if the first-innings scores are level?

The calculator displays “Level,” notes that both teams made the same first-innings score, and marks the follow-on as unavailable. Team B’s avoidance status is treated as not applicable because Team A has no first-innings lead.