Subnet Calculator
Calculate network address, broadcast, host range, and more from CIDR notation.
Address details
Host details
Mask details
Binary subnet mask
11111111 11111111 11111111 00000000How to use
- 1
Enter an IP address
Type any valid IPv4 address into the input field. The calculator accepts standard dotted-decimal notation.
- 2
Select a CIDR prefix
Choose a prefix length from /0 to /32 using the dropdown, or click a common preset like /24 or /16.
- 3
Review the results
All subnet details — network address, broadcast, host range, masks, and class — are calculated and displayed instantly.
- 4
Adjust as needed
Change the IP or prefix at any time. Results update automatically as you type.
Frequently asked questions
What is CIDR notation?
What is a wildcard mask?
What is the difference between total hosts and usable hosts?
Does this tool support IPv6?
Enter an IP address and CIDR prefix length to instantly calculate
every detail of the subnet: network address, broadcast address, first
and last usable hosts, total and usable host counts, subnet mask,
wildcard mask, IP class, and binary mask representation. Common prefix
presets make it easy to switch between popular subnet sizes. All
calculations are pure client-side maths — no data leaves your browser.