In baseball, an at bat (AB) or time at bat is a batter's turn batting against a pitcher. An at bat is different from a plate appearance. A batter is credited with a plate appearance regardless of what happens during his turn at bat. A batter is credited with an at bat only if that plate appearance does not have one of the results enumerated below. While at bats are used to calculate certain statistics, including batting average and slugging percentage, a player can qualify for the season-ending rankings in these categories only if he accumulates 502 plate appearances during the season.
A batter will not receive credit for an at bat if their plate appearance ends under the following circumstances:He receives a base on balls (BB).
He is hit by a pitch (HBP).
He hits a sacrifice fly or a sacrifice bunt (also known as sacrifice hit).
He is awarded first base due to interference or obstruction, usually by the catcher.
He is replaced by another hitter before his at bat is completed, in which case the plate appearance and any related statistics go to the pinch hitter (unless he is replaced with two strikes and his replacement completes a strikeout, in which case the at bat and strikeout are still charged to the first batter).
In addition, if the inning ends while he is still at bat (due to the third out being made by a runner caught stealing, for example), no at bat or plate appearance will result.. In this case, the batter will come to bat again in the next inning, though the count will be reset to no balls and no strikes.
Section 10.02.a.1 of the official rules of Major League Baseball defines an at bat as: "Number of times batted, except that no time at bat shall be charged when a player: (1) hits a sacrifice bunt or sacrifice fly; (2) is awarded first base on four called balls; (3) is hit by a pitched ball; or (4) is awarded first base because of interference or obstruction..."
At bat Wikipedia
An at bat is counted when:The batter reaches first base on a hit
The batter reaches first base on an error
The batter is called out for any reason other than as part of a sacrifice
There is a fielder's choice
"At bat", "up", "up at bat", and "at the plate" are all phrases describing a batter who is facing the pitcher. Note that just because a player is described as being "at bat" in this sense, he will not necessarily be given an at bat in his statistics; the phrase actually signifies a plate appearance (assuming it is eventually completed). This ambiguous terminology is usually clarified by context. To refer explicitly to the technical meaning of "at bat" described above, the term "official at bat" is sometimes used.