IPv4 Subnet Calculator

Calculate IPv4 subnets with CIDR notation, network and broadcast addresses, host ranges, and ISP-optimized subnet cheat sheet.

Results

Network Address192.168.1.0/24
Broadcast Address192.168.1.255
Host Range192.168.1.1 – 192.168.1.254
Usable Hosts254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255

32-Bit Visual Map

1591317212529
/24
1
1
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
192
168
1
0
Octet 1
Octet 2
Octet 3
Octet 4
Network bits
Host bits

Binary Representation

IP11000000.10101000.00000001.00000000
Mask11111111.11111111.11111111.00000000
Network11000000.10101000.00000001.00000000
Broadcast11000000.10101000.00000001.11111111

Subnet Mask Cheat Sheet

CIDRHostsTypical ISP Use
/321Loopback, management IP
/312Point-to-point links (RFC 3021)
/302OLT uplinks, router interconnects
/296Small customer allocation
/2814Small office, CPE management
/2730Medium customer block
/2662OLT management VLAN
/25126Large customer block
/24254Standard LAN, subscriber segment
/221,022Large subscriber pool
/204,094NAT pool, cloud VPC
/1665,534Large ISP internal network
/816.8MMassive network (Class A)

Private & Reserved IP Ranges

CIDRAddressesCommon Use
10.0.0.0/816.7MCloud VPCs, large ISP backbones
172.16.0.0/121MDocker, medium networks
192.168.0.0/1665KHome networks, CPE management
100.64.0.0/104.2MCGNAT shared address space (RFC 6598)

Subnet Mask Cheat Sheet (192.168.1.0/24 default)

CIDRSubnet MaskHostsTypical ISP Use
/32255.255.255.2551Loopback, management IP
/31255.255.255.2542Point-to-point links (RFC 3021)
/30255.255.255.2522OLT uplinks, router interconnects
/29255.255.255.2486Small customer allocation
/28255.255.255.24014Small office, CPE management
/27255.255.255.22430Medium customer block
/26255.255.255.19262OLT management VLAN
/25255.255.255.128126Large customer block
/24255.255.255.0254Standard LAN, subscriber segment
/22255.255.252.01,022Large subscriber pool
/20255.255.240.04,094NAT pool, cloud VPC
/16255.255.0.065,534Large ISP internal network
/8255.0.0.016.8MMassive network (Class A)

Frequently Asked Questions

Common questions about subnetting, CIDR notation, and IP address planning for ISPs.