CIDR Subnet Calculator

Compute IPv4 subnets from CIDR notation. Network, broadcast, mask, host range, and binary view.

Example: 10.0.0.0/16, 172.16.5.0/24, 203.0.113.42/29
Enter input above to see the result.

What is this for?

CIDR (Classless Inter-Domain Routing) notation compresses an IPv4 address and its subnet size into a single string: 192.168.1.0/24 means "the address 192.168.1.0 with a 24-bit network prefix"—equivalent to the older 255.255.255.0 mask notation, but far more compact. This tool decodes any CIDR expression into the practical values you actually need: the network address, broadcast address, subnet mask in dotted form, usable host range, total address count, and binary representation.

When to use it

How it works

Common gotchas

Quick reference