Loading tool...
Search for a command to run...
Calculate network addresses, ranges, and host counts from CIDR notation
Enter an IP address to calculate subnet details
Files never leave your device
Not available — would need cloud processing
Network scanning and topology discovery require server-side network access and admin privileges.
Subnetting is the practice of dividing a large network into smaller, more manageable segments called subnets. Each subnet is a contiguous range of IP addresses sharing a common network prefix. Subnetting is fundamental to network design because it improves performance by reducing broadcast traffic, enhances security by isolating network segments, and makes IP address allocation more efficient.
Every IPv4 address consists of 32 bits, conventionally written in dotted-decimal notation as four 8-bit octets (e.g., 192.168.1.0). The subnet mask divides this address into two parts: the network portion (which identifies the subnet) and the host portion (which identifies individual devices within that subnet). A subnet mask of 255.255.255.0 means the first 24 bits are the network portion, leaving 8 bits for up to 256 addresses (254 usable, since the first is the network address and the last is the broadcast address).
CIDR (Classless Inter-Domain Routing) notation provides a compact way to express both an IP address and its subnet mask. Written as an IP address followed by a slash and a prefix length (e.g., 192.168.1.0/24), CIDR notation tells you exactly how many bits are in the network portion of the address.
The prefix length (the number after the slash) directly determines the size of the subnet:
When designing a network, subnet planning is one of the first steps. Engineers determine how many subnets are needed, how many hosts each subnet must support, and which IP address ranges to allocate. The private IP ranges defined in RFC 1918 are the standard building blocks: 10.0.0.0/8 (over 16 million addresses), 172.16.0.0/12 (over 1 million addresses), and 192.168.0.0/16 (65,536 addresses).
A practical design example: a company needs subnets for its office LAN (200 hosts), server VLAN (50 hosts), guest WiFi (30 hosts), and management network (10 hosts). A network engineer would allocate 192.168.1.0/24 for the office LAN, 192.168.2.0/26 for the server VLAN (64 addresses, 62 usable), 192.168.3.0/27 for guest WiFi (32 addresses, 30 usable), and 192.168.4.0/28 for management (16 addresses, 14 usable). This allocates addresses efficiently without wasting the large contiguous blocks that older classful networking would have required.
The wildcard mask (the inverse of the subnet mask) is used in access control lists (ACLs) on Cisco routers and firewalls. A wildcard mask of 0.0.0.255 for a /24 subnet means "match any address where the first three octets match". Our calculator displays both the subnet mask and the wildcard mask for use in firewall and router configurations.
Calculate network details from CIDR notation
Find first and last usable host addresses
See binary representation of addresses
Detect IP class and private/public status
Common subnet masks for quick selection
Enter IP Type an IP address or CIDR notation (e.g., 192.168.1.0/24)
Select CIDR Choose subnet size from dropdown or enter custom
View Results See network address, range, and host count
Copy Data Copy any result with one click
Calculate network address, broadcast, subnet mask, and usable host range from CIDR notation. Instant results with binary representation and IP classification. 100% client-side - your data never leaves your browser.
| Feature | JumpTools | SubnetOnline | Calculator.net | SolarWinds |
|---|---|---|---|---|
| Price | Free | Free | Free | Free (tool) |
| Privacy | 100% local, no signup | Ads | Ads | Account required |
| Binary View | Yes | Yes | Yes | No |
| IP Classification | Yes | Partial | No | Yes |
| Wildcard Mask | Yes | Yes | Yes | Yes |
| No Signup | Yes | Yes | Yes | No |