NetCalc

Simple CIDR & Subnet Calculator for VPCs and Azure VNets

Subnet Calculator

📘 IP Address Info & Subnet Tables

Private IP Address Ranges

  • 10.0.0.0 – 10.255.255.255 (A - 10.0.0.0/8 prefix)
  • 172.16.0.0 – 172.31.255.255 (B - 172.16.0.0/12 prefix)
  • 192.168.0.0 – 192.168.255.255 (C - 192.168.0.0/16 prefix)

Public IP Addresses

All other IPs outside the private ranges above are considered public IPs.

Special IP Addresses

  • 127.0.0.0/8 - Loopback
  • 169.254.0.0/16 - Link-local
  • 224.0.0.0/4 - Multicast
  • 240.0.0.0/4 - Reserved for future use

Common Subnet Prefixes

PrefixSubnet Mask# of Hosts
/00.0.0.04,294,967,296
/1128.0.0.02,147,483,648
/2192.0.0.01,073,741,824
/3224.0.0.0536,870,912
/4240.0.0.0268,435,456
/5248.0.0.0134,217,728
/6252.0.0.067,108,864
/7254.0.0.033,554,432
/8255.0.0.016,777,216
/9255.128.0.08,388,608
/10255.192.0.04,194,304
/11255.224.0.02,097,152
/12255.240.0.01,048,576
/13255.248.0.0524,288
/14255.252.0.0262,144
/15255.254.0.0131,072
/16255.255.0.065,536
/17255.255.128.032,768
/18255.255.192.016,384
/19255.255.224.08,192
/20255.255.240.04,096
/21255.255.248.02,048
/22255.255.252.01,024
/23255.255.254.0512
/24255.255.255.0256
/25255.255.255.128128
/26255.255.255.19264
/27255.255.255.22432
/28255.255.255.24016
/29255.255.255.2488
/30255.255.255.2524
/31255.255.255.2542
/32255.255.255.2551

Helpful Notes

  • /32 represents a single IP (host).
  • /30 is often used for point-to-point links.
  • /24 is common for typical small networks.

IP Address Classes

ClassRangeDefault Subnet MaskPurpose
A1.0.0.0 – 126.255.255.255255.0.0.0Large networks
B128.0.0.0 – 191.255.255.255255.255.0.0Medium-sized networks
C192.0.0.0 – 223.255.255.255255.255.255.0Small networks
D224.0.0.0 – 239.255.255.255N/AMulticast
E240.0.0.0 – 255.255.255.255N/AExperimental