CIDR to IP Range Calculator

Compute network, broadcast, netmask, wildcard, first and last host and address count from CIDR for IPv4 and IPv6, classify the range (private, loopback…), test whether an IP is inside, split networks and convert a range to CIDR.

Workspace

How the result is calculated

The address is converted to a big integer (BigInt) of 32 bits for IPv4 or 128 for IPv6, so network = address AND mask and broadcast = network OR inverted mask. Address count = 2^(host bits). In IPv4 usable hosts = total − 2, with two in a /31 (RFC 3021) and one in a /32. IPv6 is written compressed per RFC 5952 (longest run of zero groups ≥ 2, leftmost, lowercase). Range-to-CIDR takes, at each step, the largest aligned block that fits in the range.

Limits: Type classification uses a built-in table of the best-known reserved ranges, not the full IANA registry. IPv6 shows no broadcast because it does not exist. Splitting is limited to 4096 subnets. The tool does not check that an address is allocated or routable on the Internet.

FAQ

What is the difference between /31 and /32?

/31 is a point-to-point link with two hosts (RFC 3021) and /32 is a single host.

Can I enter a netmask instead of a prefix?

Yes, e.g. 192.168.1.0/255.255.255.0.

Newest tools

Recently added free tools — they run in your browser without uploading your data

All tools →

Classify keyword intent (informational/commercial/transactional/navigational) and cluster by Jaccard similarity with cannibalization detection

Local

Statically check HTML links: invalid, duplicate, javascript:, mixed content, missing anchors and images without alt

Local

Analyze a backlink CSV: unique domains, dofollow, anchor classification, TLDs and top-10 concentration

Local

Measure readability (Flesch/Fog/ARI), vocabulary diversity (MTLD), structure and evidence with an E-E-A-T checklist and a stated formula

Local