Subnet Calculator
Calculate network, broadcast, host range, and mask details from CIDR
This free online subnet calculator runs in your browser and is part of our Calculators collection.
Subnet Calculator
Calculate network details from an IPv4 address and CIDR prefix.
Included values
- Network, broadcast, first and last usable addresses
- Subnet mask and wildcard mask
- Total and usable host counts
- Binary mask breakdown for study and debugging
How to Use the Online Subnet Calculator
Input an IP address and select the CIDR subnet mask prefix from /1 to /32 (e.g. `192.168.1.0/24`).
View the calculated Network Address, Broadcast Address, Subnet Mask, and Wildcard Mask.
Inspect the First Usable Host IP, Last Usable Host IP, and Total Usable Hosts capacity.
Inspect the 32-bit binary bitwise AND visualization showing the network prefix bits versus host identifier bits.
Frequently Asked Questions
Common questions about using this free online subnet calculator.
What does the CIDR prefix slash notation (e.g. `/24`) mean? ▾
Why are the total usable hosts 2 less than the total IP addresses? ▾
What is a Wildcard Mask used for in networking? ▾
What are /30, /31, and /32 subnets used for? ▾
More Calculators
Explore related tools in the same category to solve adjacent tasks faster.