Across the planet

How a number finds one phone among billions

A phone number is an address that the network reads from left to right. The country code picks the country, the next digits pick a block of numbers that the country's regulator gave to one operator, and the last digits pick one line or one mobile. Numbers can move from one operator to another, so today a shared database tells the network which operator holds a number now, and the call goes there.

ABROADYOUR COUNTRYTHEIR OPERATORCOUNTRYWaiting fora callNUMBER PLAN20London161Manchester7MobilesGATEWAYDATABASEWaiting fora numberYOUR OPERATORYOUR NUMBERWaiting fora callBORDERDialling+4420 7946 0018020 7946 0018+447700 90001807700 900018123456789*0#Incoming callSamfrom abroad9:41
Try it
Purple: the callKey
  • Purple: the call
  • Dashed: radio

Your landline · in the UK, its area code names your town

Press a button, or click the friend's mobile or the board.Press a button, or tap the friend's mobile or the board.

The same call to a landline number, tied to a town, and to a mobile number, tied to no place. You kept both when you switched operator.

Anatomy of a phone number: one call from a friend's mobile abroad, through their operator and across the border, past the numbering plan and the database at the gateway, to your operator and your phone. The switch shows the same call to your mobile number. The drawing shows how most countries route a moved number, and it is not to scale.

  1. Follow one call

    Press Play to watch the call, or scroll down and the drawing follows you one step at a time. Try it, under the drawing, makes your own call.Press Play to watch the call, or Next to go one step at a time. Try it, under the drawing, makes your own call.

  2. Step 1 of 6

    Someone abroad dials your number

    A friend abroad types your number on their mobile. It starts with a plus sign, which stands for the code their country uses to call abroad, 00 across Europe. Then comes your country code, then your number without the 0 you dial at home. That 0 only works inside your country.

    How long can a phone number be?

    Fifteen digits at most, country code included. The International Telecommunication Union (ITU) sets that limit in its numbering standard, E.164, the basis for the numbers of every public phone network. A country with a three-digit country code therefore has twelve digits left for its own numbers.

    The plus sign and the 00 are not part of the number. They only tell your phone network to send the call abroad, so the standard asks for a plus sign when a number is written down, because the code for abroad differs from country to country.

    Sources: ITU-T E.164: the international public telecommunication numbering plan (2026); ITU-T E.123: notation for national and international telephone numbers (2001); Arcep: Décision n° 2018-0881 du 24 juillet 2018, plan national de numérotation (2026)

  3. Step 2 of 6

    The country code picks the country

    Their operator's exchange reads the first digits, and they name the country: +44 is the United Kingdom, +33 France, +49 Germany. A country code has one to three digits. Their operator needs nothing more. Its only job is to send the call to your country. Without the country code, it would look for your number in its own country.

    Who hands out the country codes?

    The ITU does. In the world plan its standards body drew up, each of the digits 1 to 9 opens a world zone: 1 is North America, 2 is mostly Africa, 3 and 4 are Europe. Europe got two first digits because so many of its countries needed a short, two-digit code.

    The 1 is shared. The United States, Canada and 18 other countries use the same code and one numbering plan together, so a call from Canada to New York is dialled like a call inside one country.

    Sources: ITU-T E.164: numbering plan for the ISDN era (1991); ITU: list of ITU-T E.164 assigned country codes (2016); NANPA: about the North American Numbering Plan (2026)

  4. Step 3 of 6

    The next digits name a block, and an operator

    Inside your country, the regulator keeps a numbering plan. It gives numbers to operators in blocks, often 10,000 at a time, and the digits after the country code say which block your number is in. For a landline the block often names a town as well: 20 after +44 is London. For a mobile it names no place, only a mobile network. Before numbers could move, that was enough to find you: the block named the exchange that served your line.

    Does a landline number still say where you live?

    It depends on the country. Germany has 5,200 local network areas, each with its own area code of two to five digits, and the area code still tells you where the line is.

    France dropped the link. Since 1 January 2023, any French landline number can be used anywhere in mainland France. Luxembourg never had it: there are no area codes, and every landline number works anywhere in the country.

    Sources: Bundesnetzagentur: Ortsnetzrufnummern (2026); Arcep: La numérotation (2026); ILR: Plan national de numérotation (2026); BIPT: Service description number portability for geographic numbers (1998); Ofcom: The National Telephone Numbering Plan (2025)

  5. Step 4 of 6

    A database says who holds your number today

    You switched operator and kept your number, so the block now points to the wrong operator. Before the call goes on, the gateway asks a number portability database: has this number moved, and where to? The answer is a routing number, a short code put in front of your number that leads the call to your new operator. Each country keeps its list of moved numbers in its own way.

    Does every country ask the database?

    Almost every one. A call from abroad first reaches an operator in your country that takes calls from abroad, and it routes the call as it would a call from its own customers. Where that operator asks the database, the call goes straight to the right operator.

    The United Kingdom is the exception. There the call still goes to the operator that first held the number, which passes it on with a routing prefix. In 2019 Ofcom, the regulator, wrote that the country was almost, if not entirely, alone in the world in doing it this way, and proposed a shared database.

    In Germany the routing number is called a Portierungskennung: the letter D and three digits, put in front of your number. Operators send each other every move, so each one knows where every moved number lives.

    Sources: European Conference of Postal and Telecommunications Administrations: ECC Report 31, implementation of mobile number portability in CEPT countries (2005); Ofcom: Promoting trust in telephone numbers, first consultation (2019); Bundesnetzagentur: Portierungskennungen (2026); Bundesnetzagentur: Nummernplan Portierungskennungen, Verfügung 41/2009 (2009); BIPT: Service description number portability for geographic numbers (1998)

  6. Step 5 of 6

    Your operator finds your phone

    Now the call reaches the operator that holds your number. For a landline, the number leads to your line, which ends at your home. For a mobile, the number says nothing about where you are, so your operator asks its register, which knows the area your phone was last seen in, and calls out for it through the masts there.

    Is my number stored on my SIM card?

    Not as the network uses it. A SIM carries its own identity, the IMSI, up to 15 digits that start with a three-digit mobile country code. The ITU standard for it says the IMSI should not be related to your phone number and is not meant to be dialled.

    Your operator's register links the two. That is why a moved number can go onto a new SIM from another operator: only the link in the register changes.

    Sources: ITU-T E.212: the international identification plan for public networks and subscriptions (2024)

  7. Step 6 of 6

    Your phone rings

    Your phone rings, and its screen shows who is calling. Your friend's number travels with the call in its full international form, country code first, so your phone can show it and you can call back. The network never needed your name. It only read digits.

    How many phone numbers are there?

    Billions. In 2025 the ITU counted 9.2 billion mobile subscriptions in the world, 112 for every 100 people, and every one of them can be called on a number in this one format.

    There are more numbers than phones. By the end of 2016, France's regulator had given operators more than 130 million mobile numbers, while fewer than 85 million SIM cards were in use. Operators need spare blocks to hand out new numbers.

    Sources: ITU: Facts and Figures 2025, subscriptions (2025); ITU-T E.164: the international public telecommunication numbering plan (2026); Arcep: Décision n° 2018-0881 du 24 juillet 2018, plan national de numérotation (2026)

Country codes and area codes, side by side

From abroad, dial + or 00, then the country code, then the number without its first 0. Luxembourg has no 0 to drop. The codes in the table are written the way people dial them at home.

Landline numbers

Mobile numbers

United Kingdom, +44Ofcom

01, 02

020 London, 0161 Manchester, 029 Cardiff

07

071 to 075 and 077 to 079

France, +33Arcep

01 to 05, 09

Usable anywhere in mainland France since 2023

06, 07

Ten digits, like every French number

Germany, +49Bundesnetzagentur (1, 2, 3)

030, 089…

5,200 areas: 030 Berlin, 089 Munich, 0221 Cologne

015, 016, 017

Mobile networks, with a few ranges kept for other uses

Netherlands, +31Overheid.nl

010, 020…

Ten digits: 010 Rotterdam, 020 Amsterdam, 070 The Hague

06

Ten digits, all mobile

Belgium, +32BIPT

02, 03, 04, 09…

02 Brussels, 03 Antwerp, 04 Liège, 09 Ghent

045 to 049

Mobile networks

Luxembourg, +352ILR

No area code

A landline number works anywhere in the country

6

Nine digits: 621, 661, 691 and more

Phone numbers in numbers

How it came to be

  1. 1947

    One plan for North America

    AT&T draws up the North American Numbering Plan, with three-digit area codes, so that people can dial long-distance calls themselves. It starts to come into use in 1951.

    NANPA: about the North American Numbering Plan (2026)

  2. 1960

    A first world numbering plan

    The ITU's standards body issues E.29, its first recommendation on numbering for international calls. Its successor, E.164, still sets the format of every phone number in the world.

    ITU-T E.164: the international public telecommunication numbering plan (2026)

  3. 1963

    Dial Paris from London

    On 8 March, people in London can dial numbers in Paris themselves for the first time, without an operator.

    BT Archives: Events in telecommunications history, 1963 (2016)

  4. 1996

    Keep your number, Britain first

    People in the United Kingdom can keep their landline number when they change provider. Mobile numbers follow in 1999.

    Ofcom: Promoting trust in telephone numbers, first consultation (2019)

  5. 2003

    Your number becomes yours to keep

    From 25 July, European Union law lets every subscriber keep their number when they change operator: a landline number at the same place, any other number anywhere.

    EUR-Lex: Directive 2002/22/EC, the Universal Service Directive (2002)

  6. 2011

    One working day

    By 25 May, European Union countries must make a moved number work within one working day. The 2018 European Electronic Communications Code keeps the rule.

    EUR-Lex: Directive 2009/136/EC, amending the Universal Service Directive (2009)

  7. 2023

    French landlines leave their towns

    From 1 January, any French landline number can be used anywhere in mainland France. The first digits no longer say where the line is.

    Arcep: La numérotation (2026)

What the rules say

Keeping your number when you switch is a legal right across the European Union, and the United Kingdom has its own rules to the same end. They decide how long a move may take and who does the work.

  • You may keep your number

    European Union law gives anyone with a number from a national plan the right to keep it when they change provider. It does not cover moving a landline number to a mobile, or a mobile number to a landline.

    EUR-Lex

  • Within one working day, at no charge

    Once you have agreed a date with your new provider, the number must work there within one working day, and you may not lose service for longer than that. Providers may not charge you directly for the move. In Germany the provider that causes a delay owes you 10 euros for each extra day.

    EUR-Lex; Gesetze im Internet

  • The new provider leads

    The provider you move to runs the switch, and only with your explicit consent. In France you prove the number is yours with a 12-character code, the RIO, which you get by calling 3179. In the United Kingdom a mobile number moves with a porting code, the PAC.

    EUR-Lex; Arcep (1, 2); Ofcom

  • Operators keep the routes working

    In the United Kingdom every network a moved number passes through must avoid any loss of service that would delay the move. In Luxembourg every operator with numbers must connect to the central reference database, and the operator a call starts in must route it to the right place.

    Ofcom; ILR

Where Voxbi fits

Voxbi, a cloud phone system hosted in the European Union, lets you bring your numbers with you when you move to it, and Mixvoip, which owns Voxbi, provides the numbers.

See it in Voxbi

Keep exploring