Summarize this article:

In order to make an international call, you must first dial the exit code for your country. This code, also known as a dial-out code or international access code, lets the carrier know that you will be calling another country. In the United States, Canada, and parts of the Caribbean, for instance, the exit code is 011, while in Mexico, the code is 00. If you don’t know your country’s exit code, you can search for it online, or you can see a list here: https://www.howtocallabroad.com/codes.html. After you dial the exit code for your country, you must then dial the prefix for the country you’re calling. Saudi Arabia's country code is 966. For example, if you’re in the U.S. and you want to call Saudi Arabia, you would dial 011 966. Once you’ve dialed the country code, you have to enter the city code, which may also be called an area code or a zone code. If the person gave you a 9-digit phone number, the city code is the first 2 numbers, so you don’t need to do anything special to find it. Otherwise, you’ll need to know the city you’re calling in order to find the city code.  If you know the city you’re calling, you can find the city code by visiting this website, then scrolling down to click on “Saudi Arabia City Codes:” https://countrycode.org/saudiarabia. For instance, if you’re in the U.S. and the person you're calling is in Riyadh, you would dial 011 966 11. After you’ve entered in all of the prefix information, you can dial the phone number you’re trying to call. This will either be a 7-digit number if you’re calling a landline, or an 8-digit number if you’re dialing a mobile number. For the call from the U.S. to Riyadh, this number would be 011 966 11 xxx-xxxx.
Enter your country's exit code. Dial 966 to connect to Saudi Arabia. Add the city code, omitting the leading 0 if there is one. Finish with the 7-digit phone number of the party you're calling.