The earthquake occurred at a depth of 57 kilometres (35 miles) and was centred 30 kilometres (18 miles) west of Port Vila, the largest city in Vanuatu, a group of 80 islands that is home to about 330,000 people.