← All tools

Baseball Slash Line Calculator

Enter batting totals to get the slash line: batting average, on-base percentage, slugging percentage and OPS.

official at-bats
including extra-base hits
two-base hits
three-base hits
four-base hits
bases on balls
times hit by a pitch
sac flies, not sac bunts
Enter batting totals to see the slash line.

AVG = hits ÷ at-bats. OBP = (hits + walks + hit by pitch) ÷ (at-bats + walks + hit by pitch + sacrifice flies). SLG = total bases ÷ at-bats, counting a single as one base, a double as two, a triple as three and a home run as four. OPS = OBP + SLG. Enter season totals or any combined totals; reaching base on an error, catcher's interference and sacrifice bunts are not counted as plate appearances here. Rates use the usual baseball style of three decimals without a leading zero below one. Everything is calculated in this page.