The tool you need, ready to use

OBP Calculator

On-base percentage is the number of times a batter reached base on a hit, walk or hit-by-pitch divided by at-bats plus walks, hit-by-pitch and sacrifice flies. With 520 at-bats, 165 hits, 55 walks, 4 hit-by-pitch and 5 sac flies, that is 224 ÷ 584 = .384, or 38.4 times on base per 100 plate appearances. It is .066 above the 2026 MLB regular-season average of .318, yet 6 of the 135 other qualified MLB hitters were higher.

Last updated 2026-10-23All math stays in your browser
On-base percentage OBP —

Sac flies count only below

0
0

Walks and hit-by-pitch count in both the numerator and the denominator, so enter them only in the top row. Do not enter sacrifice bunts, errors or fielder's choices. For several games, add with + in each field, like 4+3+5.

Per 100 plate appearances

Hover over a dot to see the name

Last updated 2026-10-23Your inputs are not stored

ROBERIN standardThe tool you need,
ready to use.
  • Clear at a glanceInputs and results sit where you expect them.
  • Result firstThe key number comes first; the working only when you need it.
  • Ask lessNo sign-up and no unnecessary details.

520 at-bats, 165 hits, 55 walks, 4 hit-by-pitch and 5 sac flies give an OBP of .384

On-base percentage (OBP) is how often a batter reaches base without making an out. Official Baseball Rule 9.21(f) says to add hits, walks and hit-by-pitch, then divide by the sum of at-bats, walks, hit-by-pitch and sacrifice flies. For the line above, the numerator is 165 + 55 + 4 = 224, the denominator is 520 + 55 + 4 + 5 = 584, and 224 ÷ 584 = 0.3835…, which rounds to .384 at three decimals. Per 100 plate appearances, that is 38.4 times on base.

.384 is .066 above the 2026 MLB regular-season league average of .318. Even so, 6 of the 135 other qualified MLB hitters were higher. The league average includes pinch hitters and bench players, while qualified hitters are the regulars. The calculator above shows both comparisons side by side. The fields follow the official fraction, with the numerator on top and the denominator below, and walks and hit-by-pitch are entered once in the top row and mirrored in the denominator.

Why look at on-base percentage

A team gets only 27 outs in a game. FanGraphs describes OBP as measuring "the most important thing a batter can do at the plate: not make an out," and says it captures contributions to run scoring better than batting average because it includes walks, which batting average ignores. A hitter at .260 who walks a lot and a hitter at .290 who almost never walks can end up with similar OBPs. That is why OBP comes first in situations like these.

  • Choosing a leadoff or No. 2 hitter: These hitters need to be on base when the middle of the order comes up. For these spots, look at OBP before batting average.
  • Checking plate discipline: A big gap between OBP and batting average means a large share of trips to first came on walks and hit-by-pitch. Among 2026 MLB qualified hitters, Mike Trout (LAA) had the biggest gap, with a .242 batting average and a .382 OBP.
  • Rec leagues and youth/high-school ball: With at-bats, hits and walks from the scorebook, you can add up the games and calculate right away. Enter totals like 4+3+5 in each field and the calculator divides the sums.
  • Reading OPS and wOBA: OPS is OBP plus slugging percentage, and wOBA is a "weighted on-base average" that gives each way of reaching base its own run value. Knowing OBP shows what those two stats build on.

How to use it

  1. Pick a league to compare with. Tap KBO, MLB or NPB. The league average, the dotted outline on the 100-PA board and the dots in the ranking below all switch to that league's 2026 regular season.
  2. Enter hits, walks and hit-by-pitch in the numerator. Walks (BB) already include intentional walks. Walks and hit-by-pitch are mirrored in the denominator, so do not enter them again. Blank fields count as 0.
  3. Enter at-bats and sac flies in the denominator. Use at-bats (AB), not plate appearances (PA). Sacrifice bunts do not go in anywhere.
  4. Read the result. The 100-PA board scales your line down to 100 plate appearances and colors it by hits, walks, hit-by-pitch, outs and sac flies. The dotted outline is where the average hitter in that league gets on base. The verdict sentences compare your line with the league average, the qualified hitters and the way of reaching base, in that order.
  5. Try a target OBP. If the target is above your OBP, you see how many plate appearances in a row you would need to reach base to get there. If it is below, you see how many outs in a row you could make and still stay above it. Copy result and Copy link share the current line as it is.

How OBP is calculated

  • OBP = (hits + walks + hit-by-pitch) ÷ (at-bats + walks + hit-by-pitch + sacrifice flies)
  • Batting average = hits ÷ at-bats (walks, hit-by-pitch and sac flies are not at-bats)
  • Times on base per 100 PA = OBP × 100
Examples of OBP for different stat lines
Stat lineTimes on base (numerator)DenominatorOBPAVG
520 AB · 165 H · 55 BB · 4 HBP · 5 SF224584.384.317
One game: 1 for 4 with a walk25.400.250
Two walks and no at-bats221.000Not defined
3 for 10 with 2 sac flies312.250.300
Barry Bonds 2004 · 373 AB · 135 H · 232 BB · 9 HBP · 3 SF376617.609.362

The KBO records site and MLB's official stats both give OBP to three decimals. Baseball stats usually drop the leading zero and write .384, and 1.000 means the batter reached base in every plate appearance.

What goes in the numerator and denominator, and what stays out

Events used in the OBP calculation
EventNumerator (on base)DenominatorSource
HitCountsCounts (inside at-bats)Official Baseball Rule 9.21(f)
Walk (including intentional)CountsCountsOfficial Baseball Rule 9.21(f)
Hit by pitchCountsCountsOfficial Baseball Rule 9.21(f)
Sacrifice flyLeft outCountsOfficial Baseball Rule 9.21(f)
First base on an error, fielder's choice or dropped third strikeLeft outCounts (as an at-bat)MLB Glossary · Official Baseball Rule 9.02(a)(1)
Sacrifice buntLeft outLeft outMLB Glossary (usually the manager's call)
First base on interference or obstructionLeft outLeft outOfficial Baseball Rule 9.21(f) comment

For several games, divide the totals

A season OBP is not the average of single-game OBPs. Games have different numbers of plate appearances, so add up hits, walks, hit-by-pitch, at-bats and sac flies separately and divide once.

Averaging game OBPs versus dividing the totals
CaseOn baseDenominatorOBP
Game A: 1 for 1111.000
Game B: 0 for 4 with a walk15.200
Divide the totals (correct)26.333
Average of the two OBPs (wrong)——.600

If you enter at-bats as 1+4, hits as 1+0 and walks as 0+1, the calculator uses the totals, and the formula line ends with "sum of 2 games".

League average OBP (2025 and 2026 regular seasons)

These values add up every team's hitters in the league. Pitchers still bat in the NPB Central League in 2026, so Central League pitcher batting is left out.

League average OBP and batting average (regular-season league totals)
League2026 OBP2026 AVG2025 OBP2026 totals (on base ÷ denominator)
MLB.318.244.31558,304 ÷ 183,082
KBO.346.268.33819,434 ÷ 56,142
NPB (Central League pitcher batting excluded).309.244—19,027 ÷ 61,567

In 2026 the KBO had the highest OBP of the three leagues, up from .338 in 2025 to .346. MLB also edged up from .315 to .318. Per 100 plate appearances, the average KBO hitter gets on base 34.6 times, the average MLB hitter 31.8 times and the average NPB hitter 30.9 times. So a .330 OBP is below average in the KBO but above average in MLB and NPB. Walks and hit-by-pitch made up 32% of times on base in both the KBO and MLB, and 29% in the NPB.

Looking only at qualified hitters raises the bar

OBP of 2026 regular-season qualified hitters
LeagueQualifying PAHittersMedianNo. 1.400 or higherAbove the league average
MLB502 PA135.331Yordan Alvarez (HOU) .432192
KBO446 PA49.366Koo Ja Wook (Samsung) .458834
NPB443 PA45.337Kensuke Kondo (SoftBank) .431139

A qualified hitter needs 3.1 plate appearances per team game (Official Baseball Rule 9.22(a)). In 2026 only one of the 135 qualified MLB hitters topped .400, Yordan Alvarez, and the runner-up, TJ Rumfield (COL), was at .390. In the KBO, 8 of 49 qualified hitters topped .400, led by Koo Ja Wook at .458. In the NPB, Kensuke Kondo was the only one over .400.

The same OBP can come from very different ways of getting on base

OBP adds the share of trips to first from hits and the share from walks and hit-by-pitch. Two hitters with nearly the same OBP can therefore get on base in completely different ways. Below are the pairs of 2026 qualified hitters whose OBP differs by .003 or less and whose ways of reaching base differ the most.

2026 qualified hitters with similar OBP
HitterOBPAVGHBBHBPBB + HBP share of times on base
Munetaka Murakami (CWS).347.2079492651%
Luis Arraez (Philadelphia and one other team).345.31018534517%
Kim Jae Hwan (SSG).334.2179775445%
Park Jae Hyun (KIA).332.29315129117%
Seiya Hosokawa (Chunichi).354.22611392947%
Misho Nishikawa (Chiba Lotte).353.290155411125%

Munetaka Murakami and Luis Arraez are .002 apart in OBP but .103 apart in batting average. More than half of Murakami's times on base were walks or hit-by-pitch, while Arraez got on base by a hit 83% of the time. On the 100-PA board, Murakami's pale walk cells cover far more of the grid. In the KBO, Kim Jae Hwan and Park Jae Hyun show the same pattern: .002 apart in OBP, .076 apart in batting average, with 45% of Kim's times on base coming from walks and hit-by-pitch against 17% for Park.

What counts as a good OBP

FanGraphs OBP scale and 2026 qualified hitters
FanGraphs ratingOBPMLB hitters at or above, of 135KBO hitters at or above, of 49
Excellent.390211
Great.3701722
Above Average.3405537
Average.3209147
Below Average.31010449
Poor.30011549
Awful.29012449

The FanGraphs scale was made in 2010 with MLB in mind. The 2026 MLB average of .318 is close to the scale's "Average" mark of .320, but the 2026 KBO average of .346 is above even "Above Average" at .340. All 49 KBO qualified hitters cleared .310, and 11 reached .390, the "Excellent" mark. For KBO lines, compare with the league average and the qualified median instead of this scale. The reading row in the calculator shows where your OBP falls on the scale as "between two marks".

The highest OBPs of all time

MLB OBP leaders (Baseball-Reference, checked 2026-10-23)
RankSingle seasonCareer (3,000 PA or more)
1Barry Bonds 2004 · .609Ted Williams · .482
2Barry Bonds 2002 · .582Babe Ruth · .474
3Josh Gibson 1943 · .564John McGraw · .466
4Ted Williams 1941 · .553Billy Hamilton · .455
5Charlie Smith 1929 · .550Oscar Charleston · .450

Bonds reached base 376 times in 617 plate appearances in 2004. He drew 232 walks, 120 of them intentional. His .362 batting average was high too, but 62% of his times on base were walks. Baseball-Reference also lists Negro leagues records, which is why Josh Gibson, Charlie Smith and Oscar Charleston appear (the site notes that Negro leagues data is incomplete). Tap the "Bonds 2004" example in the calculator and this line fills 61 cells of the 100-PA board.

Common mistakes

  • Putting sacrifice bunts in the denominator: Sacrifice bunts come out of both the numerator and the denominator. Adding them lowers the OBP.
  • Leaving out sac flies: Sac flies go in the denominator. Dropping them inflates the OBP. In the example above, dropping the 5 sac flies gives 224 ÷ 579 = .387.
  • Counting reaching on an error as being on base: Reaching on an error, fielder's choice or dropped third strike counts as an at-bat only, not as a time on base.
  • Dividing by plate appearances (PA): Plate appearances include sacrifice bunts and catcher's interference, so they are not exactly the denominator. FanGraphs says the swap usually makes little difference but is not perfectly equivalent.
  • Averaging single-game OBPs: That weights games with few and many plate appearances equally. Add up the stats first, then divide.
  • Adding intentional walks a second time: Walks (BB) in a stat table already include intentional walks (IBB).

Limits

  • OBP counts a home run and an infield single as the same single time on base. That is why FanGraphs says to use it alongside other stats. To see power too, look at OPS or wOBA.
  • Stolen bases, baserunning and defense are not included. What a runner does after reaching base needs other stats.
  • There is no park, league or season adjustment. In 2026 alone the league averages are .346 in the KBO and .309 in the NPB, so comparing OBPs across leagues as they are is easy to get wrong.
  • Small samples swing a lot. FanGraphs puts the point where a hitter's OBP stabilizes at 460 plate appearances (based on Russell Carleton's work).
  • The FanGraphs scale is for MLB and dates from 2010. For the KBO and NPB, start with the league average and the qualified median.
  • The NPB 2026 league totals were rebuilt because the official site (npb.jp) could not be reached: Sportsnavi team player stats plus the stats of players who changed teams mid-season were added up. Compared with the team pitching totals, the rebuilt totals are short by 31 plate appearances, 6 hits and 1 walk, and hit-by-pitch matches. The NPB 2025 average is not shown because Central League pitcher batting totals were not available.

As of The formula and explanations were checked on 2026-10-23 against the Official Baseball Rules 2026, the MLB Glossary, the FanGraphs Library and Baseball-Reference. League averages and qualified hitters were calculated from the final 2026 regular-season records and the 2025 regular-season records downloaded on 2026-10-22 from the KBO Records site, MLB's official stats (Stats API) and NPB records.

Sources

Frequently asked questions

How do you calculate on-base percentage?

OBP = (hits + walks + hit-by-pitch) ÷ (at-bats + walks + hit-by-pitch + sacrifice flies). That is the definition in Official Baseball Rule 9.21(f), and walks already include intentional walks. With 520 at-bats, 165 hits, 55 walks, 4 hit-by-pitch and 5 sac flies, it is 224 ÷ 584 = 0.3835…, written to three decimals as .384.

What is the average OBP?

The 2026 regular-season league OBP was .318 in MLB, .346 in the KBO and .309 in the NPB (Central League pitcher batting excluded). In 2025 it was .315 in MLB and .338 in the KBO. League averages include pinch hitters and bench players, so the median for qualified regulars is higher: .331 in MLB, .366 in the KBO and .337 in the NPB.

What is a good OBP?

The FanGraphs scale (2010), built around MLB, calls .390 Excellent, .370 Great, .340 Above Average, .320 Average, .310 Below Average, .300 Poor and .290 Awful. But when a league averages .346, as the KBO did in 2026, .340 is not even average. Comparing with the average of the same league and year is more accurate.

Who had the best OBP in 2026?

Among qualified hitters, Yordan Alvarez (HOU) led MLB at .432, Koo Ja Wook (Samsung) led the KBO at .458 and Kensuke Kondo (SoftBank) led the NPB at .431. In MLB only Alvarez topped .400 among 135 qualified hitters, while 8 of 49 did in the KBO.

Can an OBP reach .600 or 1.000?

In a single game, easily. Going 2 for 4 with a walk gives 3 ÷ 5 = .600, and two walks with no at-bats gives 1.000. For a season, Barry Bonds' .609 in 2004 is the MLB record (120 of his 232 walks were intentional), and Ted Williams' .482 is the career record.

Can OBP be lower than batting average?

Yes. Batting average is hits ÷ at-bats, while OBP adds sac flies to the denominator, so with sac flies and no walks or hit-by-pitch the OBP is lower. Three hits in 10 at-bats with 2 sac flies is a .300 average but an OBP of 3 ÷ 12 = .250. With even one walk or hit-by-pitch, OBP is usually higher.

How do errors, fielder's choices and sacrifice bunts count in OBP?

Reaching first on an error, fielder's choice or dropped third strike counts as an at-bat only, not as a time on base (MLB Glossary; Official Baseball Rule 9.02(a)(1)). Sacrifice bunts are removed from both the numerator and the denominator, and Official Baseball Rule 9.21(f) says to ignore first base awarded on interference or obstruction too. Sacrifice flies go in the denominator.

How many plate appearances before OBP is reliable?

The FanGraphs Sample Size page cites Russell Carleton's work and puts the point where a hitter's OBP stabilizes at 460 plate appearances. Smaller samples can swing a lot even for the same hitter. The calculator adds a note under the verdict when the denominator is below 460.