Baseball On-Base Percentage Calculator
Enter hits, walks, hit-by-pitch, at-bats, and sacrifice flies to instantly compute a player's on-base percentage (OBP) to three decimal places. Unlike batting average, OBP credits the value of walks and hit-by-pitches.
Input
Number of hits (H)
Base on balls (BB)
Hit by pitch (HBP)
Plate appearances minus walks, hit-by-pitch, sacrifices, etc. (AB)
Sacrifice flies (SF)
Result
On-base percentage (OBP)
.375
Times on base
195 times
Plate appearances (denominator)
520 PA
As a percentage
37.5 %
| Formula | OBP = (H + BB + HBP) / (AB + BB + HBP + SF) |
| Numerator (times on base) | 195 |
| Denominator (plate appearances) | 520 |
How it works
- On-base percentage is calculated as (hits + walks + hit-by-pitch) / (at-bats + walks + hit-by-pitch + sacrifice flies) and measures how often a batter reaches base.
- Unlike batting average, OBP also rewards reaching base via walks and hit-by-pitches, so disciplined hitters with a good eye tend to post an OBP higher than their batting average.
- Following baseball convention, results are shown to three decimal places, so a .300 mark is written as ".300".
- The denominator excludes sacrifice bunts and adds only sacrifice flies, which is the standard definition. Enter at-bats as plate appearances minus walks, hit-by-pitch, and sacrifices.
- Blank fields are treated as 0, and the calculation cannot run when at-bats, walks, hit-by-pitch, and sacrifice flies all sum to zero.
- Roughly speaking, an OBP above .350 is considered excellent, and around .400 marks top-tier on-base ability.
Related calculators
Flash Shooting Distance
HobbyCalculate the ideal shooting distance to your subject from a flash unit's guide number, aperture and ISO.
Open calculator →Flash Aperture Calculator
HobbyCalculate the correct f-stop for flash photography from guide number, distance, and ISO. Instantly see the nearest standard f-stop and the correct distance for each aperture.
Open calculator →Lens Focal Length Calculator
HobbyEstimate the lens focal length (mm) and 35mm equivalent you need from your subject distance, real size, and sensor width.
Open calculator →Camera Angle of View Calculator
HobbyEnter a lens focal length and image sensor size to instantly calculate how wide a scene the camera captures: the horizontal, vertical, and diagonal angle of view. Includes presets for full frame, APS-C, Micro Four Thirds and more (plus custom sensor sizes) and shows the 35mm equivalent focal length too.
Open calculator →