Skip to content

description: An IPv6 (and IPv4) prefix arithmetic cheat sheet for isp6 members: how many /48s, /56s, and /64s fit inside any prefix, with worked examples for sizing an allocation.

The isp6 Prefix Chart

Audience: network engineers, architects, and on-call operators who need to know, at a glance, how many /48s, /56s, or /64s fit inside a given prefix, or how many host addresses sit beneath an IPv4 mask. A reference card for the question that comes up every time you size an allocation, design an aggregation tier, or write a firewall rule. Pairs with Planning Your isp6 Allocation for the full sizing arc and IPv6 in the Wild: A Field Reference for the classification cheat sheet.

Last updated: May 2026


1. Introduction

Address-plan work in IPv6, and aggregation work in IPv4, keeps coming back to the same arithmetic. How many /64 subnets does a /52 contain? If we hand a branch office a /56, how many /48-equivalent customer assignments could we have made instead? Does a /29 give us four /31 point-to-point links or eight?

The answer is always a power of two, but the cognitive load of computing it on the fly is a tax on the engineer doing the planning. This chart removes that tax. Pin it to the wall, bookmark it on a phone, paste it into a runbook. It exists so that nobody on the isp6 team or in an isp6 member organisation has to do the binary arithmetic by hand at 03:00.

The numbers themselves are not isp6-specific; they are properties of the IPv6 addressing architecture. What is isp6-specific is the boundary at which they matter most: every isp6 allocation starts at a /48 or a /44, every customer subnet ends at a /64, and the design space inside that range is exactly what the table below makes legible.


2. How to Read This Chart

Each row in the IPv6 chart represents a single prefix length. The three count columns answer the same question for different sub-prefix sizes:

Inside one prefix of length /N, how many sub-prefixes of length /48, /56, or /64 fit?

The fourth column, Host bits, is the number of bits below the prefix: 128 − N. It is the size of the host (or sub-allocation) space available to whoever holds the prefix, expressed as a bit count rather than as a power.

A blank cell means the relationship is undefined: a /49 cannot contain any /48s because /48 is shorter than /49. The chart starts at /24 (the largest aggregation seen at internet scale today, used by RIRs and very large carriers) and ends at /64 (the architectural floor for any subnet that supports SLAAC).

Reading direction. Going down the chart, prefixes get longer and blocks get smaller: each step of four bits divides the count by sixteen. Going up, each step of four bits multiplies the count by sixteen. This is the nibble discipline at work; the same discipline that Planning Your isp6 Allocation covers in depth.


3. The IPv6 Prefix Chart

Prefix /48s contained /56s contained /64s contained Host bits
/24 16 M 4 G 1 T 104
/25 8 M 2 G 512 G 103
/26 4 M 1 G 256 G 102
/27 2 M 512 M 128 G 101
/28 1 M 256 M 64 G 100
/29 512 K 128 M 32 G 99
/30 256 K 64 M 16 G 98
/31 128 K 32 M 8 G 97
/32 64 K 16 M 4 G 96
/33 32 K 8 M 2 G 95
/34 16 K 4 M 1 G 94
/35 8 K 2 M 512 M 93
/36 4 K 1 M 256 M 92
/37 2 K 512 K 128 M 91
/38 1 K 256 K 64 M 90
/39 512 128 K 32 M 89
/40 256 64 K 16 M 88
/41 128 32 K 8 M 87
/42 64 16 K 4 M 86
/43 32 8 K 2 M 85
/44 16 4 K 1 M 84
/45 8 2 K 512 K 83
/46 4 1 K 256 K 82
/47 2 512 128 K 81
/48 1 256 64 K 80
/49 128 32 K 79
/50 64 16 K 78
/51 32 8 K 77
/52 16 4 K 76
/53 8 2 K 75
/54 4 1 K 74
/55 2 512 73
/56 1 256 72
/57 128 71
/58 64 70
/59 32 69
/60 16 68
/61 8 67
/62 4 66
/63 2 65
/64 1 64

The bold rows are the prefix lengths an isp6 member encounters most often:

  • /44: the larger isp6 PA allocation. 16 × /48.
  • /48: the standard isp6 PA allocation. 65,536 × /64.
  • /56: the customary residential or branch-office assignment inside a larger allocation. 256 × /64.
  • /64: the architectural subnet boundary. One link, one /64, no exceptions outside the /127 point-to-point convention.

Anything below /64 is not "subnetting" in the usual sense. It is reaching into the Interface ID, which SLAAC and Privacy Extensions both expect to be the full 64 bits. The chart stops at /64 deliberately.


4. The IPv4 CIDR Chart

For completeness, and because most isp6 deployments are dual-stack during transition, the IPv4 CIDR chart in the same format. Read it the same way: inside a prefix of length /N, how many usable host addresses are there? The subnet-mask column is the legacy dotted-decimal form of the same prefix.

Host addresses Host bits Prefix Subnet mask
1 0 /32 255.255.255.255
2 1 /31 255.255.255.254
4 2 /30 255.255.255.252
8 3 /29 255.255.255.248
16 4 /28 255.255.255.240
32 5 /27 255.255.255.224
64 6 /26 255.255.255.192
128 7 /25 255.255.255.128
256 8 /24 255.255.255.0
512 9 /23 255.255.254.0
1 K 10 /22 255.255.252.0
2 K 11 /21 255.255.248.0
4 K 12 /20 255.255.240.0
8 K 13 /19 255.255.224.0
16 K 14 /18 255.255.192.0
32 K 15 /17 255.255.128.0
64 K 16 /16 255.255.0.0
128 K 17 /15 255.254.0.0
256 K 18 /14 255.252.0.0
512 K 19 /13 255.248.0.0
1 M 20 /12 255.240.0.0
2 M 21 /11 255.224.0.0
4 M 22 /10 255.192.0.0
8 M 23 /9 255.128.0.0
16 M 24 /8 255.0.0.0
32 M 25 /7 254.0.0.0
64 M 26 /6 252.0.0.0
128 M 27 /5 248.0.0.0
256 M 28 /4 240.0.0.0
512 M 29 /3 224.0.0.0
1024 M 30 /2 192.0.0.0
2048 M 31 /1 128.0.0.0
4096 M 32 /0 0.0.0.0

The host-address column is the raw count of addresses in the prefix, and it does not subtract the network and broadcast addresses, so the usable-host count for a /24 is 254 rather than 256, and for a /30 is 2 rather than 4. The distinction matters when you are sizing point-to-point links.


5. Notation Used in the Charts

The single-letter suffixes in the count columns are powers of two, not the SI decimal multipliers they superficially resemble:

Symbol Meaning Numeric value
K 2^10 1,024
M 2^20 1,048,576
G 2^30 1,073,741,824
T 2^40 1,099,511,627,776

A "1 T" entry in the IPv6 chart is therefore a little over a trillion /64 subnets, not the SI trillion. This is the same convention IPv4 has always used for address counts and the convention RIRs, RFCs, and IPAM tooling all follow.


6. Worked Examples

6.1 Sizing a Standard isp6 PA Allocation

A typical isp6 enterprise member receives a /48. Reading the row:

  • 1 × /48 (the allocation itself).
  • 256 × /56, useful if the customer hands /56 blocks to branch offices.
  • 64 K × /64, the underlying subnet count, which is the figure that matters for VLAN, VXLAN, and segment planning.

A multi-region or multi-cloud member typically takes a /44 instead:

  • 16 × /48, one /48 per region or per major business unit, with room to grow.
  • 4 K × /56.
  • 1 M × /64.

The estimation procedure for choosing between the two is in Phase 1 of the planning guide.

6.2 Carving a /48 Into Branch-Office /56s

A regional bank with a /48 wants to give every branch office its own /56. Reading the /48 row's /56s contained column: 256. The bank can address up to 256 branch offices and still hand each one a /56 large enough to subdivide into 256 internal /64 VLANs.

If the bank's branch count grows beyond 256, the next nibble jumps it to 4 K branches via a /44. There is no need to consider any prefix length in between, because the nibble discipline keeps the routing table aggregation clean.

6.3 RIR-Scale Aggregation

The RIPE NCC holds 2a00::/12 and 2a10::/12. Reading the /12 row would give rougly 16 G × /48, but the chart starts at /24, because numbers larger than that exceed any operator's planning horizon. For the sub-allocations RIPE NCC actually issues to LIRs, the relevant rows are /29 (the maximum allocation without additional justification) and /32 (the minimum):

Allocation /48s /56s /64s
/29 512 K 128 M 32 G
/32 64 K 16 M 4 G

A /32 allocation contains 65,536 /48 customer assignments, enough to make a /48-per-customer LIR business viable for a long time.

A pair of cloud-hosted firewalls needs four point-to-point /31 links between them. The IPv4 chart says a /29 contains 8 addresses, which is 4 × /31. A /29 is exactly the right size: no waste, no shortfall.

If a fifth link is later required, the team must allocate a fresh prefix; there is no way to "extend" the /29 in place without renumbering.


7. Where This Fits in the Knowledge Base

This article is a reference card. It is intentionally short on prose and long on numbers, and is meant to be linked-to rather than read end-to-end. The full context behind the numbers lives elsewhere in the knowledge base:

  • The protocol foundations. Designing the Next Internet: An Introduction to IPv6: why /64 is load-bearing, why nibble alignment matters, and how the prefix / Interface ID split underlies every figure in this chart.
  • Estimating and structuring an allocation. Planning Your isp6 Allocation: the three-phase estimate, procure, implement arc that turns the figures here into a concrete addressing plan.
  • Classifying an address in the wild. IPv6 in the Wild: A Field Reference: the prefix-spotting matrix and the four-bit decoder for parsing an address from a log line at speed.
  • Avoiding IPv4 reflexes. Stop Thinking in IPv4: including why "subnet smaller than /64 to save space" is a misconception that breaks SLAAC.

8. References

Source Relevance
RFC 4291: IP Version 6 Addressing Architecture The /64 Interface ID boundary and the global unicast format
RFC 6177: IPv6 Address Assignment to End Sites Recommends /48 / /56 / /64 as standard end-site assignment sizes
RFC 7608: IPv6 Prefix Length Recommendation for Forwarding Why arbitrary prefix lengths must work in routing hardware
RIPE-738: IPv6 Address Allocation and Assignment Policy Current RIPE NCC policy: minimum /32, up to /29 without further justification
RIPE NCC IPv6 chart (PDF, 2015) The original prefix-arithmetic card this article reproduces in isp6 style

Take control of your network identity

Order your IPv6 PA allocation from isp6 and announce it from any cloud, colo, or on-premises network. Self-service, registered in the RIPE Database within minutes, portable for the life of your membership.

Get your /48 →

This document is provided for informational purposes. Protocol specifications and cloud provider behaviour are subject to change. Consult the linked RFCs and vendor documentation for authoritative, up-to-date information before making architectural decisions.