# Batting Park Factor (BPF) Calculator (Baseball)

## What is Batting Park Factor?

Batting Park Factor is a metric that compares total runs scored (runs scored by both teams) for home games and away games.
The metric can be interpreted in different ways, from a team’s style of play at home compared to on the road, as well as evaluating different baseball parks for their offensive or defensive friendliness.
BPF is expressed to 3 digits. A batting park factor over 1 favors the hitter, while a BPF under 1 favors the pitcher. The further the number is from one, the more heavily it favors either the hitter or the pitcher.
Other statistics such as Home Runs or hits be used as a substitute for runs to see how a certain park favors different elements of the game.

## How to Calculate BPF

In Baseball, Batting Park Factor (BPF) is calculated as:
$\frac{\frac{\text{Runs Scored (Home)}+\text{Runs Against (Home)}}{\text{Home Games}}}{\frac{\text{Runs Scored (Away)}+\text{Runs Against (Away)}}{\text{Road Games}}}$

## Example

If team has the following statistics:
Home: Games – 158 | Runs Scored – 790 | Runs Against – 780
Away: Games – 139 | Runs Scored – 841 | Runs Against – 891
then:
$\text{Batting Park Factor} = \frac{\frac{790+780}{158}}{\frac{841+891}{139}}$
$\text{Batting Park Factor} = \frac{\frac{1570}{158}}{\frac{1732}{139}}$
$\text{Batting Park Factor} = \frac{9.937}{12.460}$
$\text{Batting Park Factor} = 0.797$
Therefore, the team’s Batting Park Factor is 0.798, or 79.8%.