IPv6 Subnet Calculator

The IPv6 subnet calculator takes any IPv6 address and prefix length (for example 2001:db8::/48) and returns the network address in compressed and expanded form, the total number of addresses, and the /64 subnets the block contains.

IPv6 planning is about subnets, not hosts. SLAAC requires every LAN to be a /64, so the practical question is always how a larger allocation breaks into /64s: a /48 - the standard allocation for a site - contains 65,536 /64 subnets, and the calculator shows the first and last of them.

IPv6 Subnet Calculator

Find the network address, expanded form, /64 subnet count, and first/last /64 for any IPv6 prefix.

Enter values above to see results.

Frequently Asked Questions

How many /64 subnets are in a /48?
A /48 contains 65,536 /64 subnets (2 raised to the power of 64 minus 48). Each /64 can be assigned to a single LAN segment for SLAAC.
Why is /64 the standard subnet size in IPv6?
SLAAC stateless address autoconfiguration requires a /64 so hosts can derive their address from the router advertisement. Assigning anything smaller breaks SLAAC, so /64 has become the universal unit of IPv6 subnetting.
How do I break a /48 into /64 subnets?
Increment the third hextet of the /48. For 2001:db8::/48 the subnets are 2001:db8:0::/64, 2001:db8:1::/64, 2001:db8:2::/64, and so on up to 2001:db8:ffff::/64.

Read More

Guides that go deeper on the same topic.

More Tools

Explore the other tools in the toolkit.

Subnet Calculator
Free subnet calculator: enter an IP address and CIDR prefix to get the network address, broadcast address, subnet mask, usable IP range, and host count instantly.
CIDR Calculator
Free CIDR calculator: convert any prefix length from /0 to /32 into its dotted-decimal subnet mask, binary mask, wildcard mask, and total usable hosts.
IPv4 Range Calculator
Free IPv4 range calculator: enter a start and end IP address to find the smallest set of CIDR blocks covering the range, plus the total number of addresses.
VLAN Capacity Calculator
Free VLAN capacity calculator: determine the subnet size you need for your number of VLANs and devices per VLAN, including growth headroom.
Rack Power Calculator
Free rack power calculator: estimate total watts, BTU/hr, amps at 120V and 240V, cooling tons, and watts per feed for the equipment in your racks.
UPS Runtime Calculator
Free UPS runtime calculator: estimate how long your UPS battery will run under load based on wattage, battery capacity, voltage, and inverter efficiency.
BTU Calculator
Free BTU calculator: convert electrical watts to BTU/hr and the tons of cooling required for your data center, server room, or network closet.
Subnet Overlap Checker
Free subnet overlap checker: paste a list of CIDR blocks and instantly see every pair that shares addresses, before conflicts cause routing or IP assignment problems.
Batch CIDR Converter
Free batch CIDR converter: paste a list of subnets as CIDR, IP + mask, or bare IP and convert them all to network address, subnet mask, usable range, and host count in one click.
IP Allocation Planner
Free IP allocation planner: assign CIDR blocks inside a supernet to sites, VLANs, or teams and see used, free, and overlapping address space instantly.

Stop reaching for a spreadsheet

Obelinf keeps every subnet, device, circuit, and rack in one live source of truth, with audit logs and a topology view. Free for personal use.