IP Subnet Calculator
Calculate subnet information, network addresses, broadcast addresses, and host ranges for IPv4 networks. Perfect for network administrators and IT professionals.
Network Configuration
Subnet Information
Network Summary
Usable Host Range
Binary Representation
Network Classification
How to Use
Choose your input method: CIDR notation (192.168.1.0/24) or IP address with subnet mask.
Enter the network address or any IP address within the subnet you want to analyze.
Optionally, select how many subnets you want to divide the network into.
Review the subnet information, host ranges, and subnet division results.
Understanding Subnetting
CIDR Notation
Format
IP_ADDRESS/PREFIX_LENGTH
Common Prefixes
IP Address Classes
Class A
1.0.0.0 - 126.255.255.255
Default: /8 (16.7M hosts)
Class B
128.0.0.0 - 191.255.255.255
Default: /16 (65K hosts)
Class C
192.0.0.0 - 223.255.255.255
Default: /24 (254 hosts)
Private IP Ranges
Applications
Network Administration
- • IP address planning
- • Network segmentation
- • VLAN configuration
- • Router configuration
- • Firewall rule creation
Security & Isolation
- • Network isolation
- • DMZ configuration
- • Access control lists
- • Security zones
- • Traffic segmentation
Troubleshooting
- • Network connectivity issues
- • Routing problems
- • IP conflicts
- • Subnet verification
- • Network documentation
Example Calculations
Example 1: Class C Network
Broadcast: 192.168.1.255
Host Range: 192.168.1.1 - 192.168.1.254
Total Hosts: 256 (254 usable)
Example 2: Subnet Division
Subnet 2: 192.168.1.64/26 (192.168.1.65 - 192.168.1.126)
Subnet 3: 192.168.1.128/26 (192.168.1.129 - 192.168.1.190)
Subnet 4: 192.168.1.192/26 (192.168.1.193 - 192.168.1.254)
Example 3: Variable Length Subnet
Broadcast: 10.1.1.127
Host Range: 10.1.1.1 - 10.1.1.126
Total Hosts: 128 (126 usable)
Frequently Asked Questions
What is the difference between network and broadcast addresses?
The network address is the first address in a subnet and identifies the network itself. The broadcast address is the last address and is used to send data to all hosts in the subnet.
Why can't I use the first and last IP addresses for hosts?
The first IP address (network address) identifies the network, and the last IP address (broadcast address) is reserved for broadcasting to all hosts. Only addresses in between can be assigned to individual devices.
How do I choose the right subnet size?
Consider the number of hosts you need now and in the future. Choose a subnet size that provides enough addresses for growth but doesn't waste too many addresses. Common sizes are /24 (254 hosts), /25 (126 hosts), /26 (62 hosts), and /27 (30 hosts).
What is VLSM (Variable Length Subnet Masking)?
VLSM allows you to use different subnet mask lengths within the same network. This enables more efficient use of IP addresses by allocating appropriately sized subnets for different network segments based on their host requirements.
Related Calculators
Binary Calculator
Convert between binary and decimal for subnet calculations
Hex Calculator
Hexadecimal calculations for network addressing
Bandwidth Calculator
Calculate network bandwidth requirements
Password Generator
Generate secure passwords for network devices
Unit Converter
Convert between different number systems
Scientific Calculator
Advanced calculations for network engineering