Skip to content

540

Area code 540

Virginia, United States

National (540) 555-0123, E.164 +15405550123

How the 800 central office codes (exchanges) of area code 540 were allocated, from the North American Numbering Plan's records: to which carrier, as which line type. A 540 number is mobile, fixed line or VoIP according to its exchange, the three digits after the area code; the allocation is the original one (below).

At a glance

Country code
+1
State
VA
Exchanges on record
800
Carriers on record
41
Exchanges of 540 by the line type they were allocated as
  • Mobile 272 (34%)
  • Fixed line 395 (49%)
  • VoIP 120 (15%)
  • No line type on record 13 (2%)
  • 800 exchanges on record

Most exchanges: Verizon 283, T-Mobile 89, AT&T 81.

Check a number

Valid fixed line or mobile number in the United States.

+1
country code
540
area code
5550123
subscriber number
CountryUnited States numbering plan
Line typeFixed line or mobile
Carrier the block was allocated toNo carrier on record for this prefix
E.164+15405550123
International+1 540-555-0123
National(540) 555-0123
RFC 3966tel:+1-540-555-0123

Source: North American Numbering Plan Administrator (NANPA); Canadian Numbering Administrator (CNAC); National numbering plan: United States (ITU)

The example is 540-555-0123: 555-0100 to 555-0199 are set aside for fictional use in every area code.

The exchange map

Every exchange of 540, by the line type it was allocated as

One cell per exchange: blocks 540 2xx to 540 9xx; in each block the row is the tens digit, the column the units digit.

540 2xx540 3xx540 4xx540 5xx540 6xx540 7xx540 8xx540 9xx
  • Mobile 272
  • Fixed line 395
  • VoIP 120
  • No line type on record 13

Formats and patterns

E.164+15405550123
International+1 540-555-0123
National(540) 555-0123
RFC 3966 (tel: URI)tel:+1-540-555-0123

Any 540 number, in E.164

^\+1540[2-9]\d{6}$

+1, the area code, a central office code that does not start with 0 or 1, then four digits.

Mobile exchanges (272 on record)

^\+1540(?:2(?:0[157]|1[269]|2[02369]|3[0389]|4[13467]|5[0-25-79]|6[037]|7[0-356]|8[057]|9[02-5])|3(?:0[03589]|1[2-69]|2[01357]|3[03569]|5[3-579]|79|8[35]|9[1278])|4(?:0[5-9]|1[3-59]|2[0-24-69]|3[015]|4[06-9]|5[1457]|6[0167]|7[1568]|8[016-8]|9[02378])|5(?:05|1[49]|2[0-2459]|3[237-9]|4[01]|5[06]|6[09]|7[0-2578]|8[0389]|9[89])|6(?:0[57]|1[356]|2[013479]|3[04]|4[19]|56|6[049]|7[013679]|8[02358]|9[015])|7(?:0[46]|1[478]|2[89]|3[49]|4[2689]|5[07-9]|6[0-2458]|71|8[34]|9[3578])|8(?:0[457-9]|1[03-9]|2[03]|3[056]|4[0-25-9]|5[09]|7[013-58]|81)|9(?:0[36]|1[03-5]|[24]0|3[58]|58|6[048]|7[45]|9[358]))\d{4}$

Fixed line exchanges (395 on record)

^\+1540(?:2(?:0[0469]|1[48]|2[1478]|3[124-6]|4[2589]|5[348]|6[124-689]|7[7-9]|8[1-4689]|9[16-8])|3(?:0[1267]|1[078]|2[2469]|3[12478]|4[1-9]|5[0-28]|6\d|7[0-8]|8[0-2479]|9[4-69])|4(?:0[23]|1[26]|2[378]|3[2-4689]|4[12]|5[269]|6[2-589]|7[2-47]|8[2-49]|9[149])|5(?:0[0-467]|1[0236-8]|2[36-8]|3[0156]|4[2-57-9]|5[1-47-9]|6[1-578]|7[3469]|8[125-7]|9[1-367])|6(?:0[1-489]|10|2[256]|3[135-79]|4[3-58]|5[1-47-9]|6[1-3578]|7[2458]|8[1479]|9[2-467])|7(?:0[79]|1[023569]|2[0-35-7]|3[135-8]|4[01357]|5[12]|6[3679]|7[2-68]|8[5-9]|9[29])|8(?:0[1-3]|2[125-9]|3[1-47-9]|43|5[1-8]|6[02-9]|7[279]|8[24-8]|9[0-24-9])|9(?:0[457-9]|1[267]|[24][1-35-9]|3[1-379]|5[1-5]|6[125-79]|7[0-27]|8[0-79]|9[124679]))\d{4}$

VoIP exchanges (120 on record)

^\+1540(?:2(?:0[238]|1[0357]|25|37|40|74|99)|3(?:04|28|40|56|8[68]|9[03])|4(?:0[014]|1[078]|37|4[3-5]|5[038]|7[09]|85|9[56])|5(?:0[89]|15|[38]4|[46]6|9[045])|6(?:0[06]|1[247-9]|28|3[28]|4[0267]|5[05]|[68]6|9[89])|7(?:0[1-358]|[24]4|3[02]|5[3-6]|7[079]|8[0-2]|9[0146])|8(?:0[06]|12|[24]4|61|76|8[039]|93)|9(?:0[0-2]|1[89]|[24]4|3[046]|5[67]|63|7[389]|88|90))\d{4}$

The exchange patterns follow the original allocations; a number ported since keeps its digits but not necessarily its carrier or its line type.

Carriers and their exchanges

Every carrier holding exchanges in 540, with the exchanges allocated to it (the three digits after the area code).

CarrierExchangesMobileFixed lineVoIPExchanges held
Verizon283792040204, 206, 209, 216, 220, 223–224, 226, 230, 234–235, 239, 245, 248–250, 253–254, 259, 262, 265, 267–270, 272–273, 277, 280, 284–286, 288–290, 292, 296–298, 308, 310, 315, 321, 324, 326, 329, 332–333, 336–338, 341–345, 347, 349, 351, 359, 361–362, 364, 366, 368, 370–375, 377–378, 380–382, 384, 387, 389, 394, 399, 402, 414, 419–423, 427–428, 430–434, 438–439, 442, 447, 456, 460, 469, 471, 480, 486–487, 490, 492, 498, 507, 510, 512, 520–521, 524–525, 529, 535–536, 542–543, 545, 547–548, 552–554, 557–558, 561–564, 568, 571, 574, 581–582, 586–589, 592, 613, 621, 629, 633–634, 639, 643–644, 653–654, 656–663, 665, 667–668, 672, 674, 677–680, 682, 687, 693, 710, 716–718, 720, 722–723, 725–728, 731, 733, 739, 741–742, 750–752, 759, 769, 772, 774–776, 785–786, 788, 792, 797–798, 801–803, 808–810, 820, 822–823, 825, 827–835, 837, 851, 853–855, 857–858, 867–869, 872, 877, 879, 882, 885–888, 890–892, 894–896, 898–899, 903, 906, 910, 917, 921–923, 929, 937–938, 947–948, 951, 953–955, 958, 960–961, 967–968, 972, 977, 980–983, 985–987, 989, 994, 997, 999
T-Mobile898900205, 238, 241, 243–244, 251–252, 257, 260, 263, 271, 276, 287, 293–295, 313, 316, 323, 325, 327, 335, 379, 383, 385, 397–398, 408, 415, 429, 435, 440, 446, 448, 451, 455, 457, 461, 466–467, 476, 478, 481, 497, 505, 514, 519, 522, 537, 560, 569, 578, 583, 605, 607, 615, 620, 627, 630, 641, 649, 664, 671, 676, 683, 685, 688, 749, 757, 762, 768, 784, 793, 805, 807, 816–819, 836, 849, 859, 878, 914–915, 974–975, 993, 995
AT&T8166150207, 212, 219, 222, 229, 233, 246–247, 255–256, 266, 282, 300, 303, 305, 314, 319, 353–355, 369, 376, 405–407, 409, 413, 424–426, 449, 454, 494, 532–533, 538–539, 550, 556, 573, 577, 602, 623–624, 669, 681, 690, 696–697, 714, 729, 734, 746, 748, 758, 760–761, 764, 771, 783, 814–815, 826, 840–842, 845–848, 850, 866, 873, 913, 920, 935, 940, 945, 952, 991, 998
Lumen800782200, 227–228, 231–232, 236, 242, 258, 261, 264, 283, 291, 301–302, 307, 334, 346, 348, 352, 360, 365, 367, 393, 412, 416, 462–464, 482–485, 489, 491, 504, 518, 526–527, 531, 549, 551, 576, 579, 585, 601, 608–609, 622, 631, 635–637, 645, 648, 652, 675, 684, 689, 692, 694, 707, 709, 713, 719, 721, 743, 767, 778, 799, 821, 843, 860, 904–905, 907–908, 912, 916, 931, 971
Onvoy300030202–203, 210, 215, 274, 304, 340, 410, 417, 453, 515, 534, 546, 590, 614, 666, 701, 703, 779–781, 876, 880, 900, 919, 930, 934, 956–957, 963
Bandwidth.com240024208, 213, 328, 390, 418, 437, 443–445, 450, 458, 495, 509, 584, 612, 617, 632, 642, 705, 753, 782, 883, 918, 924
UScellular232300309, 312, 320, 330, 339, 357, 391–392, 488, 493, 570, 572, 580, 598–599, 616, 691, 695, 765, 813, 871, 874–875
Comcast210021217, 225, 237, 356, 388, 400, 404, 479, 508, 628, 686, 699, 702, 732, 754–756, 777, 812, 901–902
CoreTel200200218, 281, 306, 322, 395, 452, 472, 500–503, 506, 513, 516–517, 528, 530, 715, 738, 766
Lumos Telephone200200221, 473, 567, 591, 747, 862–863, 884, 928, 932, 941–943, 946, 949, 962, 965–966, 969, 992
Paetec Itel110110278, 317–318, 441, 523, 597, 603–604, 735–737
Shenandoah Telephone Company100100331, 436, 459, 465, 477, 740, 852, 856, 933, 984
TELNYX100010600, 606, 655, 708, 724, 730, 861, 889, 893, 973
Peerless Network9009386, 401, 496, 594–595, 619, 698, 744, 770
Frontier8080559, 593, 651, 745, 763, 789, 927, 970
Emergency Networks7700540–541, 670, 673, 704, 804, 870
Shentel Communications Company6060214, 565, 773, 838, 865, 909
MGW Telephone Company5050279, 396, 925, 939, 996
Fractel4004240, 299, 844, 978
HD Carrier4004618, 796, 806, 979
TDS Telecom4040596, 839, 864, 897
Vonage4004566, 646, 791, 944
Brightlink Communications3201795, 824, 881
CSC Wireless LLC3300475, 575, 706
Highland Telephone Cooperative3030468, 474, 499
Twilio International3003470, 936, 990
Airus Inc2020403, 926
COMMIO LLC2002640, 988
Dish Wireless2200275, 964
MGW Networks2020610, 712
Optimum2020358, 787
Pembroke Telephone Cooperative2020544, 626
YMax Communications2002638, 650
Access2Go1001794
Airespring1001790
IDT America1010625
IP Horizon1001647
New Hope Telephone Company1010363
North River Telephone Cooperative1010350
Terra Nova Telecom1001800
USA Mobility1100201

Questions developers ask

Where is area code 540?
Area code 540 is in Virginia, in the United States: all 800 of its exchanges on record are there. From abroad it is dialled +1 540, then the seven-digit number.
Is a 540 number mobile or landline?
Either: in the North American Numbering Plan the line type belongs to the exchange (the three digits after the area code), not to the area code. Of the 800 exchanges on record in 540, 272 (34%) were allocated as mobile, 395 (49%) as fixed line, 120 (15%) as VoIP and 13 (2%) have no line type on record. A number can have been ported since, to another carrier and even to another line type.
Which carriers have numbers in area code 540?
41 carriers hold exchanges in 540 on record; the most: Verizon (283), T-Mobile (89) and AT&T (81). These are the original allocations: with number portability, a number may be served by another carrier today, which only a live carrier lookup (an HLR or MNP query) can tell.
How do I validate a 540 phone number?
In E.164 a 540 number matches ^\+1540[2-9]\d{6}$: +1, the area code, a central office code that does not start with 0 or 1, then four digits. Written nationally it reads (540) 555-0123. The exchange patterns on this page narrow it to the exchanges allocated as mobile, fixed line or VoIP.