SubnetPad

IPv6 Subnet Calculator

Results update as you type

Enter any IPv6 address or CIDR block to calculate network address, address range, prefix mask, and reverse DNS instantly in your browser.

/0
/128

/64 = 2⁶⁴ addresses (≈ 1.84 × 10¹⁹)

Results for 2001:db8::/64

Documentation (RFC 3849)Global scope
Network / prefixThe first address — identifies the subnet itself
First addressSubnet-router anycast; first address in the block
Last addressThe highest address in this block
Prefix maskEquivalent to /64
Total addresses≈ 1.84 × 10¹⁹ addresses
Address typeGlobally routable scope
More detailsNeighboring subnets, expanded address, reverse DNS, and hextet breakdown

Neighboring /64 subnets

Expanded address
Compressed address
Network (expanded)
Last address (expanded)
Prefix mask
Total addresses (exact)
Reverse DNS (PTR)
Host bits / network bits

Hextet breakdown

20010db8000000000000000000000001
NetworkSplit groupHost

Quick facts

IPv6 results update instantly as you type — no calculate button.

IPv6 subnetting guide, reference & FAQExplanations, cheat sheet, how-to steps, and common questions
Common IPv6 subnet calculators
Dedicated pages for the most searched IPv6 prefix sizes — each with a live calculator, reference tables, and FAQs.
What is an IPv6 subnet calculator?

An IPv6 subnet calculator takes a 128-bit IPv6 address and a prefix length and works out the network address, the first and last address in the block, the prefix mask, and exactly how many addresses the block contains. Type something like 2001:db8::1/64 and read the results.

IPv6 subnetting is simpler than IPv4 in one big way: there is no broadcast address and no “minus two” for usable hosts. Almost every LAN is a /64, and you carve networks out of larger allocations like /48 and /56.

How IPv6 CIDR notation works

IPv6 uses the same CIDR notation as IPv4 — the number after the slash says how many of the 128 bits identify the network. A /64 fixes the first 64 bits and leaves 64 bits for hosts.

Addresses are written as eight groups of four hex digits. Leading zeros in a group can be dropped, and one run of all-zero groups can be replaced with ::. So 2001:0db8:0000:0000:0000:0000:0000:0001 compresses to 2001:db8::1. This calculator converts between the full and compressed forms automatically.

IPv6 prefix cheat sheet
The most common IPv6 block sizes at a glance. For any other size, use the calculator above.
/32ISP allocation

Addresses: 2⁹⁶

/64 subnets: 2³²

/36Regional block

Addresses: 2⁹²

/64 subnets: 2²⁸

/40Large organization

Addresses: 2⁸⁸

/64 subnets: 2²⁴

/44Large site

Addresses: 2⁸⁴

/64 subnets: 2²⁰

/48Site allocation

Addresses: 2⁸⁰

/64 subnets: 2¹⁶

/52Medium business

Addresses: 2⁷⁶

/64 subnets: 2¹²

/56Home / small site

Addresses: 2⁷²

/64 subnets: 2⁸

/60Small delegation

Addresses: 2⁶⁸

/64 subnets: 2⁴

/64Standard LAN subnet

Addresses: 2⁶⁴

/64 subnets: 2⁰

/96NAT64 / IPv4-mapped

Addresses: 2³²

/64 subnets:

/112Constrained segment

Addresses: 2¹⁶

/64 subnets:

/126Point-to-point (legacy)

Addresses:

/64 subnets:

/127Point-to-point (RFC 6164)

Addresses:

/64 subnets:

/128Single host

Addresses: 2⁰

/64 subnets:

How to use this IPv6 calculator
Four steps — everything updates live as you type.
  1. Enter an IPv6 address

    Type any IPv6 address, or paste full CIDR notation like 2001:db8:abcd::/48 and the prefix is detected automatically. Use :: to shorten runs of zeros.

  2. Pick a prefix length

    Drag the slider or choose a common prefix from the dropdown. Each option shows what that block is typically used for, from /32 ISP allocations down to /128 host routes.

  3. Read the results

    The network address, first and last address, prefix mask, and total address count update live as you type. Click any value to copy it.

  4. Go deeper if you need to

    Expand More details for the expanded address, reverse DNS, exact address count, hextet breakdown, or neighboring subnets.

Frequently asked questions

Common questions about IPv6 subnetting, prefix sizes, and how this tool works.