X Xerobit

Subnet / CIDR Calculator

Calculate IPv4 subnets — network, broadcast, usable range, subnet mask, wildcard mask, and binary visualization. Accepts CIDR (192.168.1.0/24) or dotted mask (10.0.0.0 255.255.0.0) input. Detects private, loopback, CGNAT, and link-local ranges.

Live Market Insight

DataForSEO · 2026-04-25
Monthly searches (US)
60,500
"subnet calculator"
Cluster volume
85K
subnet + cidr + ipv4
CPC
$1.07
Top competitor
subnet-calculator.com
4/10 SERPs

What is CIDR?

CIDR — Classless Inter-Domain Routing — writes a network as address/prefix, e.g., 192.168.1.0/24. The prefix is the number of leading 1-bits in the subnet mask, which tells you how much of the address identifies the network and how much identifies hosts within the network.

A /24 has 24 network bits and 8 host bits — 2⁸ = 256 addresses, 254 usable (reserving the network and broadcast addresses).

Prefix cheatsheet

PrefixMaskHostsCommon use
/32255.255.255.2551single host
/30255.255.255.2522point-to-point links
/29255.255.255.2486small office
/28255.255.255.24014VPC subnet
/24255.255.255.0254home / small LAN
/16255.255.0.065,534class B equivalent
/8255.0.0.016,777,214class A equivalent
/00.0.0.0alldefault route

Private IP ranges (RFC 1918)

Network, broadcast, usable — the three special addresses

Exceptions: /31 (RFC 3021) is used for point-to-point links where both addresses are usable. /32 is a single-host route.

Wildcard mask — when and why

A wildcard mask is the inverse of a subnet mask. Cisco ACLs, OSPF, and some other tools use wildcards instead of subnet masks. For /24, the subnet mask is 255.255.255.0 and the wildcard mask is 0.0.0.255.

FAQ

Does this support IPv6?

Not yet. IPv6 subnet math works on the same principles but uses 128-bit addresses. IPv6 mode is on the roadmap.

Can I split a subnet into smaller ones?

Enter the target prefix. For structured subnetting (take a /24, produce four /26s), a sub-splitter tool is coming.

Related tools

Pillar

Part of Dev Productivity.


Written by Mian Ali Khalid. Last updated 2026-04-25.