Skip to content

2001:db8::/56
every number, and where it comes from.

Network and broadcast, first and last usable host, the mask in every notation, and the seam drawn in binary. Change the address below to calculate anything else — it recomputes in your browser, without a request.

try:
Live result · IPv6 2001:db8::/56Documentation
Prefix2001:db8::/56RFC 5952 canonical
/64 LANs256the number that matters
Addresses2^72≈ 4.7 sextillion
Last address2001:db8:0:ff:ffff:ffff:ffff:fffftop of the block
recomputes in your browser as you type — no request, and nothing you type is logged
IPv4 + IPv6 + VLSM in one tool Mask in every form — dotted, CIDR, wildcard, binary, hex Calculating runs in your browser — what you type is never sent
IPv6 · /56 · 256 /64 SUBNETS

Stop counting addresses. Count the /64s.

2001:db8::/56 holds 272 addresses — ≈ 4.7 sextillion. That number means nothing. This prefix cuts into 256 /64s, and a /64 is the standard LAN: SLAAC autoconfiguration works at exactly that size, so the count of /64s is the number that actually plans a network.

One address, three jobs

128 bits, banded
routing prefix · 56 bitssubnet ID · 8interface ID · 64 bits
2001:0db8:0000:0000:0000:0000:0000:0000

Every form of this prefix

RFC 5952 canonical
Compressed2001:db8::/56
Expanded2001:0db8:0000:0000:0000:0000:0000:0000
First address2001:db8::
Last address2001:db8:0:ff:ffff:ffff:ffff:ffff
Last, expanded2001:0db8:0000:00ff:ffff:ffff:ffff:ffff
One address, many spellings — compression rules are strict: longest zero run wins, leftmost on a tie, lowercase always. We print the canonical form so two tools never disagree about "the same" address.

Cutting it into LANs

subnet ranges
12001:db8::/64the first LAN — starts at the prefix itself
22001:db8:0:1::/64subnet ID 1 — the fourth group counts up
32001:db8:0:2::/64subnet ID 2 — the fourth group counts up
42001:db8:0:3::/64subnet ID 3 — the fourth group counts up
…and 252 more, one per value of the subnet ID. Cut on 4-bit (nibble) boundaries where you can — prefixes stay readable in hex and reverse-DNS delegation stays sane.

Things IPv6 does not have

unlearn these
no broadcast addressIPv6 replaced broadcast with multicast groups. The all-ones habit has no meaning here — the "last address" above is just an address.
no usable − 2There is no network-versus-broadcast tax. By convention the all-zero interface ID (the subnet-router anycast) is skipped, but that is convention, not arithmetic.
no dotted masksThere is no 255.255.… spelling of a /56. IPv6 masks are prefix lengths, full stop — one habit CIDR finally finished.
Shareable link
status.uptimia-dev.ovh/subnet-calculator/2001:db8::-56

It travels only if you copy it and send it — opening it is the one thing that does reach our access log. What you type in the box never enters the address bar.

What we computed

arithmetic, not discovery
Input2001:db8::/56 ScopeDocumentation — never routed — made for examples, RFC 3849 First2001:db8:: Last2001:db8:0:ff:ffff:ffff:ffff:ffff Addresses2^72 ≈ 4.72 × 10^21 /64 subnets256 Lookupsnone — this is arithmetic

Copy as text

Prefix:     2001:db8::/56
Expanded:   2001:0db8:0000:0000:0000:0000:0000:0000
First:      2001:db8::
Last:       2001:db8:0:ff:ffff:ffff:ffff:ffff
Addresses:  2^72 (about 4.7 sextillion)
/64 LANs:   256
Scope:      Documentation
-- calculated at status.uptimia-dev.ovh/subnet-calculator
paste into a ticket — the format engineers already read
About this block
A /56 is what many ISPs delegate to a residential customer — 256 /64 LANs, enough to number a home network several times over.
What the mask decides

One number, four consequences.

Most calculators make you pick a page — IPv4 here, IPv6 elsewhere. Addresses stopped working like that years ago, so this one takes either.

Where the network ends

The network address and the broadcast are not configured anywhere — they fall out of the seam. All host bits zero names the block; all host bits one calls everyone in it.

network · broadcast

How many devices fit

Host bits set the size: 232−n addresses, minus the two the block spends on itself. The famous −2 — and the /31 and /32 exceptions where it does not apply.

2^(32−n) − 2

Who needs a router

Two hosts compare networks with one AND. Same result and they talk directly; different and everything goes via the gateway. A wrong mask here is why two machines on the same wire cannot see each other.

the AND test

How to grow

Every block splits into two halves, four quarters — or unequal pieces sized to real needs. That is VLSM, and it is the difference between fitting and buying more space.

split · right-size
Readout decoder

Six subnet mistakes people keep making

Much of subnetting folklore is a habit from 1993. What the numbers actually mean.

/31 on a point-to-point link

"No usable hosts"? Not since RFC 3021: on a link with exactly two ends, both addresses are usable. No network address, no broadcast, nothing wasted. The old habit says /30 and burns half of it.

→ modern gear: /31 · classic: /30
172.16.33.255 — a host?

Inside a /20, yes, and a perfectly normal one. Broadcast means all host bits set, which only the top address of the whole block has. Ending in .255 means nothing without the mask.

→ check the mask before you panic
255.0.255.0

Not a mask. Mask bits have to be contiguous — ones, then zeros, no gaps. This tool rejects it, and so does essentially all real equipment. If a config accepts it, worry.

→ contiguous or nothing
172.32.0.1 — "it's private"

It is not. RFC 1918's middle range is 172.16.0.0/12, which ends at 172.31.255.255. 172.32.x.x belongs to someone on the public internet — and one day your traffic will find them.

→ private stops at 172.31
wildcard 0.0.0.63

The mask, inverted — Cisco ACL notation, where 0 means "must match" and 1 means "don't care". Same /26 boundary, opposite spelling. We print both, and accept either as input.

→ same seam, ACL dialect
"Class C" on a 10.x network

Classes stopped mattering in 1993 when CIDR shipped. 10.0.0.0/8 is "class A" only in exam questions — what routes is the prefix length, nothing else. We print the class because interviews still ask.

→ read the /n, not the class
Common blocks

The subnets people actually look up

Worked answers for the blocks that turn up in real networks, each with a note on why it matters.

192.168.1.0/24The single most-typed subnet on earth. It is the LAN behind a large share of consumer routers, w… 192.168.0.0/24The other consumer-router default, and the reason a VPN between two homes so often fails: both e… 192.168.0.0/16The whole RFC 1918 "192.168" pool — 256 consecutive /24s. Useful as a summary route, but assigni… 192.168.1.0/25The first half of the home-router classic, and the usual first cut when a flat LAN is split — on… 192.168.1.128/25The upper half of 192.168.1.0/24. Note the network address is .128, not .0 — the seam has moved… 10.0.0.0/8The largest private block RFC 1918 defines — 16.7 million addresses. Almost nobody uses it as on… 10.0.0.0/16A typical site-sized slice of the 10/8 pool: 65,536 addresses, room for 256 /24s, and a boundary… 10.0.0.0/24The first /24 inside 10/8, and the default LAN of a good deal of virtualisation and container to… 10.10.10.0/24A lab favourite, picked because it is memorable rather than because it is free. Worth checking a… 172.16.0.0/12The RFC 1918 middle range, and the one people get wrong. It is a /12: it runs from 172.16.0.0 to… 172.16.0.0/16The first /16 of the 172.16/12 pool. Docker allocates bridge networks from this neighbourhood, w… 172.16.32.0/20A mid-octet seam, and the clearest proof that an address ending in .255 is not automatically a b… 192.168.1.1/32A single host route — the gateway address of most home networks. A /32 has no usable-hosts subtr… 0.0.0.0/0The default route. Every address matches it, which is why it is the last resort in a routing tab… 203.0.113.0/24TEST-NET-3, reserved by RFC 5737 for documentation. It never routes on the public internet, whic… 198.51.100.0/24TEST-NET-2, one of three ranges RFC 5737 set aside for documentation. Safe to put in a book, a d… 192.0.2.0/24TEST-NET-1, the original documentation range. If a config file contains it, that config was copi… 100.64.0.0/10Carrier-grade NAT space (RFC 6598). Your ISP may put your router behind it, which means the addr… 169.254.0.0/16Link-local, self-assigned when DHCP does not answer. An address here is almost never a plan — it… 127.0.0.0/8Loopback. A whole /8 — sixteen million addresses — spent on "this machine", which is generous by… 224.0.0.0/4The multicast range. These are group addresses, not host addresses: nothing is assigned one as i… 10.20.0.0/22A four-/24 block, the size an office site is often given. Big enough that variable-length subnet… 192.168.100.0/24A common default on cable modems and management interfaces, which is why it sometimes appears on… 10.1.1.0/24A widely-copied example block from vendor documentation and certification labs. Harmless in a la… 172.31.0.0/16The last /16 inside the 172.16/12 private pool — the boundary case. The next block up, 172.32.0.… 192.168.1.0/26A quarter of the home-router classic: 64 addresses, 62 usable. The size people reach for when ca… 192.168.1.0/27Thirty-two addresses, thirty usable — a common size for a small VLAN or a DHCP pool that should… 192.168.1.0/28Sixteen addresses, fourteen usable. Small enough that the −2 tax is a real 12.5% of the block.… 192.168.1.0/30Four addresses, two usable — the classic point-to-point link. Half the block is spent on the net… 192.168.1.0/31Two addresses, both usable. RFC 3021 removed the network/broadcast pair on point-to-point links,… 10.0.0.0/30A point-to-point link out of the 10/8 pool — the shape a router-to-router connection takes in mo… 10.0.0.0/31The RFC 3021 version of the same link: both addresses usable, nothing spent on a broadcast that… 255.255.255.0A /24 written the old way. The dotted netmask and the prefix length describe the same seam; the… 255.255.255.252The /30 netmask — the dotted spelling of the four-address point-to-point link.… 255.255.0.0A /16 in dotted form. Sixteen network bits, sixteen host bits, 65,534 usable addresses.… 2001:db8::/32The IPv6 documentation prefix (RFC 3849). It is the 2001:db8 you see in every example, and it ne… 2001:db8::/48A /48 is the allocation a site typically receives: 65,536 /64 LANs from one line of configuratio… 2001:db8::/56A /56 is what many ISPs delegate to a residential customer — 256 /64 LANs, enough to number a ho… 2001:db8::/64The standard IPv6 LAN. SLAAC autoconfiguration is specified around a 64-bit interface identifier… fe80::/10IPv6 link-local. Every IPv6 interface has one whether you configured it or not, and it is what n… fc00::/7Unique local addresses — IPv6's answer to RFC 1918. The intended use is fd00::/8 with a randomly… ::1/128IPv6 loopback — one single address, where IPv4 spent an entire /8 of sixteen million on the same…

Free tools are just the start.
Uptimia keeps your sites healthy.

Uptime, SSL, domain expiry, page speed, transactions — monitored from 171+ locations worldwide. Free for 30 days.

30 days free no credit card cancel anytime free plan after trial
100,000+ websites monitored · GDPR-compliant