CIDR Subnet Calculator
Enter an IP address with CIDR notation to instantly calculate the network address, broadcast, subnet mask, usable host range, host count and wildcard mask.
Enter an IP address with CIDR (e.g. 192.168.1.0/24).
Subnet Split Guide
An at-a-glance estimate of how many subnets and usable hosts per subnet you get when dividing the IPv4 network you entered into smaller blocks. Handy when planning VLANs or cloud (VPC) subnets.
| Prefix | Subnet Mask | Subnets | Usable Hosts / Subnet |
|---|
How to Use
Enter IP/CIDR
Enter the IP address and prefix length in CIDR notation (e.g. 192.168.1.0/24). You can also pick the prefix length from the menu.
View Results
As you type, the network address, broadcast, subnet mask, usable host range and more are calculated automatically.
Copy the Results
Click the copy button next to any value to copy it to your clipboard, ready to paste into your configs or docs.
About CIDR / Subnet Calculation
CIDR (Classless Inter-Domain Routing) describes a network range by combining an IP address with a prefix length, such as "192.168.1.0/24". This tool takes that notation and automatically calculates the network address, broadcast address, subnet mask, wildcard mask, and the range and number of usable host addresses. It is handy for network design, configuring routers and firewalls, and for learning. All calculations run inside your browser and your input is never sent to any server.
Features
- Real-time CalculationNetwork details are computed instantly as you type. No waiting for results.
- Comprehensive OutputNetwork, broadcast, mask, wildcard, host range and host count are all listed at once.
- IPv4 & Basic IPv6In addition to detailed IPv4 math, it computes IPv6 prefix, network and total address count.
- Fully Client-sideEvery calculation happens on your device. The addresses you enter are never sent to a server.
Use Cases
- Subnet configuration for routers, switches and firewalls
- Planning CIDR ranges for cloud VPCs and subnets
- Checking DHCP scopes and usable host counts
- Building wildcard masks for access control lists (ACLs)
- Studying networking and preparing for certifications
Related Tools & Guides
FAQ
What is the difference between CIDR and a subnet mask?
How is the number of usable hosts calculated?
What is a wildcard mask?
Can it tell whether an address is private?
Is the IP address I enter sent anywhere?
Does it support IPv6?
How should I think about splitting a subnet further?
What is the binary subnet mask view useful for?
Feedback
Missing a feature, or getting a result that looks wrong? Let us know — we improve our tools based on your feedback.