IPv6 Subnet Calculator
Enter an IPv6 address with prefix length (e.g. 2001:db8::1/48) to get the network address, host range, total addresses, and both expanded and compressed notations.
IPv6 Address & Prefix
Enter address with prefix, e.g. 2001:db8::1/48
Optional — overrides any prefix in the address field.
Quick examples
Enter an IPv6 address with prefix length and click Calculate.
Address Notation
Input
Expanded
Compressed
Prefix Length
Subnet Details
Network Address
First Address
Last Address
Total Addresses
Address (binary)
Network mask (binary)
Copied!
Summary
Enter an IPv6 address with prefix length (e.g. 2001:db8::1/48) to get the network address, host range, total addresses, and both expanded and compressed notations.
How it works
- Enter an IPv6 address with its prefix length in CIDR notation (e.g. 2001:db8::1/48).
- The tool expands the address to its full 128-bit form, resolving any :: shorthand.
- It masks the address with the prefix length to derive the network address.
- The last address is found by setting all host bits to 1.
- Total addresses in the subnet are calculated as 2^(128 - prefix).
- Results are displayed in both expanded (full) and compressed (RFC 5952) notation.
Use cases
- Plan IPv6 address allocation for enterprise or ISP networks.
- Verify IPv6 subnetting for CCNA/CCNP exam practice.
- Design cloud VPC or data-center IPv6 CIDR blocks.
- Convert between expanded and compressed IPv6 notations.
- Determine the network address and host range of an IPv6 subnet.
- Check whether two IPv6 addresses belong to the same subnet.
- Document IPv6 topology with accurate subnet parameters.
- Troubleshoot routing issues by confirming IPv6 network boundaries.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu