CIDR Calculator

Convert between CIDR notation and IP ranges, calculate subnet information

Convert CIDR to IP Range

Enter a valid IPv4 address (e.g., 192.168.1.0)

/

Number of network bits (0-32)

CIDR Analysis Results

CIDR Notation
192.168.1.0/24
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
First Usable IP
192.168.1.1
Last Usable IP
192.168.1.254
Total Addresses
256
254
Usable Host Addresses
24
Network Bits
8
Host Bits

Network Information

IP Class: C
Network Type: Private

Common CIDR Examples

10.0.0.0/816,777,216 hosts

Class A private network

172.16.0.0/121,048,576 hosts

Class B private network

192.168.0.0/1665,536 hosts

Class C private network

192.168.1.0/24254 hosts

Typical home network

192.168.1.0/2814 hosts

Small subnet

192.168.1.0/302 hosts

Point-to-point link

Subnet Mask Reference

/24255.255.255.0
/25255.255.255.128
/26255.255.255.192
/27255.255.255.224
/28255.255.255.240
/29255.255.255.248
/30255.255.255.252

CIDR Tips

💡

CIDR /24 = 254 usable host addresses

💡

Each CIDR bit doubles or halves the network size

💡

First and last IPs are reserved (network/broadcast)

💡

Private IP ranges: 10.x.x.x, 172.16-31.x.x, 192.168.x.x

Understanding CIDR Notation

What is CIDR?

CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and routing Internet Protocol packets. It replaced the older classful addressing system and allows for more efficient use of IP address space.

CIDR Notation Format

  • •IP Address: The network or host address
  • •Slash (/): Separates IP from prefix length
  • •Prefix Length: Number of network bits (0-32)

How Subnetting Works

Step 1: Subnet Mask

Convert CIDR prefix to binary subnet mask

Step 2: Network Address

Apply mask to find network portion

Step 3: Host Range

Calculate available host addresses

Key Concepts

Network Address

First address in subnet, identifies the network

Broadcast Address

Last address in subnet, used for broadcast traffic

Host Addresses

Addresses between network and broadcast for devices

Example: 192.168.1.0/24

Network: 192.168.1.0
Subnet Mask: 255.255.255.0
First Host: 192.168.1.1
Last Host: 192.168.1.254
Broadcast: 192.168.1.255
Total Hosts: 254