On Base Percentage Calculator
On-base percentage from (H + BB + HBP) / (AB + BB + HBP + SF), plus slugging percentage and OPS from the hit breakdown. A Moneyball view adds batting average, isolated discipline (OBP minus AVG), walk rate, isolated power, Gross Production Average, and basic Runs Created. Sacrifice flies count against OBP but not against batting average or slugging.
This tool sends nothing over the network. Everything you enter is processed on your device and never reaches our servers.
Documentation
An on base percentage calculator measures how often a batter avoids making an out: the share of plate appearances that end with the batter safely on base through a hit, a walk, or a hit by pitch. It is the statistic at the center of Moneyball, Michael Lewis's 2003 account of how the 2002 Oakland Athletics, under general manager Billy Beane, won 103 games on a payroll of about $40 million, roughly a third of the New York Yankees' payroll, by buying on-base ability the market undervalued.
The hit breakdown of singles, doubles, triples, and home runs adds up to hits (H) and also drives total bases. At bats (AB) count only official at bats, which exclude walks, hit by pitches, sacrifice flies, and sacrifice bunts. Bases on balls (BB) include intentional walks. Sacrifice flies (SF) count in the OBP denominator even though they are not at bats, while sacrifice bunts are left out of OBP entirely. Every count is a whole number of zero or more, and hits cannot exceed at bats, since every hit is also an at bat; a line that breaks either rule is rejected rather than scored.
OBP = (H + BB + HBP) / (AB + BB + HBP + SF). Slugging percentage is total bases per at bat, SLG = (1B + 2 x 2B + 3 x 3B + 4 x HR) / AB, and OPS = OBP + SLG. The Moneyball view adds batting average, AVG = H / AB; isolated discipline, IsoD = OBP - AVG, the on-base value that comes from walks and hit by pitches rather than hits; walk rate, BB / PA, where PA is AB + BB + HBP + SF; isolated power, ISO = SLG - AVG, the extra bases per at bat beyond singles; Gross Production Average, GPA = (1.8 x OBP + SLG) / 4, which weights a point of OBP 1.8 times a point of slugging and lands on the familiar batting-average scale; and Bill James's basic Runs Created, RC = (H + BB) x TB / (AB + BB).
Rates print to three decimals without the leading zero, as box scores do, so .362 reads as three-sixty-two. Rating bands follow the FanGraphs rules of thumb for MLB hitters: an OBP of .390 is excellent, .370 great, .340 above average, .320 average, .310 below average, and .300 poor; an OPS of 1.000 is excellent, .900 great, .800 above average, .710 average, .670 below average, and .600 poor. League averages drift with the run environment, and small samples swing widely, so a 20 at-bat line says little. In Moneyball, Paul DePodesta's model valued an extra point of OBP at about three times a point of slugging; later estimates put OBP at roughly 80 percent more valuable, which is where the 1.8 weight in GPA comes from.
A season of 100 singles, 30 doubles, 3 triples, and 20 home runs in 550 at bats, with 70 walks, 5 hit by pitches, and 5 sacrifice flies, has 153 hits and 228 times on base in 630 plate appearances, so OBP = 228 / 630 = .362. Total bases are 100 + 60 + 9 + 80 = 249, so SLG = 249 / 550 = .453 and OPS = .815. Batting average is 153 / 550 = .278, which leaves an isolated discipline of .084, and Runs Created is (153 + 70) x 249 / (550 + 70) = 89.6.
Sabermetric analysis reshaped how front offices, coaches, and fans evaluate offensive talent. OBP, SLG, and OPS remain foundational metrics two decades after Moneyball carried them into front offices. The following scenarios illustrate practical applications across baseball contexts.
- Fantasy Baseball Drafts: Rank free-agent pickups by OPS to identify undervalued hitters whose walk rates lift their on-base numbers beyond what batting average alone reveals. With similar power, a player hitting .260 with a .380 OBP makes fewer outs than a .290 hitter with a .310 OBP.
- Coaching and Player Development: Track a developing hitter across weekly intervals to spot whether plate discipline is improving alongside raw hitting ability. A rising isolated discipline with a flat batting average signals better pitch selection.
- Historical Comparisons: Career totals put a current player beside all-time benchmarks: Ted Williams holds the career OBP record at .482, and Barry Bonds set the single-season mark of .609 in 2004.
- Front Office Valuation: Sorting a roster or free-agent class by OBP and OPS finds the hitters delivering the most offensive value per plate appearance, the Moneyball approach. At the team level, OBP and OPS track runs scored far more closely than batting average does.
- Moneyball Comparisons: Set a patient hitter with a modest average beside a free swinger with a higher one. Isolated discipline and walk rate show how much of each player's on-base value comes from refusing bad pitches, the skill the 2002 Athletics paid least for.
- Broadcast and Journalism: A box-score line converts to OBP, SLG, and OPS in one pass, which suits on-air graphics and deadline pieces.
- Youth and Amateur Leagues: Introduce young players to advanced metrics with their own season stats. Seeing a concrete OBP number beside a "great" or "above average" label makes the statistic tangible and motivating.
- Academic Research: Plate appearance data supports classroom exercises and regression models exploring the relationship between OBP and team wins, a core thesis of the sabermetric movement.
Inputs, outputs, and what the On Base Percentage Calculator computes
What the On Base Percentage Calculator asks for and what it returns, as a plain list. Defaults, units, and ranges are the ones the form loads with.
Inputs
- Singles (1B) (text input) · default: 0
- Doubles (2B) (text input) · default: 0
- Triples (3B) (text input) · default: 0
- Home Runs (HR) (text input) · default: 0
- At Bats (AB) (text input) · default: 0
- Bases on Balls (BB) (text input) · default: 0
- Hit by Pitch (HBP) (text input) · default: 0
- Sacrifice Flies (SF) (text input) · default: 0
- Show step-by-step formulas · default: off
Controls
Calculate · Reset
Example
A season of 100 singles, 30 doubles, 3 triples, and 20 home runs in 550 at bats, with 70 walks, 5 hit by pitches, and 5 sacrifice flies, has 153 hits and 228 times on base in 630 plate appearances, so OBP = 228 / 630 = .362.