Off-by-one hosts
Host count is network size − 2 (for network + broadcast).
Fix: The tool handles /31 and /32 edge cases correctly.
header • up to 320x100 / 728x90
Calculate network, broadcast, usable hosts, subnet mask, and wildcard for any IPv4 CIDR
Output will appear here...
content bottom • up to 300x250
sidebar • 160x600
Last reviewed:
CIDR Calculator takes any IPv4 CIDR block (e.g. `192.168.1.0/24`) and returns the network address, broadcast, usable host range, subnet mask, wildcard, and total IP count.
It's handy for planning subnets, provisioning cloud VPCs, and validating firewall rules without relying on command-line tools.
192.168.1.0/26
Input: 192.168.1.0/26 Prefix: /26 Subnet mask: 255.255.255.192 Wildcard: 0.0.0.63 Network: 192.168.1.0 Broadcast: 192.168.1.63 First host: 192.168.1.1 Last host: 192.168.1.62 Usable hosts: 62 Total IPs: 64
Host count is network size − 2 (for network + broadcast).
Fix: The tool handles /31 and /32 edge cases correctly.
This tool handles IPv4 only.
Fix: For IPv6, use a dedicated IPv6 subnet tool.
Yes — /31 reports 0 usable hosts (point-to-point) and /32 reports 0 hosts (host route).
No — calculations run client-side.
/0 through /32.
Yes — useful for Cisco ACL rules.
Not yet — this tool is IPv4-only.
Pair with IP converters and network tools. You can also browse the full Networking & DNS category for more options.
Convert IP addresses between formats
Parse a URL into scheme, host, port, path, query parameters, fragment, and origin — fully client-side
Paste response headers to audit HSTS, CSP, CORS, X-Powered-By disclosure, and Set-Cookie flags
Test whether origins are allowed by a given Access-Control-Allow-Origin value — wildcard and subdomain aware
Parse a User-Agent string into browser, version, operating system, device type, and bot status
Searchable list of well-known TCP/UDP ports — filter by port number, service name, or description
Convert each octet of an IPv4 address into its 8-bit binary form, ideal for subnet calculations and teaching materials.
Convert IPv6 address to binary
Convert an IPv4 address into uppercase hexadecimal octets, useful for network logs, packet dumps, and embedded configuration.
Generate random IP addresses
Perform arithmetic operations in binary
Calculate reading time, word count, and text stats for articles, emails, and landing pages