Subnet (CIDR) Calculator

Calculate subnet information from an IP address and subnet mask.
IP address
Subnet mask
Safe
Processing runs on your device, so input/output is not sent anywhere.

Explanation

Based on the entered IPv4 address and subnet mask (CIDR), this tool calculates and displays the following information.

IP rangeNetwork start and end address
Address countNumber of IP addresses available within the specified subnet
ClassThe class the IP address belongs to

CIDR Subnet Mask Table

A list of subnet information based on CIDR notation for IPv4 addresses.

ClassCIDRSubnet maskAddress count
-/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
Class A/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
Class B/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
Class C/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

Related Tools