Calculate Network
Information: /32 and /31 are not valid cidr netmasks for networks. /31 makes no sense and /32 is a direct host.
Infobox IPv4

Private addresses
Private network addresses are not allocated to any specific organization. The following IPv4 address ranges are free of use (RFC 1597)

NetworkFromToSizeInfo
10.0.0.0/810.0.0.010.255.255.25516.777.216single class
172.16.0.0/12172.16.0.0172.31.255.2551.048.57616 contiguous class B
192.168.0.0/16192.168.0.0192.168.255.25565.536256 contiguous class C

Shared addresses
Dedicated space for carrier-grade NAT deployment (RFC 6598)

NetworkFromToSize
100.64.0.0/10100.64.0.0169.254.255.2554.194.304

Link Local addresses
Using Zeroconf or Automatic Private IP Addressing (APIPA), end devices can automatically use an IP address from this range (RFC 5735)

NetworkFromToSize
169.254.0.0/16169.254.0.0169.254.255.25565.536

Comparison table network sizes

CIDRMaskHexBin
1128.0.0.08000000010000000000000000000000000000000
2192.0.0.0C000000011000000000000000000000000000000
3224.0.0.0E000000011100000000000000000000000000000
4240.0.0.0F000000011110000000000000000000000000000
5248.0.0.0F800000011111000000000000000000000000000
6252.0.0.0FC00000011111100000000000000000000000000
7254.0.0.0FE00000011111110000000000000000000000000
8255.0.0.0FF00000011111111000000000000000000000000
9255.128.0.0FF80000011111111100000000000000000000000
10255.192.0.0FFC0000011111111110000000000000000000000
11255.224.0.0FFE0000011111111111000000000000000000000
12255.240.0.0FFF0000011111111111100000000000000000000
13255.248.0.0FFF8000011111111111110000000000000000000
14255.252.0.0FFFC000011111111111111000000000000000000
15255.254.0.0FFFE000011111111111111100000000000000000
16255.255.0.0FFFF000011111111111111110000000000000000
17255.255.128.0FFFF800011111111111111111000000000000000
18255.255.192.0FFFFC00011111111111111111100000000000000
19255.255.224.0FFFFE00011111111111111111110000000000000
20255.255.240.0FFFFF00011111111111111111111000000000000
21255.255.248.0FFFFF80011111111111111111111100000000000
22255.255.252.0FFFFFC0011111111111111111111110000000000
23255.255.254.0FFFFFE0011111111111111111111111000000000
24255.255.255.0FFFFFF0011111111111111111111111100000000
25255.255.255.128FFFFFF8011111111111111111111111110000000
26255.255.255.192FFFFFFC011111111111111111111111111000000
27255.255.255.224FFFFFFE011111111111111111111111111100000
28255.255.255.240FFFFFFF011111111111111111111111111110000
29255.255.255.248FFFFFFF811111111111111111111111111111000
30255.255.255.252FFFFFFFC11111111111111111111111111111100
31255.255.255.254FFFFFFFE11111111111111111111111111111110
32255.255.255.255FFFFFFFF11111111111111111111111111111111