Subnet Calculator
Calculate network address, broadcast, host range, subnet mask, and wildcard from CIDR notation instantly.
Address details
Host details
Mask details
Binary subnet mask
11111111 11111111 11111111 00000000How to use Subnet Calculator
-
Enter an IP address
Type any valid IPv4 address in dotted-decimal notation — for example, 192.168.1.0.
-
Select a CIDR prefix
Choose a prefix length from /0 to /32 using the dropdown, or click a common preset like /24 or /16.
-
Review all subnet details
See network address, broadcast address, usable host range, subnet mask, wildcard mask, total hosts, usable hosts, and IP class — all calculated instantly.
-
Adjust as needed
Change the IP address or prefix at any time — results update automatically as you type.
Subnet Calculator FAQ
What is CIDR notation?
What is a wildcard mask?
What is the difference between total hosts and usable hosts?
Does this tool support IPv6?
How many hosts can a /24 subnet hold?
What is a /30 subnet used for?
What does the IP class mean?
How do I find the network address from an IP and subnet mask?
Background
Enter any IPv4 address and CIDR prefix length to instantly calculate every subnet detail: network address, broadcast address, first and last usable host addresses, total and usable host counts, subnet mask (dotted-decimal), wildcard mask, IP class (A/B/C/D/E), and binary mask representation. Common prefix presets — /8, /16, /24, /28, /30 — let you switch between standard sizes with one click.
All maths run as pure client-side computation — no data leaves your browser.
Who is this for: network engineers designing subnets, students studying for CCNA and CompTIA Network+ exams, IT administrators planning IP address allocation, developers building network tools, and anyone who needs to quickly verify CIDR-based addressing. Covers the same calculations as Subnet Calculator by subnetonline.com and solarwinds.com — without ads.
Related tools
What Is My IP
Find your public IPv4 and IPv6 address with ISP, city, country, ASN, and timezone — loads instantly.
MAC Address Generator
Generate random MAC addresses in bulk — configurable format, case, OUI flags, and unicast/multicast bits.
DNS Lookup
Query all DNS record types for any domain — A, AAAA, MX, TXT, CNAME, NS, SOA, CAA — via Cloudflare DoH.
Download Time Calculator
Calculate how long a file download takes — enter file size and connection speed, get an instant estimate.