About this tool
Enter any IPv6 address, with or without a prefix length, to get its canonical compressed form as defined in RFC 5952 and its fully expanded form. With a prefix you also see the first and last address of the block, how many addresses and /64 subnets it holds, and whether it is global unicast, unique local, link-local, multicast, IPv4-mapped or a documentation address. All 128-bit arithmetic happens in your browser.
How to use IPv6 Calculator
- Type an IPv6 address, optionally followed by /prefix.
- Read the compressed and expanded forms.
- Check the network range, address count and type.
- Copy any value you need.
Frequently asked questions
What are the rules for compressing an address?
Leading zeros in each group are dropped, letters are lowercase, and the longest run of two or more all-zero groups becomes ::. If two runs tie, the first one is compressed.
Why is /64 shown separately?
/64 is the standard size for a single IPv6 LAN segment, so knowing how many /64s a prefix contains is the usual way to plan addressing.