IPv6 Calculator

IPv6 subnet calculator

Input

Expand and compress IPv6 addresses. Calculate subnet ranges for the next generation internet protocol.

Terminal

Console ready. Execute a command to see output...

About IPv6 Calculator

The Future is Hexadecimal

IPv6 addresses are 128-bit; written as 8 groups of 4 hexadecimal digits. They are massive.

Features

  • Compression: Condensing zeros (e.g., ::).
  • Expansion: Showing the full address.
  • Range: Calculating the Start and End of a prefix.

Why transition?

We ran out of IPv4 addresses in 2011. IPv6 allows for 340 undecillion addresses; enough for every atom on Earth to have its own IP.

How to use IPv6 Calculator

  1. Enter an IPv6 address
    For example 2001:db8::1. Compressed (with ::) or expanded forms both work.
  2. (Optional) Enter a prefix length
    A number 1 to 128, no slash. Default is whatever was embedded in the address (or /128 if you only gave a single host).
  3. Hit Calculate
    Canonical and expanded forms, start and end of the subnet range, and total host count (a BigInt for the large /n cases) all appear.

Frequently Asked Questions

Canonical (RFC 5952) is the shortest correct way to write an IPv6 address: leading zeros stripped, the longest run of zero groups compressed to ::. Expanded form spells out every 16-bit group: 2001:0db8:0000:0000:0000:0000:0000:0001. Same address, different style. Canonical is what you should publish. Expanded is useful for reading bit boundaries.