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.

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

  1. Enter an IPv6 address with its prefix length in CIDR notation (e.g. 2001:db8::1/48).
  2. The tool expands the address to its full 128-bit form, resolving any :: shorthand.
  3. It masks the address with the prefix length to derive the network address.
  4. The last address is found by setting all host bits to 1.
  5. Total addresses in the subnet are calculated as 2^(128 - prefix).
  6. 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