🌐 IP Calculator
Calculate IP subnets, CIDR blocks, network addresses, and subnet masks for IPv4 and IPv6 networks
Network Information
Calculation Results
IPv6 Network Information
IPv6 Results
Frequently Asked Questions
An IP subnet calculator is a tool that helps network administrators calculate subnet information including network addresses, broadcast addresses, host ranges, and subnet masks for IPv4 and IPv6 networks.
A subnet mask uses dotted decimal notation (like 255.255.255.0), while CIDR notation uses a slash followed by the number of network bits (like /24). Both represent the same information but in different formats.
The number of hosts in a subnet is calculated as 2^(host bits) - 2. The -2 accounts for the network address and broadcast address which cannot be assigned to hosts.
Class A: 1.0.0.0 to 126.255.255.255 (supports ~16 million hosts), Class B: 128.0.0.0 to 191.255.255.255 (supports ~65,000 hosts), Class C: 192.0.0.0 to 223.255.255.255 (supports 254 hosts).
Yes, this calculator supports both IPv4 and IPv6 subnet calculations. IPv6 uses prefix lengths (like /64) instead of traditional subnet masks.
A wildcard mask is the inverse of a subnet mask, commonly used in Access Control Lists (ACLs). Where the subnet mask has 1s, the wildcard mask has 0s, and vice versa.
The number of subnets you can create depends on how many bits you borrow from the host portion. If you borrow n bits, you can create 2^n subnets.
Subnetting helps improve network performance, security, and management by dividing large networks into smaller, more manageable segments. It also helps with efficient IP address utilization.
Disclaimer: This IP calculator is provided for educational and informational purposes only. The results should be verified before implementing in production networks. Always consult with network professionals for critical network configurations.