CIDR Calculator - Subnet & IP Range Calculator

Calculate IP ranges, subnet masks, network addresses, and usable hosts from CIDR notation online for free. Perfect for network planning, subnetting, and IP address management.

Complete Information

Get network address, broadcast, first/last host, and subnet mask.

Host Count

Calculate total addresses and usable host count.

Instant Results

Get subnet calculations instantly in your browser.

CIDR Calculator

Common CIDR Prefixes

/24 = 256 addresses (254 hosts)
/25 = 128 addresses (126 hosts)
/26 = 64 addresses (62 hosts)
/27 = 32 addresses (30 hosts)
/28 = 16 addresses (14 hosts)
/29 = 8 addresses (6 hosts)

What is CIDR?

CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and routing Internet Protocol packets. It replaced the old classful network addressing architecture and allows for more efficient allocation of IP addresses.

CIDR Notation Explained

CIDR notation consists of an IP address followed by a slash and a number (e.g., 192.168.1.0/24). The number after the slash represents the number of bits in the network prefix.

Example: 192.168.1.0/24

  • • 192.168.1.0 is the network address
  • • /24 means the first 24 bits are the network portion
  • • This leaves 8 bits for hosts (2^8 = 256 addresses)
  • • Usable hosts: 254 (excluding network and broadcast addresses)

Common CIDR Blocks

CIDRSubnet MaskTotal IPsUsable Hosts
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230

Related Tools