Throughout the 2016 Rio Games, Bloomberg tracked the medals won by each country. Wealthier nations tend to win more medals overall. But when you look at the ratio of medals to gross domestic product, or even medals per capita, bigger and richer is not always better. Click the columns below to sort.

For complete 2016 Rio Olympics coverage visit our topics page.