IP Subnet Calculator
Calculate subnet ranges, broadcast addresses, and CIDR notation
Results
About IP Subnet Calculator
Calculate IPv4 subnet details from an IP address and subnet mask or CIDR notation. View network address, broadcast address, usable host range, and total hosts.
How It Works
Converts the IP address and subnet mask to 32-bit integers, then performs bitwise AND for the network address and bitwise OR with the inverted mask for the broadcast address. Host range is derived from these boundaries.
Step by Step
- 1 Enter an IP address with CIDR notation (e.g., 192.168.1.0/24)
- 2 Or enter an IP with subnet mask (e.g., 192.168.1.0 255.255.255.0)
- 3 Click Calculate to view subnet details
Tips
- /24 (255.255.255.0) gives 254 usable hosts — the most common subnet
- /32 is a single host address, useful for firewall rules
- /16 gives 65,534 usable hosts — a Class B equivalent