An all-time medal table for all Olympic Games from 1896 to 2016, including Summer Olympic Games, Winter Olympic Games, and a combined total of both, is tabulated below. These Olympic medal counts do not include the 1906 Intercalated Games which are no longer recognized by the International Olympic Committee (IOC) as official Games. The IOC itself does not publish all-time tables, and publishes unofficial tables only per single Games. This table was thus compiled by adding up single entries from the IOC database.
The results are attributed to the IOC country code as currently displayed by the IOC database. Usually, a single code corresponds to a single National Olympic Committee (NOC). When different codes are displayed for different years, medal counts are combined in the case of a simple change of IOC code (such as from HOL to NED for the Netherlands) or simple change of country name (such as from Ceylon to Sri Lanka). As the medals are attributed to each NOC, not all totals include medals won by athletes from that country for another NOC, such as before independence of that country (see individual footnotes for special cases such as combined teams). Names in italic are national entities that no longer exist. The totals of NOCs are not combined with those of their predecessors and successors.
The table is pre-sorted by the name of each Olympic Committee, but can be displayed as sorted by any other column, such as the total number of gold medals or total number of overall medals. To sort by gold, silver, and then bronze, sort first by the bronze column, then the silver, and then the gold. The table does not include the medals revoked (e.g., due to doping, etc.).
Medal totals in this table are current as of the 2016 Summer Olympics in Rio de Janeiro, Brazil, and all changes in medal standings due to doping cases up to and including 10 February 2017 are taken into account.