IPv4 Subnet Calculator

(e.g. 192.168.1.1)
(subnet mask, CIDR or wildcard)
Calculation results
  • Address
    161.246.5.165
    10100001.11110110.00000101.10100101
  • Netmask
    255.255.255.0 = 24
    11111111.11111111.11111111.00000000
  • Wildcard
    0.0.0.255
    00000000.00000000.00000000.11111111
  •  
  • Network
    161.246.5.0/24
    10100001.11110110.00000101.00000000
    Class B
  • Broadcast
    161.246.5.255
    10100001.11110110.00000101.11111111
  • First IP
    161.246.5.1
    10100001.11110110.00000101.00000001
  • Last IP
    161.246.5.254
    10100001.11110110.00000101.11111110
  • Hosts/Net
    254
    nnnnnnnn.nnnnnnnn.nnnnnnnn.hhhhhhhh

About IPv4 Subnet Calculator

Enter IP address and netmask (decimal separated by dots (e.g. 255.255.255.0), CIDR (e.g. 29) or a Cisco wildcard (e.g. 0.0.0.31) and the IPv4 subnet calculator will calculate the broadcast, network,
Cisco wildcard mask, host range and quantity of hosts. Online and for free. The wildcard is the inverse netmask used for access control lists (ACL's) in Cisco routers.
This free online IPv4 subnet calculator also can be used as a teaching tool and presents the subnetting results as easy-to-understand binary values.
We can see two things: all host bits are zeroes in a network address, in a broadcast address they are all set. First bits determine the class of your network from A to E. A, B and C are commonly used. Each class has a range of valid IP addresses.
Address Range of Class A - 1.0.0.1 to 126.255.255.254 (supports 16 million hosts on each of 127 networks).
Class B - 128.1.0.1 to 191.255.255.254 (65,000 hosts on each of 16,000 networks).
Class C - 192.0.1.1 to 223.255.254.254 (254 hosts on each of 2 million networks).
Class D - 224.0.0.0 to 239.255.255.255 (address range reserved for multicast groups).
Class E - 240.0.0.0 to 254.255.255.254 (reserved for future use, research and development purposes).
Your IP address
Your are from United States54.226.222.183