Cricket Batting Average Calculator Formula

Understand the math behind the cricket batting average calculator. Each variable explained with a worked example.

Formulas Used

Batting Average

batting_avg = total_runs / (innings_batted - not_outs)

Runs per Innings

runs_per_innings = total_runs / innings_batted

Times Dismissed

times_dismissed = dismissals

Variables

VariableDescriptionDefault
total_runsTotal Runs Scored2500
innings_battedInnings Batted60
not_outsNot Out Innings8
dismissalsDerived value= innings_batted - not_outscalculated

How It Works

Cricket Batting Average

Batting average in cricket is the total runs scored divided by the number of times the batsman was dismissed (not total innings).

Formula

Batting Average = Total Runs / (Innings - Not Outs)

Unlike baseball, cricket averages use dismissals rather than plate appearances. Not-out innings (where the batsman remained unbeaten) are excluded from the denominator, which can inflate averages for lower-order batsmen who are frequently not out.

Worked Example

A batsman scores 2,500 runs in 60 innings with 8 not outs.

total_runs = 2500innings_batted = 60not_outs = 8
  1. 01Dismissals = 60 - 8 = 52
  2. 02Batting average = 2,500 / 52 = 48.08
  3. 03Runs per innings = 2,500 / 60 = 41.67