No tool matches “”

Try a format (“webp”, “mp3”) or a verb (“merge”, “compress”).

Loading index

↵to open

Network Tools · Updated November 6, 2026 · Reviewed by FormatFlow Editorial

IPv6 Subnet Calculator — Prefix, Range and Size

You can calculate the network prefix, first and last address and total address count for an IPv6 subnet, using exact 128-bit arithmetic for prefixes from /0 through /128.

Runs in your browserFree · No sign-up · No watermark
IPv6 / CIDRRuns in your browser
Loading the tool…

Everything runs locally in this tab. No file is uploaded while the tool loads.

This tool runs in your tab. Nothing is uploaded and no copy is stored.

How files are handled

Key facts

Category
Network Tools
Processing
In your browser — nothing is uploaded
Input formats
IPv6 address, prefix
Output format
IPv6 subnet details
Maximum size
Bound by the memory available to your browser tab
Requirements
Chrome, Edge, Firefox or Safari · JavaScript enabled
Price
Free, no account, no watermark
Last updated
Nov 6, 2026

SummaryIPv6 Subnet Calculator is a free online network tools tool. You can calculate the network prefix, first and last address and total address count for an IPv6 subnet, using exact 128-bit arithmetic for prefixes from /0 through /128. IPv6 removes the address shortage but makes the numbers harder to read: a /64 holds more addresses than the entire IPv4 internet, and a single digit in the prefix changes the result by many orders of magnitude. This calculator works on 128-bit integers so the prefix boundary stays exact. It runs in your browser — nothing is uploaded. It accepts IPv6 address, prefix and produces IPv6 subnet details. The maximum size is bound by the memory available to your browser tab. The size of very large prefixes is shown as an exponential approximation, not a full decimal string.

At a glance

Works with
IPv6 / CIDR
Processing
In your browser
Price
Free, no account
Updated
November 6, 2026
All Network Tools

About IPv6 Subnet Calculator

IPv6 removes the address shortage but makes the numbers harder to read: a /64 holds more addresses than the entire IPv4 internet, and a single digit in the prefix changes the result by many orders of magnitude. This calculator works on 128-bit integers so the prefix boundary stays exact.

Enter any valid IPv6 address and a prefix from /0 to /128. The result shows the compressed network prefix, the first and last address in the range, and the size as an exact count while it is readable or an exponential expression when printing every digit would stop being useful.

What this tool does

The details that matter when you use IPv6 Subnet Calculator for real work.
  • Exact 128-bit arithmetic

    BigInt maths keeps every prefix from /0 to /128 exact, including prefixes far larger than a /64.

  • Compressed output

    The network prefix is printed in canonical compressed form with :: replacing the longest run of zero groups.

  • First and last address

    Shows the lowest and highest address in the prefix, which is what an address plan or firewall range needs.

  • Readable address count

    Displays an exact count while it stays readable and a power-of-two exponential expression when the number is very large.

  • Strict input validation

    Accepts full and ::-compressed forms and rejects malformed groups, too many groups or a prefix outside 0–128.

  • Copy any value

    Every result row has a copy button with inline feedback so values can be pasted straight into documentation.

How to use IPv6 Subnet Calculator

No account, no installation — the whole job happens in this browser tab.
  1. 01

    Enter the IPv6 address

    Type a full or compressed address such as 2001:db8:abcd::1; lowercase and uppercase hex are both accepted.

  2. 02

    Choose the prefix

    Select a length from /0 to /128; /64 is the usual LAN subnet size, while /127 and /128 suit point-to-point links and loopbacks.

  3. 03

    Read the network

    The compressed network prefix, first address and last address appear in the result card.

  4. 04

    Check the size

    Use the address count to confirm the prefix holds the number of addresses the address plan expects.

  5. 05

    Copy and document

    Copy the values you need into an address plan, firewall rule or runbook.

How this tool works

Works with
IPv6 / CIDR
Processing
Client-side, in your browser. Nothing is uploaded.
Requirements
Chrome, Edge, Firefox or Safari · JavaScript enabled

Limitations worth knowing

  • The size of very large prefixes is shown as an exponential approximation, not a full decimal string.
  • Embedded IPv4 notation such as ::ffff:192.0.2.1 is rejected; use the IPv4 calculator for IPv4.
  • No allocation, overlap or routing validation; results are planning arithmetic only.
  • Prefix conventions such as /64 for LANs and /127 for point-to-point links are not enforced.

Privacy and file handling

The IPv6 address and prefix stay in the browser: all arithmetic uses built-in BigInt and no request is made. Nothing is uploaded, logged or stored, and closing the page discards the input.

Read the full privacy policy

IPv6 Subnet Calculator FAQ

Short, direct answers to the questions people ask before using this tool.
How much larger is a /64 than a /48?
Each bit doubles the address count, so moving from /48 to /64 multiplies the size by 2^16: 65,536 times. A /64 contains 2^64 addresses, about 18.4 quintillion.
Are the network and first address always the same in IPv6?
Yes. IPv6 has no broadcast address, so the first address of the prefix is the network address itself. The last address is the highest address inside the prefix, and both are part of the range.
Does the calculator accept compressed IPv6 notation?
Yes. Addresses with :: compression, the full eight-group form and either case are accepted. The parser expands the notation before the prefix arithmetic and prints the result in canonical compressed form.
Why is the address count shown as an exponential expression?
Some prefixes contain more addresses than are comfortable to print as a full integer. The tool shows an exact BigInt count while it stays readable and otherwise a 2^n expression with an approximate decimal value.
Should I always use a /64?
Most IPv6 networks and protocols expect /64 for subnets that host devices, but point-to-point links and loopbacks often use /127 or /128. The calculator does not enforce a convention; it only reports the prefix arithmetic.
Is there a broadcast address in IPv6?
No. IPv6 uses multicast rather than broadcast, so there is no reserved broadcast address inside a subnet. Every address in the prefix is part of the range, and the calculator explains that in the result.
Can I calculate IPv4-mapped IPv6 addresses?
Addresses containing an embedded IPv4 part such as ::ffff:192.0.2.1 are rejected. Convert them to the hexadecimal equivalent first, or use the IPv4 subnet calculator for the IPv4 part.
Does this tool validate that the prefix is in use?
No. It validates the syntax and computes the range. Overlaps, duplicate allocations and routing policy must be checked against your address registry and equipment.

Background reading

Format guides that explain the trade-offs behind IPv6 Subnet Calculator.