🌐 CIDR / RFC 1519 🏠 RFC 1918 Private Ranges 🔢 IPv4

IP Subnet Calculator

Enter an IPv4 address in CIDR notation to instantly calculate network address, broadcast address, first and last usable hosts, subnet mask, wildcard mask, and total host count.

Quick Reference
/24 = 254 hosts. /25 = 126 hosts. /26 = 62 hosts. /27 = 30 hosts. /28 = 14 hosts. /29 = 6 hosts. /30 = 2 hosts.
CIDR / Range Subnet Mask Usable Hosts Common Use
/8 (Class A) 255.0.0.016,777,214ISP / large enterprise
/16 (Class B) 255.255.0.065,534Campus / data centre
/24 (Class C) 255.255.255.0254Home / small office
/25 255.255.255.128126Medium department
/28 255.255.255.24014Small team / VLAN
/30 255.255.255.2522Point-to-point links

Frequently Asked Questions

What are the RFC 1918 private IP ranges?

RFC 1918 (1996) defines three address blocks for private networks: 10.0.0.0/8 (16.7 million addresses, used by large enterprises and ISPs for carrier-grade NAT), 172.16.0.0/12 (1 million addresses, used in data centres), and 192.168.0.0/16 (65,536 addresses, used in home and small office networks). Home routers worldwide typically assign 192.168.1.x or 192.168.0.x addresses to devices.

What is the difference between a subnet mask and a wildcard mask?

A subnet mask uses 1s for network bits and 0s for host bits (e.g., 255.255.255.0 for /24). A wildcard mask is the inverse — 0s for network bits and 1s for host bits (e.g., 0.0.0.255 for /24). Wildcard masks are used in Cisco IOS ACLs (Access Control Lists) and OSPF configurations. They specify which bits to match and which to ignore. Subnet masks are used in IP configuration; wildcard masks are used in router/firewall rules.