1. Home
  2. Calculators
  3. Baseball Stats Calculator

Baseball Stats Calculator

For fans, scorekeepers and fantasy players: turn counting stats into the standard rate stats for pitchers and hitters.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Baseball Stats Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • ERA, WHIP, K/9, BB/9 and FIP
  • Average, OBP, SLG, OPS, ISO and BABIP
  • Innings in thirds, such as 182.1
  • Pitching, hitting or both at once

Supported formats

Input

  • Typed text and numbers

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Baseball Stats Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • FIP needs a league constant that changes each season, so it is an input.
  • It does not adjust for park or league.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Baseball statistics from counting stats: ERA, WHIP, FIP, batting average, OBP, slugging, OPS, ISO and BABIP

Baseball loves its numbers, and most of them are simple rates built from counting stats: hits, walks, strikeouts and outs. This calculator turns the totals from a scorebook or a stats page into the standard measures for pitchers and for hitters. It can calculate pitching, hitting or both in a single go, and it handles the unusual way baseball writes innings.

Innings in thirds

Innings pitched are counted in outs, three to an inning, and written with the extra outs after the point: 6.1 means six innings and one out, which is six and one third, and 6.2 is six and two thirds. The figure after the point can only be 0, 1 or 2. The calculator converts the entry into outs, so 182.1 innings is 547 outs, and uses them in the formulas.

The pitching rates

Earned run average is nine times the earned runs divided by innings pitched, the number of earned runs a pitcher would give up in a nine-inning game. WHIP is walks plus hits per inning. Strikeouts and walks per nine innings show power and control, and their ratio is a quick check of command. FIP, fielding independent pitching, weights home runs, walks plus hit batters and strikeouts, and adds a league constant so that the average FIP matches the average ERA.

The hitting rates

Batting average is hits divided by at bats. On-base percentage adds walks and hit-by-pitch to the numerator and sacrifice flies to the denominator. Slugging is total bases divided by at bats, where a single is one base, a double two, a triple three and a home run four. OPS is on-base plus slugging. Isolated power is slugging minus average, which isolates extra-base power, and BABIP is the batting average on balls put in play, excluding home runs and strikeouts.

A worked example

Press the first sample: a starter with 182.1 innings, 62 earned runs, 155 hits, 48 walks, 201 strikeouts, 19 home runs and 6 hit batters. The ERA is 3.06, the WHIP 1.113, strikeouts per nine 9.921, walks per nine 2.369, the strikeout-to-walk ratio 4.188 and the FIP 3.138 with a constant of 3.10. The hitter has 540 at bats and 162 hits, so the average is .300, on-base .378, slugging .504 with 272 total bases, OPS .882, isolated power .204 and BABIP .345. The second sample is a reliever with 68.2 innings; the third is a hitter alone.

Edge cases

At least one of innings pitched or at bats must be filled in. Doubles, triples and home runs cannot exceed the hits, or the page names the problem. Ratios with a zero denominator, such as strikeouts per walk with no walks, are shown as a dash. The decimals follow baseball custom, three places and no leading zero for averages and percentages.

Limits

Rate stats are descriptions of a small number of events, and over a few games they swing wildly. They do not adjust for ballpark, league, defence or the quality of the opposition. For deeper analysis, sites that publish park factors and adjusted stats are better. The calculator is for turning raw counts into familiar rates quickly and for checking a scorecard.

Checked against the current version of the Baseball Stats Calculator on .

Frequently asked questions

Why is FIP different from ERA?

ERA counts every earned run, including those that came from good or bad defence and luck on balls in play. FIP uses only the things a pitcher controls most directly: strikeouts, walks, hit batters and home runs. A pitcher whose FIP is well below the ERA may have been unlucky, and the reverse suggests good fortune.

How do I find the FIP constant?

Websites that publish league statistics list it each season, and it is chosen so that league-average FIP equals league-average ERA. It has been near 3.10 in recent seasons. The box is an input for that reason, so replace the default with the figure for the league and season you are studying.

How are innings pitched written?

The digit after the point is the number of outs, not tenths: 6.1 is six and one third innings and 6.2 is six and two thirds. The calculator converts these to outs.

What is a good OPS?

League average OPS is usually around .700 to .750. An OPS above .800 is good, above .900 is excellent and above 1.000 is elite.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.