{{ formattedJSON }}
IP subnetting divides an Internet Protocol version 4 address space into smaller networks, letting administrators control traffic flow, isolate faults, and allocate addressing blocks efficiently. Each subnet shares a common network prefix determined by its prefix length, while remaining bits identify individual hosts. Understanding this relationship prevents overlaps, routing ambiguity, and wasted addresses.
This tool applies your chosen IPv4 address and Classless Inter-Domain Routing (CIDR) prefix length to calculate the corresponding netmask, wildcard mask, network and broadcast addresses, and usable host range in real time. A reactive engine performs bitwise arithmetic inside your browser, instantly updating human-readable and binary views alongside a downloadable JSON summary.
For example, network engineers planning a branch office rollout can confirm that 10.30.4.0 /23 yields 510 usable host addresses, aligns with core summarisation boundaries, and avoids collisions with neighbouring ranges, ensuring seamless hand-over to operations. Always validate allocations on laboratory equipment before posting configurations to production routers to prevent traffic loss.
IPv4 subnetting represents an address as a 32-bit binary number divided into a network prefix and host identifier. The prefix length, written as /n, determines how many leading bits define the network. Bitwise operations derive auxiliary masks and address ranges, enabling hierarchical routing, address conservation, and clear broadcast domains for fault isolation.
mask = −1 « (32 − n)
.network = ip ∧ mask
.wildcard = ¬mask
; broadcast = network ∨ wildcard
.2(32 − n)
; subtract two for usable hosts unless the network is point-to-point.Prefix /n | Host Bits | Usable Hosts | Typical Use |
---|---|---|---|
/30 | 2 | 2 | Point-to-point links |
/29 | 3 | 6 | Small appliances |
/27 | 5 | 30 | Branch VLANs |
/24 | 8 | 254 | Campus segments |
/16 | 16 | 65 534 | Large enterprises |
Choose a prefix where the usable host count exceeds projected devices yet remains small enough to reduce broadcast traffic and wasted addresses.
Subnetting 192.168.0.1 /24:
Concepts align with RFC 791 (Internet Protocol), RFC 950 (Subnetting) and RFC 1878 (Variable Length Subnet Table for IPv4). CIDR aggregation is codified in RFC 4632.
This calculation is performed entirely in the browser and processes no personal or sensitive data, avoiding GDPR or HIPAA concerns.
Follow these steps to calculate a subnet quickly:
192.168.0.1
.The prefix denotes how many leading bits identify the network, allowing flexible subnet sizes beyond rigid class boundaries.
Traditional multi-access networks reserve the all-zeros host for the network address and the all-ones host for broadcast traffic.
No. All computations occur locally in your browser; nothing is transmitted to any server.
Yes. Modern routers treat /31 as point-to-point, eliminating the need for network and broadcast addresses.
It represents the inverse of the netmask and is used in access control lists to match address ranges flexibly.