Developer Tools

IP / CIDR Calculator

Calculate network address, broadcast, subnet mask, wildcard, and usable host range from any IPv4 CIDR notation

IP Address / CIDR
Network Details
Network Address192.168.1.0
Broadcast Address192.168.1.255
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Total Addresses256
Usable Hosts254
CIDR Notation/24
IP ClassClass C
Binary Representation
IP Address11000000.10101000.00000001.00000000
Subnet Mask11111111.11111111.11111111.00000000
Network11000000.10101000.00000001.00000000
Broadcast11000000.10101000.00000001.11111111
Subnet Reference Table
CIDRSubnet MaskTotal IPsUsable Hosts
/8255.0.0.016,777,21616,777,214
/9255.128.0.08,388,6088,388,606
/10255.192.0.04,194,3044,194,302
/11255.224.0.02,097,1522,097,150
/12255.240.0.01,048,5761,048,574
/13255.248.0.0524,288524,286
/14255.252.0.0262,144262,142
/15255.254.0.0131,072131,070
/16255.255.0.065,53665,534
/17255.255.128.032,76832,766
/18255.255.192.016,38416,382
/19255.255.224.08,1928,190
/20255.255.240.04,0964,094
/21255.255.248.02,0482,046
/22255.255.252.01,0241,022
/23255.255.254.0512510
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242
/31255.255.255.25422
/32255.255.255.25511

What Is the IP / CIDR Subnet Calculator?

The IP/CIDR Subnet Calculator is a free online tool that computes network details from any IPv4 address and CIDR prefix length. Enter an IP address with CIDR notation (e.g., 192.168.1.0/24) and instantly get the network address, broadcast address, subnet mask, wildcard mask, usable host range, and total number of hosts.

Understanding IP subnetting is essential for network administration, server configuration, firewall rules, and cloud infrastructure design. This subnet calculator eliminates manual binary math — just enter your CIDR notation and get all the details you need in one place.

The tool runs entirely in your browser with no server communication, making it safe for calculating production network details.

How to Use the IP Subnet Calculator

  1. Enter an IP address — Type an IPv4 address with CIDR prefix, e.g., 10.0.0.0/8 or 192.168.1.100/24.
  2. View network details — Instantly see network address, broadcast address, subnet mask, wildcard mask, first and last usable host, and total usable hosts.
  3. Adjust the prefix length — Change the CIDR prefix (e.g., /24, /16, /8) to see how different subnet sizes affect the address range.
  4. Copy results — Copy individual values or the full summary to your clipboard.

Key Features

  • Full subnet breakdown — Network address, broadcast, subnet mask, wildcard mask, usable host range, and host count.
  • CIDR notation support — Enter addresses in standard CIDR format (e.g., 192.168.0.0/24) for instant calculation.
  • Binary representation — See the binary form of IP addresses and masks for educational and debugging purposes.
  • Common subnet reference — Quick reference for common CIDR prefix lengths and their corresponding subnet sizes.
  • Instant calculation — Results update as you type with no loading or server round-trips.
  • 100% client-side — No network data is sent to any server. Safe for production IP addresses.

Common Use Cases

  • Network planning — Calculate subnet sizes when designing network architectures for offices, data centers, or cloud VPCs.
  • Firewall rules — Determine the correct CIDR range for security group rules, ACLs, and firewall configurations.
  • Cloud infrastructure — Plan VPC subnets, CIDR blocks, and IP address allocation for AWS, GCP, or Azure deployments.
  • Troubleshooting — Verify whether two IP addresses are on the same subnet, calculate broadcast addresses, or check for overlapping ranges.
  • CCNA / networking study — Practice subnetting calculations and verify answers while studying for networking certifications.

Frequently Asked Questions

🔒 This tool runs entirely in your browser. No data is sent to any server.