IPv6 Subnet Calculator
Calculate the network prefix, first and last address, and total address count from an IPv6 CIDR block.
Inputs
IPv6 Subnet Details
Results will appear here.
IPv6 subnetting follows the same conceptual model as IPv4 but operates on 128-bit addresses, making manual calculation impractical without tooling. Cloud providers, ISPs, and enterprise networks are increasingly allocating IPv6 space, and engineers need to quickly determine prefix boundaries, address counts, and allocation sizes when designing or auditing these networks.
This tool accepts any IPv6 address and prefix length, then computes the network prefix, first address, last address, and the total number of addresses in the range. It handles the full /0 to /128 spectrum and displays addresses in both compressed and expanded notation for clarity.
How the IPv6 Subnet Calculator Works
- 1
Enter an IPv6 CIDR block
Input an IPv6 address with a CIDR prefix length (e.g., 2001:db8::/32). The tool accepts standard IPv6 notation.
- 2
The calculator performs IPv6 arithmetic
The tool converts your IPv6 address to binary, applies the prefix mask, and calculates the network prefix, first usable address, last address, and total address count.
- 3
Review IPv6 subnet details
Results display the network prefix, address range, and total subnets. Copy individual values or review the full IPv6 subnet breakdown for your infrastructure.
How IPv6 Subnet Calculation Works
IPv6 uses the same prefix-masking logic as IPv4 but with 128-bit integers. The network prefix is derived by zeroing the host portion of the address (bits beyond the prefix length). Because IPv6 address space is so vast, even a /64 contains 2^64 addresses — approximately 18.4 quintillion. Most IPv6 allocations use /48 for sites, /56 for customer premises, and /64 for individual links.
Compressed notation (RFC 5952) removes leading zeros within each 16-bit group and replaces the longest run of consecutive all-zero groups with ::. Displaying both forms helps engineers cross-reference addresses in routing tables, firewall rules, and logs that may use either notation.
Why Use FileCrank IPv6 Subnet Calculator
- ✓ Calculates the IPv6 network prefix, address range, and total address count from any CIDR block
- ✓ Supports compressed and expanded IPv6 notation automatically
- ✓ Displays results in both compressed (2001:db8::) and full notation for clarity
- ✓ Runs entirely in your browser — no IPv6 address data is transmitted
- ✓ Essential for IPv6 network planning, infrastructure design, and enterprise migration
Features & Specs
Frequently Asked Questions
How do I use the IPv6 Subnet Calculator?
Enter an IPv6 address with a CIDR prefix (e.g., 2001:db8::/32) and the tool instantly calculates the network range, prefix length, and address count.
How do IPv6 subnets work?
IPv6 uses a 128-bit address space divided by a prefix length (similar to CIDR). A /64 prefix is the standard subnet size for most networks. Unlike IPv4, IPv6 subnets do not distinguish between network and broadcast addresses.
What is an IPv6 prefix length?
The prefix length specifies how many bits from the left are the network portion. A /64 means the first 64 bits are the network, and the remaining 64 bits are for host addresses. This differs from IPv4 where /24 is common.
How many addresses are in a /64 IPv6 subnet?
A /64 IPv6 subnet contains 2^64 (18.4 quintillion) addresses. This is vastly larger than any IPv4 subnet and allows extremely granular addressing within a single subnet.
Does the calculator send my IPv6 data anywhere?
No. All IPv6 subnet calculations run entirely in your browser. Your network configuration data never leaves your device.
What is the difference between IPv4 and IPv6 subnetting?
IPv4 uses variable-length subnets with limited host space. IPv6 uses fixed /64 subnets with enormous address space (2^64 per subnet). IPv6 does not use broadcast addresses or wildcard masks in the same way IPv4 does.
IPv6 Subnet Calculator vs. Online IPv4 Tools
Most popular subnet calculators focus on IPv4 and either omit IPv6 or handle it poorly. IPv6 address ranges are too large to enumerate and require 128-bit arithmetic that many tools get wrong at boundary conditions. This tool is built specifically for IPv6, handling compressed notation input, edge-case prefixes (/127 and /128), and the full 128-bit integer range correctly.
Related Tools
IPv6 to IPv4 Converter
Extract the embedded IPv4 address from an IPv6-mapped or 6to4 address.
IPv4 Subnet Calculator
Calculate network address, broadcast address, usable host range, subnet mask, wildcard mask, and host count from any IPv4 CIDR block.
Subnet to CIDR Converter
Convert a subnet mask (e.g. 255.255.255.0) to CIDR prefix notation (e.g. /24).
FileCraft IPv6 Subnet Calculator computes the network prefix, first and last address, total address count, and usable address range from any IPv6 CIDR block. All calculations run entirely client-side using standard IPv6 arithmetic — no address data is transmitted. Free to use with no account required. Also searchable as: IPv6 subnet calculator, IPv6 prefix calculator, IPv6 network calculator, IPv6 address range calculator.
Advertisement