Skip to content
hateitall

IPv6 Calculator

Read, rewrite and size IPv6 addresses and prefixes without counting colons by hand.

Processed locallyIn: IP address, CIDROut: Report

Loading tool…

How to use ipv6 calculator

  1. Type an IPv6 address, with a /prefix if you want the network range.

  2. Read the compressed and expanded forms and the address type.

  3. Check the prefix's first and last address and how many /64s fit inside.

What this tool does

  • Writes the canonical RFC 5952 form: lower case, no leading zeros, longest zero run as ::.
  • Accepts compressed, full, IPv4-embedded and %zone forms.
  • Identifies link-local, unique local, documentation, multicast, 6to4, Teredo and IPv4-mapped addresses.
  • Produces the ip6.arpa reverse DNS name and flags EUI-64 interface IDs that can reveal a MAC address.

How the result is verified

Everything uses 128-bit BigInt arithmetic; compressed forms, ranges and reverse names matched Python's ipaddress module on hundreds of random addresses during development.

Frequently asked questions

When can I use :: in an address?

Once per address, to replace the longest run of two or more zero groups. Using it twice would make the address ambiguous.

Why /64 for a network?

Stateless address autoconfiguration (SLAAC) needs a 64-bit interface ID, so local networks almost always use a /64 prefix.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Network, broadcast, host range and masks for any IPv4 CIDR

IP address · CIDR→ ReportLight on device

IPv4 as integer, hex, binary and IPv4-mapped IPv6, in both directions

IP address · Number→ ReportLight on device

The smallest set of CIDR blocks that covers an address range

IP address→ CIDRLight on device

Divide an IPv4 or IPv6 network into equal smaller subnets

CIDR→ CSVLight on device