Home › Developer Tools › IPv6 Subnet Calculator

IPv6 Subnet Calculator

Type an IPv6 address with its prefix, like 2001:db8:abcd:12::1/48. You get the network, the first and last address, how many addresses and /64 LANs it holds, and you can split it into smaller subnets such as /56 or /64.

Last updated:

Compressed or full form. If you leave out /prefix, the prefix field below is used

Split into child subnets

Must be longer than the network prefix, e.g. /56 or /64

Up to 4,096 rows

Enter your values to see the result.
Advertisement
Advertisement

How to use the IPv6 Subnet Calculator

  1. Enter an IPv6 address with its prefix, for example 2001:db8:abcd::/48.
  2. Read the results: network, range, address count, /64 count and address type.
  3. To subnet, enter a longer prefix in New prefix length, such as 56 or 64.
  4. Choose how many child subnets to list and where to start, then press Calculate IPv6 subnet.
  5. Download the CSV to keep the subnet plan.

IPv6 prefix sizes at a glance

Prefix/64 subnetsAddressesTypical use
/324,294,967,296296Minimum allocation to an ISP or LIR
/4016,777,216288Large organisation or region
/441,048,576284Regional block
/4865,536280One site (business, campus)
/524,096276Building or zone within a site
/56256272Home or small office delegation
/6016268Small delegation (some ISPs)
/641264One LAN or VLAN (SLAAC)
/127—2Point-to-point link (RFC 6164)
/128—1Single interface or loopback

How IPv6 subnetting works

An IPv6 address is 128 bits written as eight groups of four hex digits. The prefix length says how many leading bits identify the network. Network = address with all host bits set to 0; last address = all host bits set to 1. Each hex digit is 4 bits, so prefixes that are multiples of 4 end exactly on a digit boundary.

Example: 2001:db8:abcd::/48 split into /52 gives 24 = 16 subnets that differ only in the 13th hex digit: 2001:db8:abcd::/52, 2001:db8:abcd:1000::/52, 2001:db8:abcd:2000::/52 … 2001:db8:abcd:f000::/52.

Tips

  • Plan on nibble boundaries (/48, /52, /56, /60, /64) to keep addresses readable and reverse DNS simple.
  • Do not use prefixes longer than /64 on LANs where devices use SLAAC.
  • Use the 2001:db8::/32 documentation prefix in examples and training so nothing real is affected.

Frequently asked questions

How many /64 subnets are in a /48?

65,536. The number of /64s in a prefix /n is 2^(64 − n), so a /48 has 2^16 = 65,536, a /56 has 256 and a /60 has 16.

Why is /64 the standard IPv6 subnet size?

SLAAC (stateless address autoconfiguration) and many IPv6 features expect a 64-bit interface identifier, so LAN segments should be /64. Smaller subnets like /127 are used for point-to-point links (RFC 6164).

What prefix does an ISP give a home or a site?

Common practice is a /48 for business sites and a /56 or /48 for homes, according to RIPE and ARIN guidance. Some providers give only a /60 or /64; check what your provider delegates.

How many addresses are in an IPv6 /64?

2^64, which is 18,446,744,073,709,551,616 addresses. IPv6 has no broadcast address, so in practice all of them can be used, although the all-zero interface ID is the subnet-router anycast address.

How do I split an IPv6 prefix?

Choose a longer prefix. Going from /n to /m creates 2^(m − n) subnets, and subnet number k starts at the network address plus (k − 1) × 2^(128 − m). Splitting on 4-bit boundaries (/48, /52, /56, /60, /64) keeps the hex digits readable.

What is the address type label?

It shows which special-purpose range the network is in: 2000::/3 global unicast, fc00::/7 unique local (private), fe80::/10 link-local, ff00::/8 multicast, 2001:db8::/32 documentation, and others such as 6to4, Teredo and IPv4-mapped.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

IPv6 Expander & CompressorExpand IPv6 addresses to full form or compress them per RFC 5952, one or many at once.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.
See all 52 Network, DNS & Email Tools →