CIDR subnet math

Enter any IPv4 inside the subnet and a prefix length (0–32). Outputs mask, network, broadcast, and host range.

Example: 10.0.0.0 with /8, or 203.0.113.50/29—any host address in the block works.

FAQ

Does this support IPv6?

No—this page is IPv4 dotted-decimal and CIDR only.

Why do /31 and /32 look different?

/31 is often used for point-to-point links (RFC 3021) with two usable addresses. /32 is a single-host route.

Where do numbers go?

All math runs locally in your browser; nothing is sent to our server.

Is this for production network design?

Use it as a quick check. Real designs need your org’s addressing plan, VLSM rules, and device capabilities.

Can I rely on this for legal or compliance?

No. Educational tool only.

Privacy

Inputs stay on your device unless your browser or extensions do otherwise.