mydnsreport.com
    >_

    mydnsreport.com

    DNS Lookup, WHOIS & RDAP Domain Registration Tool

    Subnet Calculator

    Calculate network ranges, subnet masks, and usable IP addresses for IPv4 and IPv6. All calculations are performed client-side.

    /24
    /0/8/16/24/32

    Calculation Results

    Network Address

    192.168.1.0

    Broadcast Address

    192.168.1.255

    Subnet Mask

    255.255.255.0

    Usable IP Range

    192.168.1.1 - 192.168.1.254

    Total Usable Hosts

    254

    About Subnetting

    What is a Subnet?

    A subnet (subnetwork) is a logical subdivision of an IP network. Subnetting allows network administrators to divide a network into smaller, more manageable segments, improving security and efficiency.

    CIDR Notation

    CIDR (Classless Inter-Domain Routing) notation uses a suffix to indicate the number of bits in the network portion of the address. For example, /24 means 24 bits for the network, leaving 8 bits for hosts.

    Network vs Broadcast

    The network address is the first address in a subnet (all host bits are 0). The broadcast address is the last address (all host bits are 1). Neither can be assigned to individual hosts.

    IPv6 Subnetting

    IPv6 uses 128-bit addresses, providing a vastly larger address space than IPv4. Common prefix lengths include /64 for single subnets and /48 for site allocations.

    Frequently Asked Questions

    What is a subnet mask?▼
    A subnet mask is a 32-bit number that divides an IP address into network and host portions. For example, 255.255.255.0 (/24) means the first 24 bits identify the network and the remaining 8 bits identify hosts, allowing up to 254 usable addresses.
    What is CIDR notation?▼
    CIDR (Classless Inter-Domain Routing) notation represents an IP address and its associated network prefix. It is written as an IP address followed by a slash and the prefix length, e.g. 192.168.1.0/24. The prefix length indicates how many bits are used for the network portion.
    How do I calculate the number of usable hosts in a subnet?▼
    For IPv4, the formula is 2^(32 - prefix length) - 2. You subtract 2 because one address is reserved for the network address and one for the broadcast address. For example, a /24 subnet has 2^8 - 2 = 254 usable host addresses.
    What is VLSM subnetting?▼
    VLSM (Variable Length Subnet Masking) allows you to divide a network into subnets of different sizes based on actual host requirements. Instead of using a single subnet mask for the entire network, VLSM assigns smaller or larger subnets as needed, reducing wasted IP addresses.

    BEFORE YOU INTERPRET THE RESULT

    Use subnet calculations in context

    Enter an IPv4 address and prefix length to calculate the address range. A CIDR prefix describes the number of network bits; increasing it reduces the size of the network. Confirm the intended network boundary before configuring a router or firewall.

    Special cases such as point-to-point /31 networks and single-address /32 routes differ from traditional host-count rules. This calculator does not check existing routes, address conflicts or whether a provider has assigned the range to you.

    Read a DNS result → · Troubleshooting workflow →