IPv6 Subnet & Prefix Calculator
IPv6 Subnet & Prefix Calculator: Computes available subnet bits (64 - 48 = 16 bits), calculating total possible subnets (2^16 = 65,536).
About this ipv6 subnet & prefix calculator
IPv6 Subnet & Prefix Calculator — browser-based utility.
How this tool works
Implements client-side IPv6 Subnet & Prefix Calculator operations. Computes available subnet bits (64 - 48 = 16 bits), calculating total possible subnets (2^16 = 65,536) specifically designed for an isp network architect allocates /64 customer subnets from a /48 enterprise ipv6 prefix.
- Binary Bitmask Ingestion: Converts decimal dotted-quad IPv4 strings or hexadecimal colon-separated IPv6 strings into binary bit vectors.
- Bitwise Boolean Algebra: Performs bitwise AND, OR, and NOT operations between IP address integers and CIDR prefix masks.
- Address Class & Scope Tagging: Identifies RFC 1918 private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback, CGNAT, and multicast blocks.
- Subnet Topology Formatting: Renders network ID, usable host range, broadcast address, binary representation, and Cisco wildcard mask.
Worked example
Scenario: Calculate exact bounds and count for an IPv6 /64.
Sample input:
Processing: Use BigInt masks for the 64-bit host portion and serialize the exact power-of-two count as decimal text.
Illustrative output:
Limits and verification
Enforces strict IPv4 prefix boundaries (/0 to /32) and IPv6 boundaries (/0 to /128). In RFC 3021 /31 subnets, correctly reports 2 usable point-to-point hosts without traditional network and broadcast exclusions.
Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.
Browser processing boundary
Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.
Relevant references
These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.
- RFC 791 (Internet Protocol: IPv4)
- RFC 4632 (Classless Inter-domain Routing: CIDR)
- RFC 4291 (IP Version 6 Addressing Architecture)
Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology
How to use it
- Enter, paste, or select your input data into the IPv6 Subnet & Prefix Calculator workspace controls.
- Review available parameter fields, units, formats, or options configured for your task.
- Click the action button or observe immediate live calculations rendered in your browser runtime.
- Inspect the resulting output and any diagnostic messages, then copy or download the result if needed.
Frequently asked questions
Which IPv6 quantities are computed?+
It parses an IPv6 address and prefix with BigInt, then returns compressed address, normalized network, first and last address, prefix, and exact decimal addressCount.
What did the browser vector verify?+
2001:db8::1/64 returned network and first address 2001:db8::, last address 2001:db8::ffff:ffff:ffff:ffff, and 18446744073709551616 addresses.
Why is addressCount a string?+
IPv6 ranges exceed safe JavaScript Number precision. The implementation calculates with BigInt and serializes the exact count as decimal text.
What prefixes are accepted?+
The input must contain IPv6 notation and an integer prefix from 0 through 128; invalid forms raise a validation error.
