To call mainland China from abroad, dial your international access code (00 in the UK and the Republic of Ireland, 011 in the US and Canada, 0011 in Australia, 00 in New Zealand and 27 in South Africa), then 86 (China’s country code), then area code (minus initial zero) followed by the number.
To call Hong Kong, dial your international access code followed by 852, then the number; and for Macau, dial your international access code, then 853 and then the number.
Phoning abroad from China
To call abroad from mainland China, Hong Kong or Macau, dial 00, then the country code, then the area code minus initial zero (if any), followed by the number.
New Zealand 64
US & Canada 1
South Africa 27