Subnet Calculator

Calculate subnet mask, network address, broadcast, and host range.

Quick:

Results

Network Address
192.168.1.0
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Total Addresses
256
Usable Hosts
254
CIDR Notation
192.168.1.0/24
IP Class
C
Private Address
Yes
Visual Address Range
192.168.1.0 192.168.1.255
Usable host range: 192.168.1.1 to 192.168.1.254
Binary Representation network host
IP Address 11000000. 10101000. 00000001. 00000000
Subnet Mask 11111111. 11111111. 11111111. 00000000
Network 11000000. 10101000. 00000001. 00000000
Subnet Splitter
Divide 192.168.1.0/24 into equal subnets
Common Subnets Reference
CIDR Subnet Mask Wildcard Usable Hosts Class
/8 255.0.0.0 0.255.255.255 16,777,214 A
/16 255.255.0.0 0.0.255.255 65,534 B
/20 255.255.240.0 0.0.15.255 4,094 -
/22 255.255.252.0 0.0.3.255 1,022 -
/24 255.255.255.0 0.0.0.255 254 C
/25 255.255.255.128 0.0.0.127 126 -
/26 255.255.255.192 0.0.0.63 62 -
/27 255.255.255.224 0.0.0.31 30 -
/28 255.255.255.240 0.0.0.15 14 -
/29 255.255.255.248 0.0.0.7 6 -
/30 255.255.255.252 0.0.0.3 2 -
/31 255.255.255.254 0.0.0.1 2 (P2P) -
/32 255.255.255.255 0.0.0.0 1 (Host) -

Frequently Asked Questions

What is a subnet mask?

A subnet mask defines which portion of an IP address identifies the network and which identifies the host. For example, /24 (255.255.255.0) means the first 24 bits are the network part, leaving 8 bits for hosts — giving 2⁸ = 256 addresses, of which 254 are usable (subtract network and broadcast addresses).

How many usable hosts are in a subnet?

Usable hosts = 2^(32 − prefix length) − 2. The −2 removes the network address (all host bits = 0) and the broadcast address (all host bits = 1). Examples: /24 = 254 hosts, /25 = 126, /26 = 62, /27 = 30, /28 = 14, /30 = 2 (used for point-to-point links).

What does CIDR notation mean?

CIDR (Classless Inter-Domain Routing) notation expresses an IP address and its network prefix length as a single string: 192.168.1.0/24. The "/24" means the first 24 bits are the network portion. This replaced the older classful system (Class A /8, Class B /16, Class C /24) with flexible subnet sizing.

What is the difference between private and public IP ranges?

Private IP ranges (RFC 1918) are reserved for internal networks and are not routable on the internet: 10.0.0.0/8 (Class A private), 172.16.0.0/12 (Class B private), 192.168.0.0/16 (Class C private). Your router's WAN IP is public; devices on your LAN get private addresses. NAT allows many private devices to share one public IP.