
A comprehensive reference for network engineers working with IPv4 addressing, providing quick access
Subnet Mask Cheat Sheet is a web-based reference tool that provides instant lookup of CIDR prefix, subnet mask, total IPs, usable hosts, wildcard mask, and class information for all IPv4 subnets from /0 to /32.
The Subnet Mask Cheat Sheet is a single-page online calculator and reference that lists every possible IPv4 subnet mask in CIDR notation alongside its dotted-decimal form, hexadecimal representation, total IP count, usable host count, wildcard mask, host bits, and legacy class designation. It takes a CIDR prefix (e.g., /24) and outputs the corresponding subnet mask (255.255.255.0) and all derived metrics. The page also includes private IP ranges (RFC 1918), common mask shortcuts, an explanation of classful addressing, and a FAQ section. No login or software installation is required; the tool runs entirely in the browser.
Network engineers designing subnets or configuring routing tables use the tool to quickly verify host counts (e.g., a /29 yields 6 usable addresses). System administrators setting up DHCP scopes or access control lists (ACLs) reference the wildcard mask column for Cisco and Linux firewall rules. Students studying for networking certifications (CCNA, CompTIA Network+) rely on the table to memorize CIDR-to-mask mappings and practice subnetting calculations.
CIDR (Classless Inter-Domain Routing) notation uses an IP address followed by a slash and a number (e.g., /24) to indicate how many bits form the network prefix. The Subnet Mask Cheat Sheet lists every possible prefix, so you can instantly find the corresponding dotted-decimal mask and host range.
A /30 subnet provides exactly 2 usable host addresses (4 total IPs minus network and broadcast). This minimizes wasted IP space for router-to-router connections. The cheat sheet's row for /30 shows these specifics: mask 255.255.255.252, wildcard 0.0.0.3, and class "1/2 C".
There is no technical difference — /24 is the CIDR shorthand for a subnet mask of 255.255.255.0. The cheat sheet displays both formats side by side for every prefix.
A /23 subnet contains 512 total IP addresses. Subtracting the network and broadcast addresses leaves 510 usable hosts. The table confirms this: 510 in the "Usable" column and a wildcard mask of 0.0.1.255.
Share feedback and ask questions about this launch.
No comments yet. Start the conversation!