Batting Average Calculator
Calculate cricket or baseball batting average and related performance statistics.
Did this tool work for you?
How to use this calculator
Cricket batting average divides total runs by dismissals (innings minus not-outs). Baseball batting average divides hits by at-bats. A higher average always indicates better performance.
- 1
Select cricket or baseball.
- 2
Enter total runs (cricket) or hits (baseball) and the number of innings or at-bats.
- 3
For cricket, enter not-outs to get an accurate average.
- 4
For baseball, enter home runs and walks to also see OBP and OPS.
Frequently asked questions
How is a cricket batting average worked out here?
This tool uses runs ÷ (innings − not outs). The denominator is dismissals, not innings, because an innings that ended not out did not end in the batter losing their wicket. The default of 450 runs in 12 innings with 2 not outs gives 450 ÷ 10 = 45.00. The result is shown to two decimal places.
What happens if the batter was not out in every innings?
With 300 runs, 6 innings and 6 not outs there are zero dismissals, so the average is undefined. The calculator shows “n/a (no dismissals)” and lists 0 dismissals instead of dividing. It does the same if not outs are entered as more than the innings played.
Why is there no strike rate?
Strike rate needs balls faced, and the tool has no input for it. The cricket output is limited to average, runs, innings, not outs and dismissals. For a strike rate you would divide runs by balls faced and multiply by 100 yourself.
How is the baseball batting average calculated?
Hits ÷ at-bats, shown to three decimals in the usual baseball style. 150 hits in 500 at-bats is 0.300. Walks are not at-bats, so they never change this figure, only the on-base percentage. The “Not-Outs” field is ignored in baseball mode.
How are on-base percentage and OPS calculated?
On-base percentage here is (hits + walks) ÷ (at-bats + walks). It leaves out hit-by-pitch and sacrifice flies, which official on-base percentage includes, so it can differ slightly from a published figure. OPS is on-base percentage plus the slugging figure below. With 150 hits, 500 at-bats and 60 walks, OBP is 0.375.
Why is slugging labelled “simplified”?
The tool computes (hits + 3 × home runs) ÷ at-bats. That counts every non-home-run hit as a single and every home run as four bases. It has no fields for doubles or triples, so a player with many extra-base hits will have a higher real slugging percentage. 150 hits, 20 home runs and 500 at-bats give 0.420.
What inputs does it reject?
Negative numbers are treated as zero. In baseball mode, hits greater than at-bats, or home runs greater than hits, return a message asking you to check the inputs instead of an impossible average above 1.000. Zero at-bats with zero hits gives 0.000 rather than an error.
Batting average calculator for cricket and baseball
Two sports, two denominators
The same word means different things in the two games. In cricket a batter’s average measures runs per dismissal, so it can exceed 50 for a very good career and has no upper limit. In baseball it is the share of at-bats that produce a hit, so it sits between 0 and 1 and a figure near 0.300 is read as strong. This calculator switches formula when you change the sport, and the same two number fields mean runs and innings in one mode, hits and at-bats in the other.
| Mode | Uses | Formula | Output |
|---|---|---|---|
| Cricket | Runs, innings, not outs | Runs ÷ (innings − not outs) | Average, dismissals |
| Baseball | Hits, at-bats, home runs, walks | Hits ÷ at-bats | Average, OBP, slugging, OPS |
Worked examples in cricket
Three cricket inputs were run through the calculator. 450 runs in 12 innings with 2 not outs gives 10 dismissals and an average of 45.00. A longer record of 1,800 runs in 40 innings with 5 not outs gives 35 dismissals and 51.43. The third row is the edge case: 300 runs in 6 innings, all not out, has no dismissals, so there is no average to report. Not outs raise an average because they add runs without adding a dismissal, which is why the same runs total can produce different averages.
| Runs | Innings | Not outs | Dismissals | Average |
|---|---|---|---|---|
| 450 | 12 | 2 | 10 | 45.00 |
| 1,800 | 40 | 5 | 35 | 51.43 |
| 300 | 6 | 6 | 0 | n/a (no dismissals) |
Worked examples in baseball
A season of 150 hits in 500 at-bats with 20 home runs and 60 walks returns 0.300 batting average, 0.375 on-base percentage, 0.420 simplified slugging and 0.795 OPS. The walks lift on-base percentage by 75 points above the average because they add to both the top and the bottom of the fraction. A second line of 30 hits in 100 at-bats with no walks or home runs returns 0.300 for all three rates and an OPS of 0.600.
| Hits | At-bats | HR | BB | AVG | OBP | SLG (simplified) | OPS |
|---|---|---|---|---|---|---|---|
| 150 | 500 | 20 | 60 | 0.300 | 0.375 | 0.420 | 0.795 |
| 30 | 100 | 0 | 0 | 0.300 | 0.300 | 0.300 | 0.600 |
Reading the numbers
An average is a rate over the sample you enter, so a short run of innings or at-bats moves a lot with each result. Ten at-bats cannot separate a 0.300 hitter from a 0.200 one. In cricket the format matters too: averages from different formats and eras are not directly comparable, and the calculator treats all innings alike. Enter totals from a single format if you want a like-for-like figure.
What it does not cover
There is no strike rate, no balls faced, no distinction between doubles, triples and singles, and no hit-by-pitch or sacrifice-fly field. It does not weight recent form or adjust for the quality of opposition or ballpark. Use it for the standard definitions and treat the simplified slugging and OPS as approximations.
Learn more from an authoritative source:
WikipediaMoneyline Payout Calculator
Calculate moneyline bet profit and return for American odds favourites and underdogs.
Golf Handicap Calculator
Calculate your golf handicap index from recent scores using the World Handicap System formula.
Cricket Run Rate Calculator
Calculate current run rate, required run rate, and match projections for cricket innings.
Fantasy Sports Points Calculator
Calculate fantasy sports points for cricket, NFL, soccer, or basketball based on player performance stats.
Betting Odds Converter
Convert between decimal, fractional, and American moneyline odds with implied probability and payout calculation.
Parlay Payout Calculator
Calculate potential parlay payout from multiple betting selections (legs) using decimal odds.
Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →