WAR measures a player's value in all facets of the game by deciphering how many more wins he's worth than a replacement-level player at his same position.
WAR= (Batting Runs (RBI) + Fielding Runs Above Average + Positional Adjustment + League Adjustment + Base Running Runs) + Runs Added or Lost Due to Grounding into Double Plays/Runs Per Win