Kharabeesh
On-device ع

IPv6 Calculator

Work out an IPv6 network, last address, address count and type, compress or expand addresses per RFC 5952, split a /48 into /64s, turn a range into CIDR, and derive EUI-64 from a MAC.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Under “Calculator”, type an address with its prefix, such as 2001:db8:abcd:12::1/48.
  2. Under “Compress & expand”, paste addresses (one per line) to get both forms.
  3. Under “Split”, choose the new prefix (such as /64) to list the subnets, and download them as CSV.
  4. Under “EUI-64”, enter a MAC address to get the interface ID and the fe80:: link-local address.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.
  • Needs a browser with BigInt support (all browsers since 2020).

Frequently asked questions

What are the IPv6 compression rules?

Per RFC 5952: lower case, drop leading zeros in each group, and replace the longest run of zero groups (two or more) with :: once only. A single zero group is not compressed.

Why are LAN subnets usually /64?

Stateless autoconfiguration (SLAAC) needs 64 bits for the interface. Providers usually hand out a /48 or /56, which you split into /64s.

What is fe80::?

A link-local address that every interface gets automatically and that never leaves the local link. It is sometimes followed by %eth0 to name the interface.

Does EUI-64 reveal my device?

It builds part of the address from the MAC address, which can be tracked. That is why modern systems use random privacy addresses (RFC 8981) for internet traffic.

Formulas & sources

Related tools