Subnet Calculator
Calculate subnet details from CIDR notation or subnet mask. Find network address, broadcast, host range, and wildcard mask.
Calculator
Yaygın Alt Ağ Maskeleri
| CIDR | Alt Ağ Maskesi | Kullanılabilir Ana Makineler | Typical Use |
|---|---|---|---|
| /32 | 255.255.255.255 | 1 | Host route, loopback |
| /31 | 255.255.255.254 | 2 | Point-to-point link |
| /30 | 255.255.255.252 | 2 | WAN link (legacy) |
| /28 | 255.255.255.240 | 14 | Small office |
| /24 | 255.255.255.0 | 254 | Standard LAN |
| /16 | 255.255.0.0 | 65,534 | Campus network |
| /8 | 255.0.0.0 | 16,777,214 | Large enterprise |
How to Use
-
1
Enter the IP address and CIDR prefix
Type an IPv4 address (e.g., 192.168.1.0) and select a CIDR prefix length (0-32), or enter the full CIDR notation like 192.168.1.0/24.
-
2
Click Calculate or pick a preset
Press Calculate or choose a common preset to instantly compute the results. The calculator runs entirely in your browser.
-
3
Read the subnet details
Review the network address, broadcast address, first and last usable host, total usable hosts, subnet mask, wildcard mask, and the binary mask representation.
About
Before 1993, IPv4 addresses were allocated using a classful system defined by the first few bits of each address. Class A networks (/8) contained over 16 million addresses, Class B networks (/16) held about 65,000, and Class C networks (/24) provided just 254 usable hosts. Organizations had to choose one of these fixed sizes, even when their actual needs fell between classes.
In September 1993, RFC 1519 introduced Classless Inter-Domain Routing (CIDR), which removed the class boundaries and allowed network prefixes of any length from /0 to /32. CIDR made it possible to allocate address blocks that closely matched actual requirements. CIDR also introduced Variable-Length Subnet Masking (VLSM), which lets network administrators divide a single allocation into subnets of different sizes within the same organization.
Beyond conservation, CIDR dramatically improved internet routing efficiency. Before CIDR, routers had to maintain separate entries for every classful network. With CIDR, adjacent network blocks can be aggregated into a single routing table entry, a technique called supernetting or route summarization.
Today, CIDR notation is the universal standard for describing IP network boundaries. Every subnet calculator, firewall rule, cloud VPC configuration, and access control list uses CIDR prefixes. Understanding how to calculate network addresses, broadcast addresses, and usable host ranges from a CIDR prefix is a fundamental skill for network engineers, system administrators, and cloud architects.