IPv6 Subnet & Address Calculator
Expand or compress IPv6 addresses (RFC 5952), compute 128-bit CIDR ranges, detect scope, and generate ip6.arpa PTRs.
Related developer tools
All Developer toolsBase64 Encoder & Decoder
Encode or decode UTF-8 text and convert local files into Base64 data URLs.
URL Encoder & Decoder
Percent-encode or decode URLs and inspect or edit query string parameters.
UUID Generator
Generate cryptographically random UUID v4 or time-ordered UUID v7 identifiers.
Regex Tester
Test regular expressions with live match highlights, capture groups, and replacements.
About IPv6 Subnet & Address Calculator
Analyze 128-bit IPv6 addresses and CIDR prefixes using exact BigInt arithmetic: compress to RFC 5952 form, expand all 32 hex digits, compute network start/end boundaries, detect scope, and build ip6.arpa reverse DNS records.
How to use IPv6 Subnet & Address Calculator
- 1
Enter any compressed, expanded, or IPv4-mapped IPv6 address (with or without a /prefix length).
- 2
Adjust the prefix length from /0 to /128 to recalculate the exact network range and total address count.
- 3
Copy the compressed address, full expanded form, network boundaries, or ip6.arpa reverse DNS PTR string.
Frequently asked questions
Does IPv6 Calculator lose precision on large 128-bit prefixes like /64 or /48?
No. All 128-bit bitwise masks and address counts are calculated using native JavaScript BigInt integers with full exact precision.
How does RFC 5952 IPv6 compression choose where to place ::?
RFC 5952 strips leading zeros from each 16-bit group and collapses the longest consecutive run of two or more all-zero groups into :: (picking the leftmost run on a tie).
What is the ip6.arpa PTR string used for?
DNS servers use reversed hex nibbles under ip6.arpa to perform reverse DNS (rDNS) lookups for IPv6 hosts.
