IP Subnet Calculator
Calculate network details, host ranges, and visualize binary masks.
What is a Subnet Calculator?
A Subnet Calculator is an essential tool for network engineers and IT professionals. It allows you to divide a single IP network into smaller, manageable subnetworks (subnets). This improves network performance and security.
Understanding CIDR
Classless Inter-Domain Routing (CIDR) is a method for allocating IP addresses and IP routing. The CIDR notation (e.g., /24) tells you how many bits are used for the Network ID.
Example: /24 means 24 bits are network, 8 bits are host. Total hosts = 2^8 - 2 = 254.
IP Address Classes
- Class A: 1.0.0.0 to 126.255.255.255 (Large networks)
- Class B: 128.0.0.0 to 191.255.255.255 (Medium networks)
- Class C: 192.0.0.0 to 223.255.255.255 (Small networks)
Frequently Asked Questions
How many hosts are in a /24 network?
A /24 network has 2^8 = 256 total addresses. Subtracting Network and Broadcast addresses leaves 254 usable hosts.
What is a Wildcard Mask?
A wildcard mask is the inverse of a subnet mask. It tells a router which parts of an IP address must match. Example: Mask 255.255.255.0 = Wildcard 0.0.0.255.