Weighted Earned Run Average: A Context-Adjusted Pitching Metric
This article was written by Spencer Schmalz
This article was published in Fall 2026 Baseball Research Journal
INTRODUCTION
Baseball analytics have consistently evolved towards more contextualization of a player’s ability and performance. Early statistics such as ERA yielded more rudimentary one-dimensional outcomes, while newer, more advanced metrics often analyze multiple variables and separate skills from circumstances. This is exemplified in ERA+ which adjusts for league-wide scoring and Fielding Independent Pitching (which itself solely isolates events directly controlled by pitchers). These statistics have substantially improved the ability to evaluate a pitcher’s performance. Regardless, no run prevention metric exists in which the quality of the opposing hitters and the ballpark in which the runs were prevented are accounted for, each of which significantly impact a pitcher’s ERA, in the way I was seeking.
A six-inning, two-run performance against a lineup featuring Shohei Ohtani, Aaron Judge, Juan Soto, Freddie Freeman, and Mookie Betts is materially different from a performance with an identical stat line against a rebuilding club fielding several Minor League Baseball hitters. Traditional ERA assigns identical value to both outings despite the measurable difference in competitive difficulty. Similarly, a pitcher competing within a division dominated by high-scoring offenses encounters substantially different challenges than one whose schedule is concentrated against weaker offensive clubs. Red Sox pitchers are disadvantaged because Fenway Park has the closest outfield wall out of MLB ballparks, and Colorado Rockies pitchers are disadvantaged by the altitude of their home ballpark, where they pitch the most. These differences accumulate over an entire season and can significantly skew traditional performance statistics.
This paper highlights the importance of Weighted ERA (wERA) as an extension of traditional ERA, rather than as a replacement, because it offers additional context specific to batters faced and ballparks in which the pitcher plays. When compared to traditional ERA, it can provide even more information about pitchers and the difficulty of their schedules. The focal point of this research is that preventing runs against elite hitters in difficult ballparks should receive greater contextual credit than preventing an equivalent amount of runs in a pitcher-friendly ballpark with below-average hitters.
Weighted ERA and its application to MLB pitchers provides analysts, front offices, award voters, and historians with a more accurate and comprehensive understanding of pitchers’ performances over the course of a game, season, and even career.
EXISTING STATISTICS REVIEW
The history of baseball analytics reflects a continual effort to remove sources of bias from player evaluation by accounting for contextual factors outside of an individual’s direct control.
Earned Run Average (ERA)
ERA remains one of baseball’s most familiar statistics because of its simplicity and historical continuity. By measuring earned runs allowed per nine innings, ERA provides an intuitive measure of run prevention. However, ERA does not adjust for ballpark effects, defensive quality, league scoring environment, or opponent strength.
ERA+
ERA+ addresses some of these shortcomings by normalizing ERA relative to league-average scoring conditions and ballpark characteristics. While ERA+ allows comparisons across seasons and venues, it assumes that opposing schedules are broadly and consistently comparable and therefore does not distinguish between pitchers facing markedly different levels of offensive competition.
Fielding Independent Pitching (FIP)
FIP represents a conceptual shift by evaluating only those outcomes thought to be largely under the pitcher’s direct control – strikeouts, walks, hit batters, and home runs. Although FIP reduces defensive influences, it intentionally omits opponent quality and game context.
Expected ERA (xERA) and Statcast Metrics
Statcast-based measures incorporate exit velocity, launch angle, strikeout, and walk rates to estimate expected run prevention. These metrics improve the separation of skill from luck, but remain focused on contact quality rather than the offensive ability of opposing hitters.
Stuff+, Pitching+, and Pitch Models
Recent pitch-design metrics evaluate the physical characteristics of pitches—including velocity, movement, release point, extension, and spin—to estimate pitch effectiveness independent of outcomes. These statistics have become valuable tools for player development and projection, but do not address differences in opponent quality.
THE REMAINING GAP
Although modern pitching metrics adjust for numerous contextual variables, they generally treat all opposing hitters as equal once league averages have been established. They also rarely account for the specific ballpark in which the results were achieved, thereby ignoring a relevant factor in the difficulty of run prevention. Consequently, pitchers who consistently face elite offenses may be systematically undervalued, while those benefitting from weaker schedules may be disproportionately overvalued. Similarly, pitchers who play more often in hitter-friendly ballparks will be disadvantaged compared to their peers who pitch in ballparks where scoring is more difficult. The absence of statistics incorporating these two factors represents a gap in run-prevention metrics, and wERA is proposed to resolve these deficiencies.
RESEARCH OBJECTIVES
This study seeks to answer four principal questions:
- Can pitcher performance be more accurately measured by incorporating the offensive quality of the actual lineups faced and the ballpark context?
- Does adjusting for opponent quality and ballpark context improve the predictive value of earned run statistics relative to ERA alone?
- Which pitchers benefit most—and least—from schedule strength and ballpark context under the proposed methodology?
- Can opponent-adjusted run prevention provide additional insight for player evaluation, award voting, and historical comparisons?
The following sections describe the construction of wERA, its mathematical framework, and the validation procedures that will be used to evaluate its effectiveness relative to existing pitching metrics.
METHODOLOGY
The principal objective of wERA is to isolate a pitcher’s run-prevention performance from two contextual factors that are largely beyond the pitcher’s control:
- The offensive quality of the opposing lineup
- The run-scoring characteristics of the ballpark in which the game is played
Traditional ERA assumes that every earned run carries equal value and is equally difficult to prevent regardless of competitive context. In reality, preventing runs against elite offenses requires a higher level of performance than preventing runs against below-average offenses, just as preventing runs at a hitterfriendly ballpark, like Coors Field, requires a higher level of performance than preventing runs at a pitcherfriendly ballpark, like T-Mobile Park. wERA attempts to complement ERA by measuring the contextual difficulty of a pitcher’s run prevention while preserving the intuitive interpretation of ERA.
VARIABLES
Table 1 summarizes the variables incorporated into wERA:
Average opponent wRC+ is used because it is the most accurate and comprehensive statistic to determine the true quality of a lineup’s offensive value, due to the fact that it accounts both for ballpark and league context. Opponent quality is calculated using the wRC+ of the average hitter faced in that appearance, found by taking each hitter’s wRC+ then multiplying it by plate appearances, adding them all together, then dividing by the total plate appearances. In doing so, it is possible to account for lineup changes caused by injuries, rest days, platoons, substitutions, and roster transactions which would be impossible to do if season average statistics were used.
ASSUMPTIONS
The initial implementation relies on several assumptions:
- Opposing lineup quality is adequately represented by weighted average wRC +
- Park Factor captures most of the run-scoring differences attributable to the characteristics of the ballpark
- Opponent quality influences run prevention proportionally
- The Bayesian prior stabilizes zero-run performances without materially affecting larger earned-run totals
These assumptions will be evaluated in later sections.
MATHEMATICAL FORMULATION
The proposed formula, below, is conceptually illustrated in Figure 1.
(((ER+1) / ((PF/100) (Average Opponent wRC+/100)) -1) * (9 / IP)
The resulting statistics estimate how difficult it was to produce the observed run prevention.
Figure 1. Mathematical Formulation
WHY ADD 1 EARNED RUN?
Without adding one earned run, shutouts would result in a wERA of zero regardless of opponent or ballpark. Recognizing that all shutouts are not of equal difficulty, it is important to use this stabilizer in the formula to differentiate between shutouts. Introducing a stabilizer prevents the adjustment from collapsing to zero, while preserving proportional differences among performances. It is then balanced out at the end by subtracting 1. The prior functions similarly to Bayesian shrinkage methods frequently used throughout modern sports analytics. Although this paper adopts [alpha=1], future research should evaluate alternative priors such as 0.25, 0.50, 0.75 and 1.00 through predictive validation.
WHY USE MULTIPLICATIVE ADJUSTMENT?
The offensive quality of hitters affects every run-prevention opportunity, meaning a pitcher who faces a lineup 20% above average encounters greater difficulty in preventing runs across the entire appearance, not just if/when they allow runs to be scored. For this reason, lineup quality is modeled multiplicatively rather than additively. Similarly, ballpark effects influence run scoring throughout the pitcher’s entire appearance, so it is also modeled multiplicatively. Although multiplicative adjustment is used in this initial formulation, future regression analyses may identify alternative functional forms that improve predictive performance.
WORKED EXAMPLE
Consider the following six-inning performance shown in Table 2:
The resulting value reflects that allowing two earned runs against an elite lineup in a hitter-friendly park represents a more difficult, and therefore, significant achievement than traditional ERA alone recognizes. Traditional ERA from this performance would be 3.00, but the wERA derived from this start is 1.98. This difference reflects the quality of lineup faced and the challenging environment, or ballpark, in which the results were achieved.
INTERPRETING wERA
The statistic should be interpreted similarly to ERA. Lower values indicate better performance. However, differences between ERA and wERA reflect contextual difficulty (Table 3).
Table 3. Interpretation Guide
Because wERA preserves the familiar ERA scale, analysts can interpret results without learning an entirely new metric.
EXPECTED BEHAVIOR
The proposed methodology leads to several testable hypotheses (Table 4):
These hypotheses provide the foundation for the empirical validation presented in subsequent sections.
WHY DIFFERENCES SHOULD EXIST BETWEEN wERA AND ERA
Two pitchers can finish MLB seasons with identical ERAs while playing in completely different competitive environments. For example, one pitcher may spend an entire season facing elite offenses in a high-scoring division; while another benefits from repeated starts against below-average lineups in pitcher-friendly ballparks. Because traditional ERA treats these seasons as equivalent, the obvious differences in true quality are ignored and unaccounted for by the statistic. wERA recognizes and accounts for the impact of quality of batters faced and ballpark pitched in so the true quality of run prevention can be analyzed, quantified, and compared.
UNDERSTANDING ERA MINUS wERA
Perhaps the most informative statistic produced by the model is not wERA itself, but the difference between ERA and wERA. Defined as:
Delta ERA = ERA – wERA
Positive values indicate that traditional ERA may underestimate the difficulty of the pitcher’s assignments. Negative values suggest the opposite (Table 5).
Rather than replacing ERA, this differential serves as a measure of contextual influence (Table 6).
Although all three pitchers recorded identical ERAs, the adjusted metric distinguishes between substantially different competitive environments.
- Pitcher A consistently prevented runs against stronger-than-average offenses.
- Pitcher C accumulated comparable run prevention while facing relatively favorable conditions.
INITIAL APPLICATION TO THE 2025 MLB SEASON
Purpose of the Initial Analysis
The first application of wERA is to examine how adjusting for opponent quality and ballpark alter evaluations of pitcher performance during the 2025 MLB season.
This section is intended as an illustrative demonstration of the proposed methodology rather than a definitive ranking. A comprehensive ranking of all pitchers throughout the season would require appearance-level data for every qualified pitcher, including the offensive quality of each opposing lineup and the ballpark factor associated with every appearance.
The purpose of this preliminary analysis is to demonstrate the types of insights that an opponent-adjusted metric may provide beyond traditional ERA.
Illustrative 2025 Leaderboard
Based upon publicly available data related to lineup strength and MLB’s Park factor, several pitchers would be expected to experience meaningful adjustments once opponent quality is incorporated.
The following does not provide estimates and conditions are generalized for the entire season, but calculated wERA values using data from the entire season are predicted to be between .2 and .75 lower than season ERAs (Table 7).
Because of the talented lineups/divisions faced and hitter-friendly ballparks encountered when these pitchers’ results were derived, they would have a lower wERA than ERA (Table 8).
Because of the weaker lineups/divisions and pitcher-friendly ballparks faced when these pitchers’ results were derived, they would have a higher wERA than ERA, with a difference likely around .2 to .75.
POTENTIAL APPLICATIONS
An opponent-adjusted run-prevention metric has several practical applications beyond single player evaluation (Table 9).
Because strength of schedule varies considerably across divisions and seasons, incorporating opponent quality can reduce bias in several forms of player evaluation.
Table 9. Potential Uses of wERA
CASE STUDY
Consider a hypothetical where pitchers X & Y are both in contention for the Cy Young Award or a free agent contract, or are being compared for a historical baseball publication. The job of a pitcher is to prevent runs, but if the existing run prevention metric (ERA) suggests the players are equal, evaluators may then switch to using less telling statistics, like Wins, or different statistics that are less related to run prevention. Instead, wERA could be utilized to better understand their results in the context of their opponents and ballpark and to gauge the true quality of their success (Table 10).
When wERA is incorporated into the comparison, Pitcher X is revealed to be significantly more effective at preventing runs, which is a valuable conclusion in comparing the players and determining the better performing player.
Table 10. Player Comparison
TRANSITION TO VALIDATION
While the above-stated examples demonstrate the conceptual impact and use of adjusting earned run prevention for quality of batter and ballpark pitched in, it is also important to analyze whether or not these adjustments can improve the measurement of pitcher’s ability. A useful statistic not only explains the past but also provides information about and predictions for future performances. This following section evaluates wERA through predictive testing, year-to-year stability, and comparisons between existing statistics.
VALIDATION OBJECTIVES
The proposed validation program addresses four primary questions:
- Does wERA predict future run prevention better than traditional ERA?
- Does wERA demonstrate greater year-to-year stability?
- Does opponent-quality adjustment explain variance not captured by existing statistics?
- Does wERA provide meaningful information after accounting for FIP, xERA, and ERA + ?
Each question can be tested using publicly available MLB data.
PREDICTIVE TESTING
The first and most important evaluation examines whether first-half wERA predicts second-half performance more effectively than ERA.
To do this, the WHIP and ERA for the first and second half of the 2025 MLB season for the 15 pitchers with the most innings pitched were compiled, and then their wERA was calculated for each half (Table 11).
The distribution between first and second half statistics for each pitcher are shown on Graph 1.
The wide dispersion of observations, shown on Graph 2, indicate that a pitcher’s first and second half WHIP are very weakly correlated, and therefore WHIP is a very poor predictor of later season success.
The data in Graph 3 shows a positive trend line, suggesting that a pitcher’s second half ERA is normally higher than their first half ERA. It also shows a wider dispersion, meaning a weak correlation, which again indicates that ERA is also a poor predictor of later season performance.
wERA also shows a positive trend line between first and second half data, but the dispersion is noticeably tighter than both ERA and WHIP. This means that there is a stronger correlation between first and second half wERA than the above listed stats. Therefore, it is a better predictive statistic across a season (Table 12).
The above analysis provides evidence that wERA exhibits the strongest relationship between first and second half statistics for each pitcher because it has the lowest P-Value (.0787), which is significant at the 0.1 confidence level and is nearly statistically significant at the 0.05 confidence level. In addition, it has the highest RA2 value of the three statistics (.219), which indicates that nearly 22% of variability in a pitcher’s second half wERA is accounted for by their first half wERA. It is important to note that both ERA and wERA would likely have higher RA2 than these data exhibit. Framber Valdez had a first half ERA of 2.75 and wERA of 2.77 but a second half ERA of 5.2 and wERA of 5.03. This big change is due to the fact that his curveball lost effectiveness and more of his pitches ended up in the middle of the plate, and this significant gap decreased the RA2 value. A slightly tighter spread of data points can also be observed in wERA versus the ERA, as is expected with the higher RA2 value, which would suggest it is a more consistent predictor of pitchers’ second half performance.
In summary, recognizing that wERA demonstrated the strongest predictive relationship across a season, the data suggest that opponent quality and ballpark adjustments capture meaningful information currently unaccounted for by traditional run-prevention statistics. Further, these variables have a measurable and significant impact in determining, statistically, the success and quality of a pitchers’ performance across a season. This is especially valuable for teams looking to make late season trades. These teams require data that accurately predict a player’s performance to successfully negotiate and price the trade, and wERA is a reliable indicator.
YEAR-TO-YEAR STABILITY
An additional important component of baseball statistics is their stability over multiple seasons. Statistics should measure repeatable skills rather than random variation. To ensure this is the case for wERA, a stability test should be run to analyze pitchers’ wERAs across multiple seasons. Barring anomalies like injuries, performance enhancing drugs, or other extreme circumstances, a pitcher’s ability should be relatively consistent. Some minimal variability is to be expected, related to anything from a bad day to extreme temperatures, but there is a general pattern of stability and consistency of statistics across a pitcher’s career.
To test stability, researchers should compile a list of many MLB pitchers and calculate their wERA across at least five seasons. The stability of their wERA across these seasons should then be compared to the stability of their other statistics across these seasons, most specifically ERA. If the variability in wERA across seasons is comparable, or less than, other measures (and any significant derivations can be sufficiently explained), then the stability of wERA is proven, which further confirms the accuracy and reliability of the statistic in measuring the skills and performances of MLB pitchers’ skills.
COMPARISON WITH EXISTING STATISTICS
The proposed statistics should be compared directly with established alternatives (Table 13).
wERA includes data components beyond those of existing statistics, is stable across seasons, and can serve as a predictive test. The beneficial use of wERA is clear. It provides accurate, valuable, and unique insights into the true quality of pitchers and is useful to teams, fans, researchers, and many others.
SENSITIVITY ANALYSIS
Because wERA introduces several modeling assumptions, each assumption should be tested so the optimal formula can be used (Table 14).
LIMITATIONS OF THE VALIDATION FRAMEWORK
Several limitations should be acknowledged:
- Park factors may fluctuate over time and are themselves estimates.
- Weather, catcher framing, fielding, and defensive positioning are not explicitly incorporated.
- The initial implementation assumes a multiplicative relationship between opponent quality and run prevention.
- Results may differ depending on the offensive metric used (wRC + , OPS + , or another measure).
Recognizing these limitations provides opportunity for future refinement rather than weaknesses in the overall concept.
CONCLUSION
This paper investigates whether adjusting earned run average for the quality of the opposing lineup and the ballpark pitched in can improve pitcher evaluation. The proposed wERA framework complements, and expands upon, existing metrics. It provides a more accurate and comprehensive understanding of a pitcher’s run prevention ability and overall value on the mound.
SPENCER SCHMALZ is a high school student who loves sports (baseball, especially), math, and stats. He is especially interested in developing new statistics to better understand the skill and value of players, specifically pitchers. He hopes to one day work in analytics for a MLB team. He is an avid Dodgers fan, and his favorite pitchers of all time are Clayton Kershaw and Paul Skenes.



















