Subnet / CIDR Calculator

Calculate IPv4 network, broadcast, subnet mask, wildcard mask, and host range from any IP address and CIDR prefix.

Frequently Asked Questions

What is CIDR notation?

CIDR notation writes a network as an IP followed by a slash and prefix length, like 192.168.1.0/24. The prefix length counts network bits and replaced the old Class A/B/C system.

Why do I lose 2 addresses in every subnet?

The first address (all host bits zero) is the network address used in routing. The last (all host bits one) is the broadcast address. Neither can be assigned to a device.

What are the RFC 1918 private address ranges?

10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are reserved for private networks and never routed on the public internet.

What is a wildcard mask and how does it differ from a subnet mask?

A wildcard mask is the bitwise inverse of the subnet mask. Cisco ACLs and OSPF use wildcards instead of subnet masks. The Wildcard Mask Calculator covers non-contiguous wildcards for advanced ACL patterns.

Important Disclaimer: Estimates for informational purposes only.

This calculator provides estimates for informational purposes only. Results are based on assumptions and may not reflect actual outcomes. Consult qualified professionals in relevant fields before making important decisions based on these results.