subnetting — ipv6

A shortcut for subnetting IPv6

IPv6 addresses are 128 bits, split into common prefix boundaries. Here's where they fall, and how the address space scales at each one.

/16 /32 /48 /64 /80 /96 /112 v v v v v v v 2001:aaaa:bbbb:cccc:dddd:eeee:ffff:1111

/48 — the site allocation

The typical assignment for an end site — an organization, a home, a single customer. Contains 65,536 /64s to work with.

/56 — the small-site allocation

Common for residential and small-business assignments — 256 /64 subnets, still vastly more than almost anyone needs.

/64 — the subnet

The standard subnet size for a single link. Not a suggestion — SLAAC and most of the IPv6 addressing architecture assume /64 on every subnet.

Everything shorter

Prefixes shorter than /48 are the province of registries and ISPs — allocations for entire organizations' worth of /48s and /56s downstream.

⬇ export table as .txt

Prefix/48 count/56 count/64 subnetsNumber of addresses≈ scale
/64118,446,744,073,709,551,61618.4 quintillion
/63236,893,488,147,419,103,23236.9 quintillion
/62473,786,976,294,838,206,46473.8 quintillion
/618147,573,952,589,676,412,928147.6 quintillion
/6016295,147,905,179,352,825,856295.1 quintillion
/5932590,295,810,358,705,651,712590.3 quintillion
/58641,180,591,620,717,411,303,4241.2 sextillion
/571282,361,183,241,434,822,606,8482.4 sextillion
/5612564,722,366,482,869,645,213,6964.7 sextillion
/5525129,444,732,965,739,290,427,3929.4 sextillion
/5441,02418,889,465,931,478,580,854,78418.9 sextillion
/5382,04837,778,931,862,957,161,709,56837.8 sextillion
/52164,09675,557,863,725,914,323,419,13675.6 sextillion
/51328,192151,115,727,451,828,646,838,272151.1 sextillion
/506416,384302,231,454,903,657,293,676,544302.2 sextillion
/4912832,768604,462,909,807,314,587,353,088604.5 sextillion
/48125665,5361,208,925,819,614,629,174,706,1761.2 septillion
/472512131,0722,417,851,639,229,258,349,412,3522.4 septillion
/4641,024262,1444,835,703,278,458,516,698,824,7044.8 septillion
/4582,048524,2889,671,406,556,917,033,397,649,4089.7 septillion
/44164,0961,048,57619,342,813,113,834,066,795,298,81619.3 septillion
/43328,1922,097,15238,685,626,227,668,133,590,597,63238.7 septillion
/426416,3844,194,30477,371,252,455,336,267,181,195,26477.4 septillion
/4112832,7688,388,608154,742,504,910,672,534,362,390,528154.7 septillion
/4025665,53616,777,216309,485,009,821,345,068,724,781,056309.5 septillion
/39512131,07233,554,432618,970,019,642,690,137,449,562,112619.0 septillion
/381,024262,14467,108,8641,237,940,039,285,380,274,899,124,2241.2 octillion
/372,048524,288134,217,7282,475,880,078,570,760,549,798,248,4482.5 octillion
/364,0961,048,576268,435,4564,951,760,157,141,521,099,596,496,8965.0 octillion
/358,1922,097,152536,870,9129,903,520,314,283,042,199,192,993,7929.9 octillion
/3416,3844,194,3041,073,741,82419,807,040,628,566,084,398,385,987,58419.8 octillion
/3332,7688,388,6082,147,483,64839,614,081,257,132,168,796,771,975,16839.6 octillion
/3265,53616,777,2164,294,967,29679,228,162,514,264,337,593,543,950,33679.2 octillion
/31131,07233,554,4328,589,934,592158,456,325,028,528,675,187,087,900,672158.5 octillion
/30262,14467,108,86417,179,869,184316,912,650,057,057,350,374,175,801,344316.9 octillion
/29524,288134,217,72834,359,738,368633,825,300,114,114,700,748,351,602,688633.8 octillion
/281,048,576268,435,45668,719,476,7361,267,650,600,228,229,401,496,703,205,3761.3 nonillion
/272,097,152536,870,912137,438,953,4722,535,301,200,456,458,802,993,406,410,7522.5 nonillion
/264,194,3041,073,741,824274,877,906,9445,070,602,400,912,917,605,986,812,821,5045.1 nonillion
/258,388,6082,147,483,648549,755,813,88810,141,204,801,825,835,211,973,625,643,00810.1 nonillion
/2416,777,2164,294,967,2961,099,511,627,77620,282,409,603,651,670,423,947,251,286,01620.3 nonillion
/2333,554,4328,589,934,5922,199,023,255,55240,564,819,207,303,340,847,894,502,572,03240.6 nonillion
/2267,108,86417,179,869,1844,398,046,511,10481,129,638,414,606,681,695,789,005,144,06481.1 nonillion
/21134,217,72834,359,738,3688,796,093,022,208162,259,276,829,213,363,391,578,010,288,128162.3 nonillion
/20268,435,45668,719,476,73617,592,186,044,416324,518,553,658,426,726,783,156,020,576,256324.5 nonillion
/19536,870,912137,438,953,47235,184,372,088,832649,037,107,316,853,453,566,312,041,152,512649.0 nonillion
/181,073,741,824274,877,906,94470,368,744,177,6641,298,074,214,633,706,907,132,624,082,305,0241.3 decillion
/172,147,483,648549,755,813,888140,737,488,355,3282,596,148,429,267,413,814,265,248,164,610,0482.6 decillion
/164,294,967,2961,099,511,627,776281,474,976,710,6565,192,296,858,534,827,628,530,496,329,220,0965.2 decillion
/158,589,934,5922,199,023,255,552562,949,953,421,31210,384,593,717,069,655,257,060,992,658,440,19210.4 decillion
/1417,179,869,1844,398,046,511,1041,125,899,906,842,62420,769,187,434,139,310,514,121,985,316,880,38420.8 decillion
/1334,359,738,3688,796,093,022,2082,251,799,813,685,24841,538,374,868,278,621,028,243,970,633,760,76841.5 decillion
/1268,719,476,73617,592,186,044,4164,503,599,627,370,49683,076,749,736,557,242,056,487,941,267,521,53683.1 decillion
/11137,438,953,47235,184,372,088,8329,007,199,254,740,992166,153,499,473,114,484,112,975,882,535,043,072166.2 decillion
/10274,877,906,94470,368,744,177,66418,014,398,509,481,984332,306,998,946,228,968,225,951,765,070,086,144332.3 decillion
/9549,755,813,888140,737,488,355,32836,028,797,018,963,968664,613,997,892,457,936,451,903,530,140,172,288664.6 decillion
/81,099,511,627,776281,474,976,710,65672,057,594,037,927,9361,329,227,995,784,915,872,903,807,060,280,344,5761.3 undecillion
/72,199,023,255,552562,949,953,421,312144,115,188,075,855,8722,658,455,991,569,831,745,807,614,120,560,689,1522.7 undecillion
/64,398,046,511,1041,125,899,906,842,624288,230,376,151,711,7445,316,911,983,139,663,491,615,228,241,121,378,3045.3 undecillion
/58,796,093,022,2082,251,799,813,685,248576,460,752,303,423,48810,633,823,966,279,326,983,230,456,482,242,756,60810.6 undecillion
/417,592,186,044,4164,503,599,627,370,4961,152,921,504,606,846,97621,267,647,932,558,653,966,460,912,964,485,513,21621.3 undecillion
/335,184,372,088,8329,007,199,254,740,9922,305,843,009,213,693,95242,535,295,865,117,307,932,921,825,928,971,026,43242.5 undecillion
/270,368,744,177,66418,014,398,509,481,9844,611,686,018,427,387,90485,070,591,730,234,615,865,843,651,857,942,052,86485.1 undecillion
/1140,737,488,355,32836,028,797,018,963,9689,223,372,036,854,775,808170,141,183,460,469,231,731,687,303,715,884,105,728170.1 undecillion
/0281,474,976,710,65672,057,594,037,927,93618,446,744,073,709,551,616340,282,366,920,938,463,463,374,607,431,768,211,456340.3 undecillion

// /0 is the entire IPv6 address space: 2^128 addresses. Nobody's routing that.