cidr-calculator

CIDR/Subnet Calculator - Free IP Range Calculator

Calculate network addresses, subnet masks, usable IP ranges, broadcast addresses, and split networks into smaller subnets. Essential for AWS VPC planning, cloud infrastructure design, and network engineering. Free, instant, and private.

/
/16
/0/8/16/24/32
Cloud Presets:

IP Range Visualization

10.0.0.010.0.255.255
65,534 usable hosts
Reserved
Usable
AWS Reserved (5)

Subnet Information

Private (RFC 1918)Class A
CIDR Notation10.0.0.0/16
Network Address10.0.0.0
Broadcast Address10.0.255.255
Subnet Mask255.255.0.0
Wildcard Mask0.0.255.255
Hex Mask0xFFFF0000
First Usable IP10.0.0.1
Last Usable IP10.0.255.254
65,536
Total IPs
65,534
Usable Hosts
65,531
AWS Usable

Common Subnet Sizes

Binary Subnet Mask

11111111.11111111.00000000.00000000
16 network bits (1s) | 16 host bits (0s)

Split into Smaller Subnets

Split /16 into:
#110.0.0.0/24
#210.0.1.0/24
#310.0.2.0/24
#410.0.3.0/24
#510.0.4.0/24
#610.0.5.0/24
#710.0.6.0/24
#810.0.7.0/24
#910.0.8.0/24
#1010.0.9.0/24
#1110.0.10.0/24
#1210.0.11.0/24
#1310.0.12.0/24
#1410.0.13.0/24
#1510.0.14.0/24
#1610.0.15.0/24

... and 240 more subnets

AWS VPC Reserved IPs

AWS reserves 5 IP addresses in each subnet:

  • .0 - Network address
  • .1 - VPC router
  • .2 - DNS server
  • .3 - Reserved for future use
  • .255 - Broadcast (not supported in VPC)

What You Get

Network Calculations

  • Network address identification
  • Broadcast address calculation
  • First and last usable IP
  • Total and usable IP count
  • Binary representation

Subnet Mask Details

  • Dotted decimal notation
  • CIDR prefix length
  • Wildcard mask (inverse)
  • Subnet class identification
  • Private/public range detection

Subnet Splitting

  • Split into equal subnets
  • Custom prefix selection
  • Subnet range visualization
  • AWS VPC subnet planning
  • Network hierarchy display

How to Use This Tool

1

Enter CIDR Block

Type a CIDR notation like 10.0.0.0/16 or just an IP address with prefix length

2

Calculate

Click Calculate to see network details, IP ranges, and subnet information

3

Split or Copy

Use the subnet splitter to divide into smaller blocks or copy results

Common CIDR Blocks Reference

CIDRSubnet MaskTotal IPsUsable IPsUse Case
/8255.0.0.016,777,21616,777,214Large enterprise network
/16255.255.0.065,53665,534AWS VPC (max recommended)
/20255.255.240.04,0964,094Large subnet / department
/24255.255.255.0256254Standard subnet (most common)
/28255.255.255.2401614Small/NAT/bastion subnet
/32255.255.255.25511Single host (security groups)

Why CIDR and Subnet Planning Matters

Proper CIDR planning is essential for cloud infrastructure. In AWS, Azure, and GCP, your VPC CIDR block determines how many resources you can deploy and how your network segments are organized. Poor planning leads to IP exhaustion and complex routing.

Subnet sizing affects security and scalability. Smaller subnets provide better isolation for security groups and network ACLs, while larger subnets offer more flexibility for auto-scaling groups and container orchestration.

Understanding CIDR notation is crucial for configuring security groups, firewall rules, and access control lists. A /32 represents a single IP, while /0 means all IP addresses - getting these wrong can expose your infrastructure to attacks.

Network troubleshooting requires understanding IP ranges. Knowing if two IPs are in the same subnet helps diagnose routing issues, security group problems, and connectivity failures in complex multi-tier architectures.

Frequently Asked Questions

CIDR (Classless Inter-Domain Routing) notation is a compact way to represent an IP address and its associated network mask. It uses a format like 192.168.1.0/24, where the number after the slash indicates how many bits of the address are used for the network portion. A /24 means the first 24 bits are the network address, leaving 8 bits (256 addresses) for hosts.

Related Tools