Skip to content
Technology

City and country phone codes: how to determine where the call is from

AuthorEditorial team 9-07-2026, 00:09 1223
City and country phone codes: how to determine where the call is from
Advertising
In brief
  • An international number is structured as follows: country code + city code (or mobile network) + subscriber number.
  • The country code is determined by the digits after the '+': +7 — Russia and Kazakhstan, +380 — Ukraine, +1 — USA and Canada.
  • City codes (for example, 495 for Moscow) are only needed for landline phones; for mobile phones, the operator's code is used instead (900 or 800 ranges).
  • The first 1-4 digits of the number and online code directories help determine where the call is from.

Every time an unfamiliar number with a plus sign appears on the screen, the question arises: where is the call coming from? Understanding is aided by the system of telephone codes — a strict hierarchy of digits created in the mid-20th century to connect millions of subscribers worldwide. In this article, we will explore how the codes of countries, cities, and mobile operators are structured, learn to read the number 'from left to right', and provide a table of the most popular codes.

Phone codes
Define the city or country code — for free
Open the directory →

How the international phone number is structured

Any number in international format is read in parts. First comes the sign ‘+’ (or the digits 00, 810 that replace it), which indicates that the country code follows. After that is the country code (from one to three digits), then the area code or mobile network, and finally the subscriber's number. For example, in the notation +7 495 123-45-67, the digit 7 is the country code, 495 is the code for Moscow, and the remainder is the specific phone number.

This structure was established by the International Telecommunication Union (ITU) in the E.164 standard. It also limits the total length of the number to fifteen digits (excluding the plus). Thanks to unified rules, a call from anywhere on the planet reaches the intended subscriber, and the operators' equipment understands where to route the call.

Country codes: what +7, +380 and others mean

The country code is the ‘postal code’ of a state in the global telephone network. Its length depends on the region: the larger the area, the shorter the code. For example, area ‘1’ includes the USA, Canada, and several Caribbean islands, while area ‘7’ historically covers Russia and Kazakhstan. Smaller states have three-digit codes: for instance, +373 is Moldova, +995 is Georgia.

Below is a table of the most commonly encountered codes.

CodeCountryComment
+7Russia, KazakhstanGeneral numbering zone
+380UkraineMobile numbers start with +380 (39/50/63/66/67/68/73/95/96/97/98/99)
+375BelarusOperators: 25, 29, 33, 44
+1USA, CanadaUnified numbering plan NANP
+44United KingdomLondon — code 20
+49GermanyBerlin — code 30
+86ChinaBeijing — code 10
+90TurkeyIstanbul — 212 (European) and 216 (Asian)
+998UzbekistanTashkent — code 71

City codes and mobile operator codes

Within the country, numbers are also divided into groups. Landline (city) phones are tied to geography: for Moscow, it is 495 and 499, for St. Petersburg — 812, for Novosibirsk — 383. Such a code is called geographic because it directly indicates the region or city of the line connection.

Mobile phones are different. Instead of a city, the number receives a network code — in Russia, these are the ranges 9xx (for example, 900-909, 910-919, 980-989). These codes are not tied to a location: a subscriber from Vladivostok and a subscriber from Kaliningrad can have neighboring numbers. Due to the number portability service (MNP), it is no longer possible to determine the operator with 100% accuracy based on the code — a SIM card can be transferred to another network while keeping the old digits.

How to determine where the call is from

To understand the origin of the call, read the number in order. First, find the country code — this is the first one to three digits after the '+'. If the code is +7, the call is from Russia or Kazakhstan; if +380 — from Ukraine. Next, look at the following digits: the geographic code will indicate the city, and the mobile range will show that you have a mobile number.

When the digits are not enough, online directories and number identifiers can help. They compare the entered data with code databases and show the expected region and line type. Special caution should be exercised with numbers starting with +7 8xx or foreign codes from little-known countries, as they are often used for spam calls and fraudulent schemes.

Service and special codes

In addition to geographic codes, there are non-geographic codes with special meanings. In the Russian zone, 800 is a free line for the subscriber (the company pays for the call), while 809 is a paid service number with a higher rate, which is better not to call back on unfamiliar invitations. The prefix 8 within the country replaces the international exit and is placed before the long-distance code when dialing from a landline.

Frequently Asked Questions

Whose code is +7?
The code +7 is assigned to the general numbering zone, which includes Russia and Kazakhstan. Countries can be distinguished by the following digits: for example, Kazakh mobile numbers usually start with +7 7xx.

How to find a city by phone code?
Look at the digits after the country code. For landline numbers, this is the geographic code: 495 and 499 are Moscow, 812 is St. Petersburg, 383 is Novosibirsk. You can verify the code with the city in an online directory.

What is the difference between a city code and a mobile operator code?
The city code is tied to a specific region and is used for landlines. The operator code (ranges 9xx in Russia) relates to mobile communication and does not depend on the subscriber's location.

Can you determine the operator by the number?
Previously — yes, by the network code. Now, due to the number portability service (MNP), a subscriber can change operators while keeping their number, so it is no longer possible to accurately determine the network by just the digits.

Phone codes
Define the city or country code — for free
Open the directory →

Updated: July 9, 2026. Edition of MegaInet.art.

How useful is the material?Evaluation helps us choose topics
00 ratings

Discussion

No one has spoken yet — be the first.

Comments are written by participants Log in to the site — it's free and takes a minute. Comments are moderated.
Log in
Advertising