logo
logo

CIDR Calculator

Calculate subnet masks, network addresses, host ranges from CIDR notation. IP classification, binary masks. Free networking tool.

CIDR Calculator

Calculate IP ranges, subnet masks, and network information from CIDR notation

🌐 Supports all CIDR prefixes /0 to /32 • IPv4 only

Free CIDR Calculator – Calculate IP Ranges & Subnets Online

Calculate subnet masks, network addresses, broadcast addresses, and host ranges from CIDR notation. Instant IP range visualization with private/public classification. Free, browser-based networking tool.

What Is CIDR?

CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and IP routing. CIDR notation combines an IP address with its network prefix length (e.g., 192.168.1.0/24).

CIDR Notation Explained

192.168.1.0/24
ā””ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”˜ ā””ā”¬ā”˜
     IP      Prefix (24 bits for network)

The prefix length indicates how many bits are used for the network portion. The remaining bits identify hosts within that network.

How to Use This Calculator

Step 1: Enter CIDR

Type a valid CIDR notation like 192.168.1.0/24.

Step 2: View Results

Instantly see:

  • Network and broadcast addresses
  • First and last usable hosts
  • Subnet and wildcard masks
  • Total and usable host count
  • IP classification

Step 3: Copy Results

Export the full analysis for documentation.

What Gets Calculated

FieldDescription
Network AddressFirst IP in the range (network identifier)
Broadcast AddressLast IP in the range (all-hosts broadcast)
First HostFirst usable host IP
Last HostLast usable host IP
Subnet MaskDotted decimal mask (e.g., 255.255.255.0)
Wildcard MaskInverse of subnet mask
Total HostsAll IPs in range including network/broadcast
Usable HostsAssignable host addresses

Common CIDR Prefixes

CIDRSubnet MaskUsable Hosts
/8255.0.0.016,777,214
/16255.255.0.065,534
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2542 (point-to-point)
/32255.255.255.2551 (single host)

Private IP Ranges (RFC 1918)

RangeCIDRTypical Use
10.0.0.0 – 10.255.255.25510.0.0.0/8Large networks
172.16.0.0 – 172.31.255.255172.16.0.0/12Medium networks
192.168.0.0 – 192.168.255.255192.168.0.0/16Home/small office

Frequently Asked Questions

What's the difference between network and broadcast address?

The network address (first IP) identifies the network. The broadcast address (last IP) reaches all hosts on that network. Neither can be assigned to individual hosts.

Why are there fewer usable hosts than total IPs?

Two addresses are reserved: network address and broadcast address. Exception: /31 uses both for point-to-point links.

What's a wildcard mask?

The inverse of the subnet mask. Used in access control lists (ACLs) and routing protocols to match IP ranges.

Does this work for IPv6?

This calculator handles IPv4 only. IPv6 uses a different format.