KnowledgebaseNetworking

CIDR Cheat Sheet

A reference for IPv4 subnet masks, host counts, and block sizes.

CIDR (Classless Inter‑Domain Routing) replaces the old classful system and defines networks using a slash notation (e.g., /24). The number after the slash represents the number of network bits.

CIDR Formulas

  • Hosts=2h2Hosts=2^h-2
  • Subnets=2sSubnets=2^s
  • BlockSize=256InterestingOctetBlock Size=256-Interesting Octet

CIDR to Subnet Mask Table

CIDRSubnet MaskHostsBlock SizeNotes
/32255.255.255.25511Single host
/31255.255.255.25422Point‑to‑point links
/30255.255.255.25244WAN links
/29255.255.255.24888Small networks
/28255.255.255.2401616Sub‑LANs
/27255.255.255.2243232Small office
/26255.255.255.1926464IoT, cameras
/25255.255.255.128128128Half of a /24
/24255.255.255.0256256Standard LAN
/23255.255.254.0512512Supernet
/22255.255.252.010241024Large LAN
/21255.255.248.020482048Aggregation
/20255.255.240.040964096Cloud networks
/19255.255.224.081928192ISPs
/18255.255.192.01638416384ISPs
/17255.255.128.03276832768ISPs
/16255.255.0.06553665536Large networks
/15255.254.0.0131072131072Supernet
/14255.252.0.0262144262144Supernet
/13255.248.0.0524288524288Supernet
/12255.240.0.01,048,5761MPrivate 172.16/12
/11255.224.0.02,097,1522MISP blocks
/10255.192.0.04,194,3044MCGNAT 100.64/10
/9255.128.0.08,388,6088M
/8255.0.0.016,777,21616MPrivate 10/8
CIDR to Subnet Mask Table

EDK-Tech

I’m an emerging IT and electronics technician focused on building strong foundational skills in networking, connectivity, and hands‑on system troubleshooting. Alongside my IT and electronics work, I have experience in web development and WordPress engineering, including custom plugin development, shortcode systems, UI/UX improvements, and modular, scalable code design. I enjoy creating tools that solve real problems, improve workflows, and enhance the user experience.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *


Math Captcha
9 × 1 =


Back to top button