According to data compiled by Esri UK, President Obama has made 156 international visits during his eight years in office.

Based on records from the State Department, map and data company Esri UK has calculated that the president has flown over 500,000 miles on Air Force One.

Or the equivalent to 23 times around the globe.

Presidential favourites

Germany was the country that received President Obama the most, clocking in 16 visits since 2009.

France received the president 11 times, and UK came third with six visits. Mexico and Afghanistan tied in fourth place with five visits a piece.

The Obamas visit London, United Kingom, 2011. (Picture: Yui Mok - WPA Pool/Getty Images)

Prince William, Duke of Cambridge and President Obama with Prince George at Kensington Palace, London, 2016 (Picture: Pete Souza/The White House via Getty Images)

President Obama tours the Egypt's Great Sphinx of Giza and the Pyramid of Khafre, Cairo, 2009 (Picture: Pete Souza/The White House via Getty Images)

President Obama and Chancellor Merkel, Krün, 2015 (Picture: Pete Souza/The White House)

President Barack Obama uses binoculars to look at North Korea from the Demilitarised Zone which separates the two Koreas, Panmunjom, 2012 (Picture: Yonhap News via /Getty Images)

Keeping the president out of the country

President Obama is the third most travelled occupant of the Oval Office since the Second World War.

Comparing his record to other two term presidents, he is beaten by his immediate predecessors President G.W. Bush (2001-2009) and President Clinton (1993-2001).

Interactive map from Esri UK

Follow the link (above) to play with the interactive map from Esri UK, which includes an animated timeline and details about each trip.

Picture: (Esri UK)