Work out network, broadcast, and usable host ranges for any IPv4 or IPv6 block with a visual map, config snippets, and reverse lookup.
We provide an IP Subnet Calculator which is basically a networking tool that helps you calculate important subnet and IP address information without performing manual binary calculations. You have to enter an IPv4 or IPv6 address with its subnet mask or CIDR prefix to quickly find the network range, usable addresses, host capacity, and other networking details.
The calculator itself supports IPv4 and IPv6 subnet calculations, CIDR sizing, bulk subnet splitting, binary breakdowns, and configuration ready output. Its useful for network administrators, developers, DevOps engineers, system administrators, and networking students.
The IPv4 Subnet Calculator calculates subnet information for IPv4 addresses using traditional subnet masks or CIDR notation such as /24, /25, /26, and /30.
For example, a 192.168.1.0/24 network contains 256 total addresses and traditionally provides 254 usable host addresses.
The IPv6 Subnet Calculator provides subnet information for IPv6 addresses using prefix lengths such as /48, /56, and /64.
It calculates the IPv6 network prefix, first and last addresses, total address capacity, compressed and expanded address formats, reverse DNS information, and the different parts of an IPv6 address.
The What CIDR Do I Need? feature helps you choose the appropriate IPv4 subnet size based on the number of usable hosts you require.
For example, if you need 100 usable hosts, a /25 network provides 126 traditionally usable addresses, making it large enough for the requirement.
| CIDR | Usable Hosts | Fits 100 Hosts? |
|---|---|---|
| /23 | 510 | ✓ |
| /24 | 254 | ✓ |
| /25 | 126 | ✓ |
| /26 | 62 | ✕ |
| /27 | 30 | ✕ |
The IPv4 Bulk Split feature allows you to divide a larger IPv4 network into multiple smaller subnets. This is useful when creating separate network segments, VLANs, office networks, or other infrastructure ranges.
For example, a 192.168.1.0/24 network can be divided into four separate /26 subnets.
| # | Network | Broadcast | Usable Range | Usable Hosts |
|---|---|---|---|---|
| 1 | 192.168.1.0/26 | 192.168.1.63 | 192.168.1.1 – 192.168.1.62 | 62 |
| 2 | 192.168.1.64/26 | 192.168.1.127 | 192.168.1.65 – 192.168.1.126 | 62 |
| 3 | 192.168.1.128/26 | 192.168.1.191 | 192.168.1.129 – 192.168.1.190 | 62 |
| 4 | 192.168.1.192/26 | 192.168.1.255 | 192.168.1.193 – 192.168.1.254 | 62 |
The IPv6 Bulk Split feature lets you divide a larger IPv6 network into smaller subnet prefixes.
For example, a 2001:db8::/48 network can be divided into /64 networks, producing 65,536 separate subnets. Because large IPv6 networks can contain thousands of subnets, the calculator displays a manageable portion of the generated results.
| # | Network | Last Address |
|---|---|---|
| 1 | 2001:db8::/64 | 2001:db8::ffff:ffff:ffff:ffff |
| 2 | 2001:db8:0:1::/64 | 2001:db8:0:1:ffff:ffff:ffff:ffff |
| 3 | 2001:db8:0:2::/64 | 2001:db8:0:2:ffff:ffff:ffff:ffff |
The calculator can also provide configuration friendly information that can be used when setting up network interfaces and infrastructure. Depending on the calculation, you can view output suitable for environments such as Cisco IOS, Linux, Windows, and JSON based configurations.
This makes it easier to move from subnet planning to network configuration without manually converting the calculated values.
This tool is useful for anyone who works with IP addressing or network configuration, including:
CIDR stands for Classless Inter Domain Routing. It represents an IP network using an address followed by a prefix length, such as 192.168.1.0/24. The /24 indicates that the first 24 bits belong to the network portion.
A typical IPv4 /24 network contains 256 total addresses and traditionally provides 254 usable host addresses. The network and broadcast addresses are normally reserved.
A subnet mask uses dotted decimal notation, such as 255.255.255.0, while CIDR uses a prefix length such as /24. Both describe the same network boundary.
A wildcard mask is the inverse of a subnet mask and is commonly used in networking configurations such as Cisco access control lists and routing protocols. For example, the wildcard mask for 255.255.255.0 is 0.0.0.255.
A /25 IPv4 network provides 128 total addresses and 126 traditionally usable host addresses, so it can accommodate 100 hosts.
An IPv6 /64 network contains 64 network bits and 64 interface bits, providing 264 possible addresses. A /64 is the conventional subnet size commonly used for an IPv6 LAN.
Yes. The calculator supports IPv6 prefix calculations, address ranges, compressed and expanded addresses, reverse DNS information, and bulk IPv6 subnet splitting.
Yes. The IPv4 Bulk Split and IPv6 Bulk Split features allow you to divide a parent network into smaller subnet ranges and view the resulting networks and address ranges.
Yes. The calculator is available as a free online networking tool and lets you perform subnet calculations without manually working through binary calculations.