Share Page:

    Subnet Calculator - IP Subnet & CIDR Calculator

    Calculate network ranges, broadcast addresses, and subnet masks with advanced IPv4 subnet analysis

    Direct Answer (AEO)

    A Subnet Calculator parses IPv4/IPv6 Classless Inter-Domain Routing (CIDR) notation to determine network boundaries, usable host ranges, broadcast addresses, and subnet masks through bitwise AND operations across IP bitstrings.

    Terminal Command (ipcalc)

    # Calculate IPv4 subnet details via terminal (ipcalc)
    ipcalc 192.168.1.1/24
    
    # Output breakdown:
    # Netmask:   255.255.255.0 = 24
    # Wildcard:  0.0.0.255
    # Network:   192.168.1.0/24
    # HostMin:   192.168.1.1
    # HostMax:   192.168.1.254
    # Hosts/Net: 254

    Technical Parameters

    Supports IPv4 CIDR ranges (/8 to /32) yielding 2 to 16,777,214 usable host IPs, and IPv6 prefix lengths (/48 to /128) calculating up to 3.4 × 1038 total address spaces.

    Input

    Enter an IP address and CIDR notation

    Subnet Information

    Calculated network details

    Enter an IP address to see subnet information

    Frequently Asked Questions

    Common questions about subnet calculation and network planning