Our IP Subnet Calculator is a professional networking tool designed to help system administrators and engineers calculate IPv4 and IPv6 subnetting parameters. Whether you need to find usable host ranges, broadcast addresses, or CIDR notation values, this tool provides instant and accurate results.
The calculator supports both IPv4 (32-bit addresses) and IPv6 (128-bit addresses). It breaks down complex network addresses into understandable components like network ID, first/last usable IP, subnet mask, and the total number of hosts.
Subnetting is an essential practice in network management that involves dividing a larger network into smaller, manageable sub-networks (subnets). This improves network performance, security, and address space efficiency.
A subnet (sub-network) is a logical subdivision of an IP network. The practice of dividing a network into two or more networks is called subnetting. Routers are used to exchange traffic between subnets, acting as physical boundaries.
In IPv4, a subnet mask (like 255.255.255.0) is used to distinguish the network portion of the address from the host portion. CIDR (Classless Inter-Domain Routing) notation (like /24) is a more modern, compact way to represent this.
IPv6 subnetting functions similarly but handles a much larger address space. Instead of a subnet mask, IPv6 uses a 'prefix length' (e.g., /64) to define the network portion of the 128-bit address.
| Prefix | Subnet Mask | Total Hosts | Usable Hosts |
|---|---|---|---|
| /24 | 255.255.255.0 | 256 | 254 |
| /25 | 255.255.255.128 | 128 | 126 |
| /26 | 255.255.255.192 | 64 | 62 |
| /27 | 255.255.255.224 | 32 | 30 |
| /28 | 255.255.255.240 | 16 | 14 |
| /30 | 255.255.255.252 | 4 | 2 |
Always leave room for more hosts than you currently need. A /24 subnet is often a safe default for small office networks.
By convention, the first (.1) or last (.254) usable IP in a subnet is typically assigned to the default gateway (router).
In IPv6, a /64 prefix is the standard size for a single subnet, providing an incredibly large number of addresses for any local network.
CIDR stands for Classless Inter-Domain Routing. it's a method for allocating IP addresses and IP routing that replaced the older Class A, B, and C system.
In any IPv4 subnet, the first address is the Network ID and the last address is the Broadcast Address. Neither can be assigned to a host.
A /32 represents a single IP address (a host route), not a network of multiple usable hosts.
Get detailed tax and loan consulting insights from our expert community.