Baseball & softball stats calculator
Type a batter's or a pitcher's numbers and get batting average, on-base percentage, slugging, OPS, ERA and WHIP. For softball, ERA is calculated over 7 innings.
Batting results
- AVG
- - Batting average
- OBP
- - On-base percentage
- SLG
- - Slugging
- OPS
- - OBP + SLG
- TB
- - Total bases
- ISO
- - Isolated power
Pitching results
- ERA
- - Earned run average
- WHIP
- - (BB + H) / IP
- K/9
- - Strikeouts per game
- BB/9
- - Walks per game
- K/BB
- - Strikeouts per walk
- Outs
- - Outs recorded
Formulas
Batting
Batting average (AVG): hits divided by at bats.
AVG = H / AB
On-base percentage (OBP): how often the batter reaches base, counting walks and hit by pitch.
OBP = (H + BB + HBP) / (AB + BB + HBP + SF)
Slugging (SLG): total bases divided by at bats. A single is worth 1, a double 2, a triple 3 and a home run 4.
TB = H + 2B + 2×3B + 3×HR · SLG = TB / AB · OPS = OBP + SLG · ISO = SLG − AVG
Pitching
Earned run average (ERA): earned runs allowed per full game. A baseball game is 9 innings; softball, 7.
ERA = ER × 9 / IP (softball: ER × 7 / IP)
Innings pitched are written with outs: 5.1 is 5 innings and 1 out (5⅓), 5.2 is 5⅔.
WHIP = (BB + H) / IP · K/9 = K × 9 / IP
Averages show three decimals without the leading zero, baseball style: .333.
Stats that calculate themselves
In TitanScores every play scored live or in the box score adds to each player's stats per league and season, and builds the leaders.
FAQ
How is batting average calculated?
Divide hits by official at bats. Walks, hit by pitch and sacrifices are not at bats. For example, 3 hits in 10 at bats is .300.
How is ERA calculated?
Multiply earned runs by 9 and divide by innings pitched. For softball, multiply by 7, because a game is 7 innings.
What does 6.2 innings pitched mean?
Six full innings and two outs, that is 6⅔ innings. That is why the next out makes it 7.0, not 6.3.
What is OPS?
The sum of on-base percentage (OBP) and slugging (SLG). It shows in one number how often a batter gets on base and how much power they hit with.
Free tools
No sign-up. Everything is calculated in your browser.
Round-robin schedule generator
Type your teams and get a round-robin schedule by game week, with byes and home-and-away.
Open →TQB calculator (WBSC)
Break baseball or softball ties with the WBSC Team Quality Balance.
Open →Net run rate (NRR) calculator
Work out a cricket team's net run rate match by match.
Open →Standings calculator
Paste results and get soccer, basketball, volleyball, baseball or softball standings.
Open →