Free Tool

    IP Subnet Calculator

    Calculate IPv4 and IPv6 subnets, network ranges, broadcast addresses, and available hosts.

    IPv4 Subnet Calculator

    Network Address
    192.168.1.0/24
    Subnet Mask
    255.255.255.0
    Wildcard Mask
    0.0.0.255
    Broadcast Address
    192.168.1.255
    First Usable Host
    192.168.1.1
    Last Usable Host
    192.168.1.254
    Total Usable Hosts
    254
    IP Class
    C
    Private Address
    Yes

    What Is an IP Subnet Calculator?

    An IP subnet calculator helps network engineers quickly determine the network address, broadcast address, subnet mask, wildcard mask, and the range of usable host addresses for a given IP address and CIDR prefix length. This tool supports both IPv4 and IPv6 subnetting.

    How Does Subnetting Work?

    Subnetting divides a larger network into smaller, more manageable sub-networks (subnets). By choosing a CIDR prefix (e.g., /24 for IPv4 or /64 for IPv6), you control how many addresses are available within each subnet. A higher prefix number means fewer addresses per subnet but more subnets available.

    IPv4 Subnetting

    IPv4 addresses are 32-bit numbers, giving roughly 4.3 billion unique addresses. Common subnet sizes include /24 (256 addresses, 254 usable hosts), /16 (65,536 addresses), and /8 (16.7 million addresses).

    IPv6 Subnetting

    IPv6 addresses are 128-bit, providing a virtually unlimited address space. Standard allocations typically use /48 for organizations, /64 for individual subnets, and /128 for single host addresses.

    Why Use Xitoring's Subnet Calculator?

    • Instant results — no signup required
    • Supports both IPv4 and IPv6
    • Copy results with one click
    • Identifies IP class and private address ranges
    • Built by network monitoring experts

    Monitor Your Network Infrastructure

    Need to monitor the servers and services running on these subnets? Try Xitoring for free.

    Start Free Monitoring

    Subnet Calculator FAQ

    Quick answers about CIDR prefixes, usable hosts and private address ranges.

    How many usable hosts are in a subnet?
    An IPv4 subnet with the prefix /n has 2^(32 − n) addresses. Subtract two for the network and broadcast addresses to get the usable hosts: a /24 has 256 addresses and 254 hosts, a /26 has 64 and 62. The exceptions are /31, where both addresses are usable on point-to-point links, and /32, a single host.
    What does /24 mean in CIDR notation?
    The number after the slash is how many leading bits of the address belong to the network. /24 means the first 24 bits are the network part, the same as the subnet mask 255.255.255.0; the remaining 8 bits number the hosts.
    What is a wildcard mask?
    A wildcard mask is the subnet mask inverted: 255.255.255.0 becomes 0.0.0.255. Cisco access lists and OSPF configurations use it to say which bits of an address must match, which is why the calculator shows it next to the subnet mask.
    Which IPv4 ranges are private?
    RFC 1918 reserves 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 for private networks. These addresses aren't routed on the public internet, so devices that use them reach it through NAT. The calculator flags addresses in these ranges as private.
    Why are IPv6 subnets usually /64?
    IPv6 hosts often build their own address from a 64-bit interface identifier (SLAAC), which only works on a /64. That's why /64 is the standard size for a single network, even though it holds far more addresses than any LAN will ever need.