Free CIDR Subnet Calculator
Enter CIDR notation like 10.0.0.0/24 and get the full picture · network, broadcast, usable range, mask, and how many hosts fit.
100% client-side · nothing you enter is ever sent to a server or stored.
Preview · sign in with a free account to run it
IPv4 only · type a full CIDR like 10.0.0.0/24, or an address plus the prefix dropdown.
- Network address
- 10.0.0.0/24
- Broadcast address
- 10.0.0.255
- First usable host
- 10.0.0.1
- Last usable host
- 10.0.0.254
- Usable hosts
- 254
- Total addresses
- 256
- Subnet mask
- 255.255.255.0 · /24
- Wildcard mask
- 0.0.0.255
- IP class
- Class A · historical classful range 0.0.0.0–127.255.255.255
- Range type
- Private-Use (10.0.0.0/8)
How to use it
- Enter an IPv4 address with a CIDR prefix, such as 192.168.1.50/26, or pick the prefix separately.
- Read the network, broadcast, usable host range, mask and host count.
- Use the result for firewall rules, security groups or database allowlists.
Example
Input
192.168.1.50/26
Result
Network address 192.168.1.0 Broadcast address 192.168.1.63 First usable host 192.168.1.1 Last usable host 192.168.1.62 Usable hosts 62 Total addresses 64 Subnet mask 255.255.255.192 Wildcard mask 0.0.0.63
Reading CIDR
- /26
- The first 26 bits are the network, leaving 6 bits (64 addresses) for hosts.
- Usable hosts
- Total minus the network and broadcast addresses. /31 is the exception: both addresses are usable on point-to-point links (RFC 3021).
- 0.0.0.0/0
- Every IPv4 address. In a firewall or database allowlist it means open to the whole internet.
- Range type
- Shows whether the range is private (10/8, 172.16/12, 192.168/16) or public.
Go deeper
Page updated
Frequently asked questions
What does the /24 in CIDR notation mean?
The number of leading bits fixed as the network part. /24 fixes 24 bits, leaving 8 for hosts · 256 addresses, 254 usable. Each step down doubles the network: /23 is 512 addresses.
Why do security groups use CIDR ranges?
Firewall and cloud security-group rules allow traffic by CIDR block. A rule for 0.0.0.0/0 means "the entire internet" · fine for a public website's port 443, a serious finding on a database port.
Does it do IPv6?
No, IPv4 only.
Want the full picture?
This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.
Run a full security scanRelated tools
chmod Calculator
Toggle read/write/execute for owner, group, and others · and get the octal and symbolic chmod notation both ways.
Color Contrast Checker
Pick a text and background color and get the WCAG contrast ratio · with pass/fail for AA and AAA at normal and large text sizes.
MIME Type Lookup
Search by file extension or MIME type · get the correct Content-Type for serving any file, with notes on the security-sensitive ones.