Calculate IPv4 and IPv6 subnets, hosts and ranges — every computation runs in your browser.
This is a free online CIDR / subnet calculator that breaks any IPv4 or IPv6 CIDR block into its network, broadcast and usable host range, instantly — fully client-side, so confidential infrastructure topologies never leave your browser.
Enter a CIDR like 10.0.0.0/24 and the calculator shows the network address, broadcast, subnet mask, first and last usable host, and the total number of addresses — all instantly, locally in your browser.
Type the CIDR (e.g. 192.168.10.0/26 or fd00::/8) into the input. The calculator displays the network address, broadcast, subnet mask, first/last usable host, hex form and total address count. Use the wildcard mask field directly in your firewall or router ACLs. It also flags the address type (private, loopback, CGNAT, public and more), checks whether an IP falls inside the range, shows a binary breakdown and splits the block into smaller subnets.
Yes. /31 is recognised as a point-to-point link and /32 as a single host; usable host ranges are reported accordingly.
No. The calculator handles the full /0 to /128 IPv6 range using arbitrary-precision bit math.
No. All arithmetic happens in your browser; no IP, CIDR or network description ever leaves the page.
Tooljar implements RFC 4632 (IPv4) and RFC 4291 (IPv6) prefix arithmetic with explicit big-integer handling, so the host counts and ranges are exact even for /0 IPv6 blocks.