Total quarterback rating (abbreviated as total QBR or simply QBR) is a proprietary statistic created by ESPN in 2011 to measure the performance of quarterbacks in American football.  According to ESPN, "QBR incorporates all of a quarterback's contributions to winning, including how he impacts the game on passes, rushes, turnovers, and penalties. Since QBR is built from the play level, it accounts for a team's level of success or failure on every play to provide the proper context, then allocates credit to the quarterback and his teammates to produce a clearer measure of quarterback efficiency."
 ESPN claims that it created QBR to be a more meaningful alternative to the traditional passer rating statistic. However, ESPN has never released the complete formulas and procedures to calculate QBR, resulting in criticism among fans and commentators alike questioning the results.
 Total QBR was developed by a team at ESPN Stats & Information Group including Jeff Bennett, Dean Oliver, Alok Pattani, Albert Larcada, and Menlo College professor Ben Alamar. The group also received input from ESPN analysts Trent Dilfer, Jon Gruden, and Ron Jaworski. Total QBR was developed based on analysis of 60,000 NFL plays between 2008 and 2010, and was unveiled on August 5, 2011. The formula was modified in 2012 and again in 2013.
 There are six steps to building QBR:
 Raw QBR is calculated as the following:
 
  
    
      
        R
        a
        w
        Q
        B
        R
        =
        g
        
          (
          
            
              
                A
                d
                j
                u
                s
                t
                e
                d
                E
                P
                A
              
              
                A
                c
                t
                i
                o
                n
                P
                l
                a
                y
                s
              
            
          
          )
        
      
    
    {\displaystyle RawQBR=g\left({\frac {AdjustedEPA}{ActionPlays}}\right)}
  
,
 where g() is a function that scales from 0-100, where 50 is average. Total QBR is the raw QBR adjusted for the strength of the opponent.
 EPA is calculated based on the down, distance, and the yard line at snap, with each combination having its own point value. The point values are the average net point advantage the team on offense can expect given the particular down, distance, and field position. For example, a 1st and goal chance on the opponent's’ 1 yard line heavily favors the offense, yielding a positive point value. On the other hand, a 3rd and 9 on the team's own 3 yard line is heavily negative because it drastically favors the opponent.
 The value of each play's outcome is measured by the snap-to-snap change in expected points. This is called Expected Points Added. The Expected Points Added (or lost) in each play are divided among the contributing players on the field based on the role of each player and the type of play. Deeper throws give a higher share of credit to the QB, while screen passes give relatively less credit to the QB and more to the receiver.
 Plays that occur in “trash time” are discounted by as much as 30%. Trash time is measured based on the leverage of each play which is primarily a function of score, time, and field position. Important, critical plays that are likely to change the outcome have high leverage, while plays that occur after the game has largely been already decided have low leverage. QBR discounts low leverage plays, but does not boost credit for “clutch” plays.
 After each play's Expected Points Added is adjusted for difficulty, division of credit, and trash time, it is averaged on a per play basis. This average is further adjusted to account for the strength of opponent. Performance against a stronger defense that tends to allow low adjusted EPA per play is adjusted upwards while performance against a weaker defense is adjusted downwards. The degree of adjustment is in direct proportion to the strength of the opponent.
 Lastly, the resulting adjusted EPA per play is transformed to a 0 to 100 scale, where 50 is average. The result can be thought of as a percentile. For example, a QBR of 80 means that the QB's performance is better than 80% of the game performances by QB's since 2006. A game QBR of 80 would also mean that, given that QB's performance, his team would be expected to win that game on average 80% of the time.
 According to ESPN, QBR is a more complete and meaningful alternative to the passer rating, which remains the official NFL measure of quarterback performance. The calculation of the NFL passer rating is much simpler than the QBR, as it depends only on passing statistics rather than an analysis of each play a quarterback is involved in. Because of this, some consider QBR to be a more holistic account of a quarterback's performance.
 The QBR calculation accounts for several meaningful statistics that are not included in passer rating, such as throwing distance, sacks, fumbles, designed runs and scrambles. QBR also makes adjustments for situational context with "EPA"—a dynamic statistic that is meant to signify "expected points added" per play.
 Total QBR takes each individual play and measures the expected points added (EPA) for each play. Since every play situation is different, there is a different value for EPA in each case. A team can expect a 0.9 net-point advantage when it is 1st down and 10 yards to go on their own 20 yard line. For the next play, suppose the team passes the ball 8 yards to reach their own 28 yard line on 2nd down and 2. The offense can now expect a 1.4 net-point advantage. EPA is the difference in the expected points at the start and end of a play. In this case it is 1.4 - 0.9 = 0.5 EPA. In a way, the offense has added a half point in potential score based on this play. Similarly, if a team loses yardage on a play, their EPA in that situation would be negative.
 Total QBR takes EPA and adjusts it based on the difficulty of the play. If a quarterback is under duress and avoids a sack to throw a 10-yard pass, Total QBR will reward the quarterback in those situations more than a 10-yard pass with much time to throw. In addition, it understands the importance of depth of target: the quarterback is rewarded more for a 40-yard pass compared to a 10-yard pass where the receiver ran for an extra 30 yards.
 There is a discount on trash time. A 40-yard pass as time expires (without scoring a touchdown or field goal) is much different from a 40-yard pass with enough time to score points.
 Total QBR takes into account the level of difficulty the opponent team's defense is based on the opponent's’ defensive FPI, among other factors.
 Conceptualizing the detail Total QBR puts in can be explained through the 2015 NFC Wild Card game between the Green Bay Packers and the Washington Redskins. Aaron Rodgers of the Packers completed 21 of 36 passes for 210 yards, 2 touchdowns, and 0 interceptions, which computes to a 93.5 passer rating. Kirk Cousins of the Redskins completed 29 of 46 passes for 329 yards with 1 touchdown and 0 interceptions, computing a 91.7 passer rating. Observing these statistics, one is likely to conclude that Cousins and Rodgers had similar success and that it was likely a close game. However, the Packers won, 35-18, and much of the reason for that can be attributed to Rodgers' overall play, not just his passing numbers.
 Traditional passer statistics omit the rest of the impact that these quarterbacks made. Cousins also took 6 sacks, had 3 fumbles (1 lost), and 2 pre-snap penalties on Washington's offense. Rodgers, on the other hand, took only one sack, did not fumble, and drew a number of defensive penalties to keep drives alive. Rodgers manufactured five scoring drives, posting an 82.4 Total QBR. Cousins’ errors resulted in a Total QBR of just 58.9 and were a big factor in Washington losing the game.
 Total QBR is a complex proprietary statistic that has led to questions on what values are being used and to what degree. The data obtained is from a video analyst tracking system instead of an eye test grading system, similar to a football scout.
 Unlike the NFL passer rating, ESPN has not yet been forthcoming on the exact specific formulas and procedures to calculate QBR. The proprietary, complex methodology spans some 10,000 lines of code. In an interview with San Diego's XX Sports Radio, San Diego Chargers quarterback Philip Rivers seemed baffled by the ratings, which put him ninth overall in its metrics for the 2010 season, saying "I still don't get it. I think it's more complicated now."
 In an op-ed piece published by Deadspin, they opine that the clutch index component of the QBR "looks like a weirdly applied version of baseball's leverage metric and which, tellingly, is the sort of mindless branding you get when the network of 'Who's Now' starts dicking around with numbers.".
 Michael David Smith of Profootballtalk.com explained the major drawback of QBR:
 One of the aspects of Total QBR that could be both a strength and a drawback is that it considers data that the average fan doesn’t have access to, like how far a pass travels in the air, and whether the quarterback was under pressure when he threw it ... it means fans can't see for themselves exactly where Total QBR comes from—fans just have to trust that the distance the ball traveled was correctly measured, and how much pressure the quarterback felt on the play was correctly assessed ... If ESPN is committed to this stat and is able to clearly and concisely explain it on the Worldwide Leader’s NFL broadcasts, then fans will quickly become familiar with it and it will soon become a staple of how we talk about quarterbacks. On the other hand, if the stat comes across as too convoluted — or if it doesn’t really seem like much of an improvement on the current passer rating — then this will all feel like a rather pointless exercise. Further criticism of QBR was brought about when, before some tinkering with the equation of QBR, Pittsburgh Steelers quarterback Charlie Batch had the greatest individual game ever evaluated by QBR with a score of 99.9 against the Tampa Bay Buccaneers on September 26, 2010. Batch threw for 186 yards with three touchdowns and two interceptions in the game. He also ran five times for 26 yards. Statistics that helped Batch's QBR rise were that he was not sacked, did not fumble, and that he completed 70.6% of his passes, one of which he spiked into the ground to stop the clock.
 On the other side, noted football author and researcher Brian Burke of Advanced NFL Stats opined that QBR was superior to the traditional passer rating.  The main advantages, in his opinion, are QBR's accounting for many more events in quarterback play than the old rating, and the fact that it avoids the double-counting that plagues the official NFL passer rating.  He did however lament the proprietary nature of the statistic, and predicted it would not become widely used so long as its precise computation details were kept secret (i.e., it is unlikely that CBS, Fox, NBC, and other competing media outlets would want to heavily promote something that is proprietary to ESPN).
 Further controversy erupted when the Total QBR system gave the Denver Broncos' Tim Tebow a higher rating than the Green Bay Packers' Aaron Rodgers in their respective Week 5 contests in 2011. Noting that Rodgers completed 26 of 39 passes for 396 yards and two touchdowns in a win over the Atlanta Falcons, while Tebow completed four of 10 passes for 79 yards and a touchdown, and six rushes for 38 yards and a touchdown, in a loss to the San Diego Chargers.  In a more recent example, a game played on September 24, 2017, Alex Smith of Kansas City Chiefs received an inexplicable QBR of 7.8, half as much as the equally-bad QBR of 16.1 for his counterpart Philip Rivers of the Los Angeles Chargers, even though Smith had a higher completion rate (16/21 vs. 20/40), a better average per completion (7.8 yds vs. 5.9), a far superior TD/int ratio (2-0 vs. 0-3), and won the game handily 24-10.  For comparison, the RTG, 128.1 for Smith and 37.2 for Rivers, was by far a better metric of success. Mike Florio of Profootballtalk.com wrote that he'll "continue to ignore ESPN’s Total QBR stat." Rodgers himself was surprised: "I saw the [QBR stats] and chuckled to myself. I played a full game, [Tebow] played the half. He completed four passes, I completed 26. I think it incorporates QB runs as well ... The weighting of it doesn't make a whole lot of sense." ESPN's Stats and Information Group explained that Tebow's higher rating was the result of him staging a partial comeback, taking no sacks, and having positive rushing yards and a rushing touchdown, among other factors. However, Doug Farrar of Yahoo! Sports wrote that the QBR system lacks a minimum performance frequency floor that players must meet before they can be rated, and thus it essentially penalizes Rodgers because he played throughout the entire game, while rewarding Tebow because he came off the bench in the second half in an attempt to stage a comeback.
 The following is a list of the ten all-time best single-season leaders of the QBR statistic in the NFL:
 The following is a list of the season-by-season leaders of the QBR statistic in the NFL: