IP Subnet Calculator - Calculate Subnets & Host Ranges
Calculate subnetting details for any IP address and mask. Get network address, broadcast address, usable host range, and wildcard mask instantly.
Related guides: What is a subnet mask? and our subnet cheat sheet.
Understanding This Tool
What It Does
Calculate subnet masks, network addresses, and host ranges for any IP address and subnet mask combination. This tool is essential for network administrators planning IP address allocation, subnetting, and network design.
Understanding the Results
- Network Address: The first address in the subnet
- Broadcast Address: The last address in the subnet
- Subnet Mask: Defines the network portion of the address
- CIDR Notation: Compact representation of subnet mask (e.g., /24)
- Usable Hosts: Number of valid addresses available for devices
- First Host IP: Lowest usable IP address
- Last Host IP: Highest usable IP address
- IP Range: Total addresses in the subnet
Common Use Cases
- Network Design: Plan IP address allocation for corporate networks
- VLAN Setup: Create appropriate subnets for virtual LANs
- Server Configuration: Determine network settings for servers and devices
- Network Isolation: Separate traffic using appropriate subnetting
- Cloud Infrastructure: Configure VPC and subnet settings in AWS, Azure, GCP
Pro Tips & Best Practices
- Common Masks: /24 allows 254 hosts, /25 allows 126 hosts, /26 allows 62 hosts
- Reserved Addresses: Network and broadcast addresses cannot be assigned to devices
- Supernetting: Combine multiple subnets using larger network blocks
Frequently Asked Questions
Frequently Asked Questions
What is a subnet mask?
What does CIDR notation mean?
How do I choose the right subnet size?
What are network and broadcast addresses?
Can I use private IP ranges on the internet?
What's the difference between supernetting and subnetting?
How this tool works: This tool runs in your browser and on our server in real time. Depending on the tool, results are computed directly from the input you provide or retrieved from live, authoritative data sources at the moment you run a lookup. We do not sell your data, and your lookups are kept private — any history shown here is stored only on your device.