UplivraUplivra
Uplivra is in beta and online purchasing is paused. Apply to test it: testers get a license on request and 10% off when purchasing opens.

Learn subnetting

Subnet Cheat Sheets

A quick IPv4 CIDR reference for common network engineering prefixes.

Concept

Use the prefix as the source of truth. Traditional usable-host counts subtract two only for ordinary subnets; /31 and /32 require special handling.

IPv4 CIDR reference

CIDRMaskWildcardTotal addressesTraditional usable hosts
/16255.255.0.00.0.255.25565,53665,534
/20255.255.240.00.0.15.2554,0964,094
/21255.255.248.00.0.7.2552,0482,046
/22255.255.252.00.0.3.2551,0241,022
/23255.255.254.00.0.1.255512510
/24255.255.255.00.0.0.255256254
/25255.255.255.1280.0.0.127128126
/26255.255.255.1920.0.0.636462
/27255.255.255.2240.0.0.313230
/28255.255.255.2400.0.0.151614
/29255.255.255.2480.0.0.786
/30255.255.255.2520.0.0.342
/31255.255.255.2540.0.0.12Point-to-point convention
/32255.255.255.2550.0.0.01Host route

IPv6 planning boundaries

/32, /48, /56, /60, and /64 are common planning boundaries. They are conventions and allocation practices, not a replacement for the prefix requirements of a particular design.

Worked example

192.168.1.77/26

256 - 192 = 64
Boundaries: 0, 64, 128, 192

77 is between 64 and 127
Network: 192.168.1.64/26

Try it yourself

Use the subnet calculator and open Show Me the Math to see the calculation for your own address.