IPv6 Calculator

/64
Move the slider to update prefix length (0-128)

IPv6 Subnet Details

Copied!
Network Address 2001:db8::/64
Full IPv6 Address 2001:0db8:0000:0000:0000:0000:0000:0001
Compressed Address 2001:db8::1
Network Prefix 2001:db8:0000:0000
Host Portion 0000:0000:0000:0001
First Address 2001:db8::
Last Address 2001:db8::ffff:ffff:ffff:ffff
Total Addresses 18,446,744,073,709,551,616 (2^64)
Subnet Mask ffff:ffff:ffff:ffff::
Address Type Documentation
Scope Global
Number of /64 Networks 1

How to use this IPv6 Subnet Calculator

This IPv6 Subnet Calculator is an intuitive tool that allows network administrators, IT professionals, and students to easily compute subnet information for IPv6 networks. It takes an IPv6 address and a prefix length as input and generates detailed subnet details instantly. Below is a comprehensive guide to using this calculator effectively, including explanations of each feature and best practices. For a quick reference on IPv6 address formats, see our IPv6 Cheat Sheet.

Understanding the Basics: IPv6 addresses are 128-bit addresses, typically written as eight groups of four hexadecimal digits (e.g., 2001:0db8:0000:0000:0000:0000:0000:0001). The prefix length (e.g., /64) defines the network portion of the address, similar to the subnet mask in IPv4 but simpler due to the fixed 128-bit structure. Learn more about IPv6 addressing in the IETF RFC 4291.

Step-by-Step Usage:

  • Enter the IPv6 Address: Start by typing a valid IPv6 address in the "IPv6 Address" field. This can be in full format (e.g., 2001:0db8:0000:0000:0000:0000:0000:0001) or compressed format (e.g., 2001:db8::1). The calculator supports both. If the address is invalid (e.g., incorrect format or non-hex characters), the results won't update until corrected. Tip: Use the 2001:db8::/32 range for testing, as it’s reserved for documentation. Check our IPv6 Cheat Sheet for valid address formats.
  • Adjust the Prefix Length: Use the slider to set the prefix length (0 to 128). The badge next to it shows the current /value. Moving the slider updates the results in real-time. Common prefix lengths include /64 for LANs, /48 for site allocations, or /128 for a single host.
  • View and Interpret Results: As you input data, the "Subnet Details" table populates automatically. Key fields include:
    • Network Address: The base address of the subnet (e.g., 2001:db8::/64).
    • Full IPv6 Address: The complete 32-character hexadecimal representation without compression.
    • Compressed Address: The shortest valid representation using IPv6 compression rules.
    • Network Prefix: The network portion based on the prefix length.
    • Host Portion: The host identifier part of the address.
    • First/Last Address: The range of assignable addresses in the subnet.
    • Total Addresses: Number of addresses in the subnet (2^(128-prefix)), shown with power notation.
    • Subnet Mask: The IPv6 subnet mask in hexadecimal format.
    • Address Type: Indicates if the address is Global Unicast, Link-Local, Unique Local, Multicast, Documentation, etc.
    • Scope: The routing scope (Global, Link, Site, Node, etc.).
    • Number of /64 Networks: How many /64 subnets fit within the specified prefix.
  • Copy the Results: Click the "Copy" button (with the copy icon) in the "Subnet Details" header. This copies a text summary of the table to your clipboard (e.g., "Network Address: 2001:db8::/64\nFull IPv6 Address: 2001:0db8:0000:0000:0000:0000:0000:0001\n..."). A "Copied!" popup appears briefly to confirm. Paste this into documents, emails, or notes for easy sharing.

Advanced Tips:

  • Address Formats: The calculator accepts compressed (e.g., 2001:db8::1) or full IPv6 addresses and displays both formats in the results for clarity.
  • Error Handling: Invalid inputs (e.g., non-hex characters or incorrect colon usage) prevent updates. Always verify your entries.
  • Common Prefixes: Use /64 for LANs to support SLAAC, /48 for organizational allocations, or /56 for residential networks. The calculator shows how many /64 subnets fit within shorter prefixes.
  • Mobile Optimization: On phones/tablets, inputs stack vertically for easier typing, and the results table scrolls horizontally. Use landscape mode for better visibility.
  • Use Cases: Ideal for planning IPv6 networks, configuring routers, troubleshooting connectivity, or learning IPv6 subnetting for certifications like CCNA. For IPv4 subnetting, explore our All-in-One Subnet Calculator.

If you encounter issues or need additional features, consider providing feedback. This tool simplifies complex IPv6 calculations, saving time and reducing errors in network design.