CIDR Calculator

Calculate IPv4 and IPv6 subnet information instantly from CIDR notation.

Examples:

What is CIDR?

CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and routing Internet Protocol packets. It replaces the old class-based addressing system and allows for more flexible allocation of IP address space.

A CIDR notation looks like 192.168.1.0/24, where /24 is the prefix length — indicating how many bits are used for the network portion of the address.

Common CIDR Ranges

CIDRSubnet MaskUsable HostsCommon Use
/8255.0.0.016,777,214Large enterprise / ISP
/16255.255.0.065,534Medium network
/24255.255.255.0254Office / home network
/28255.255.255.24014Small segment
/30255.255.255.2522Point-to-point link
/32255.255.255.2551Host route

How to use this calculator

  1. Enter an IPv4 or IPv6 address with prefix length (e.g. 10.0.0.0/8).
  2. Click Calculate or press Enter.
  3. View the network address, broadcast, subnet mask, host range, and binary representation.
  4. Copy any value with the copy button.

Frequently Asked Questions

What is the difference between /24 and /25?

A /24 network has 256 total addresses (254 usable), while a /25 splits that in half — giving two networks of 128 addresses each (126 usable).

What is a broadcast address?

The broadcast address is the last address in a subnet. Packets sent to this address are delivered to all hosts in the network.

Does Yurlie send my IP address to a server?

No. This CIDR calculator runs entirely in your browser using JavaScript. Your data never leaves your device.