πŸ‡―πŸ‡΅ζ—₯本θͺž

CIDR Calculator

Calculate subnets instantly.

Runs entirely in your browser β€” no data is sent to any server

Presets

CIDR✏ Editable
Prefix Length/24
/0/8/16/24/32
Cloud Mode

Network Address

192.168.1.0

Broadcast Address

192.168.1.255

Subnet Mask

255.255.255.0

Wildcard Mask

0.0.0.255

Usable IP Range

192.168.1.1 – 192.168.1.254

Usable Hosts

254

IP Class

Class C

Binary Notation

11000000.10101000.00000001.00000000

Visual Subnet Map

11000000.10101000.00000001.00000000
Network part (/24)Host part

Subnet Split

Count: 4
#Network AddressBroadcast AddressUsable Hosts
1192.168.1.0/26192.168.1.6362
2192.168.1.64/26192.168.1.12762
3192.168.1.128/26192.168.1.19162
4192.168.1.192/26192.168.1.25562

Overlap Check

What is CIDR?

CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and routing Internet Protocol packets. Introduced in 1993 to replace the older classful network design, CIDR is now the standard used across the Internet and all major cloud platforms.

How to Read CIDR Notation

In a CIDR address like "192.168.1.0/24", the number after the slash is the prefix length β€” the number of bits used for the network portion. A prefix of /24 corresponds to the subnet mask 255.255.255.0, giving you 256 total addresses (254 usable hosts). A smaller prefix means a larger network: /8 can hold over 16 million hosts.

Common Use Cases

  • AWS VPC: Start with 10.0.0.0/16 (65,534 hosts) then subdivide into /24 subnets per availability zone
  • Home LAN: 192.168.1.0/24 is the most common choice (up to 254 connected devices)
  • Docker: 172.17.0.0/16 is the default bridge network used by the Docker daemon

When designing subnets, always plan for growth by choosing a prefix with room to spare. A common pattern in cloud architecture is to allocate a /16 VPC and divide it into /24 subnets per service or availability zone. Keep in mind that cloud providers reserve several IP addresses per subnet for internal use β€” the exact count varies by provider.

IP Address Classes

  • Class A (/8): Large-scale networks like 10.0.0.0/8. Can accommodate over 16 million hosts.
  • Class B (/16): Medium-scale networks like 172.16.0.0/12. Supports up to around 1 million hosts.
  • Class C (/24): Small networks like 192.168.0.0/24. Up to 254 usable hosts per subnet.

Switch between cloud modes to see how many IPs each provider reserves: AWS reserves 5 per subnet, Azure reserves 5, and GCP reserves 4. Use this during capacity planning to ensure your subnets have enough usable addresses for your workloads. For IPv6, CIDR uses the same slash notation on 128-bit addresses. A /64 prefix is the standard for a single subnet, while ISPs typically delegate /48 blocks to customer sites.