Sports Reference Blog

Compare Two Players’ Stats Side-by-Side

Posted by Neil on November 15, 2012

Here's a neat Baseball-Reference trick... To compare any two players, just enter a URL in the following form:

http://www.baseball-reference.com/compare.cgi?top=/players/t/troutmi01.shtml&bottom=/players/c/cabremi01.shtml

Modify that form to include any two players you want, keeping in mind that the "top=" part refers to the player in the upper frame (enter a player's ID from the root directory; i.e. Cabrera's in the "/players/c/" directory) and "&bottom=" refers to the bottom frame. This should work for any combination of two players, as long as you enter the IDs and directories correctly.

7 Responses to “Compare Two Players’ Stats Side-by-Side”

  1. Chase Says:

    Not working for me:

    http://www.pro-football-reference.com/compare.cgi?top=/players/M/MannPe00.htm&bottom=/players/B/BradTo00.htm

  2. BBR Player Comparison Finder » Sports Reference » Blog Archive Says:

    [...] BBR Player Comparison Finder Posted by Neil on November 16, 2012 « Compare Two Players’ Stats Side-by-Side [...]

  3. Neil Says:

    I should note that this is a Baseball-Reference trick only. Not applicable at the other sites (although Basketball-Reference has the Player Comparison Finder - http://www.basketball-reference.com/play-index/pcm_finder.cgi).

  4. Cliff Otto Says:

    There was a simple way to do this not long ago, without having to write urls and knowing what play ids. What happened to it?

  5. Cliff Otto Says:

    There was a simple way to do this not long ago, without having to write urls and knowing player ids. What happened to it?

  6. Morgan Wick Says:

    Newsflash: I don't want to put two entire pages next to each other, certainly not stacked vertically, in frames the rest of the internet left behind in the 90s. I just want to select two or more players and see their stats next to each other in a single table. Nice and simple.

  7. Neil Says:

    @6 - We plan on adding something similar to the Basketball-Reference comparison tool at some point, but for now I don't think the frames method is an awful alternative. It's certainly better than nothing!