Network Tool
Subnet Calculator
Calculate IPv4 subnet details from any IP address and CIDR prefix. Everything runs locally in your browser - no data is sent to any server.
/24
/24
/0/8/16/24/32
Calculation Results
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
Total Hosts
256
Usable Hosts
254
IP Class
C
IP Type
Private (RFC 1918)
Network / Host Bit Split
Network (24)
Host (8)
Bit 0Bit 31
Binary Subnet Mask
11111111111111111111111100000000
11111111.11111111.11111111.00000000
Network bits (24)
Host bits (8)
CIDR Quick Reference
| CIDR | Subnet Mask | Usable Hosts |
|---|---|---|
| /8 | 255.0.0.0 | 16,777,214 |
| /16 | 255.255.0.0 | 65,534 |
| /24 | 255.255.255.0 | 254 |
| /25 | 255.255.255.128 | 126 |
| /26 | 255.255.255.192 | 62 |
| /27 | 255.255.255.224 | 30 |
| /28 | 255.255.255.240 | 14 |
| /29 | 255.255.255.248 | 6 |
| /30 | 255.255.255.252 | 2 |
| /31 | 255.255.255.254 | 2 (P2P) |
| /32 | 255.255.255.255 | 1 (Host) |
Client-Side Only
All calculations run locally in your browser. No IP addresses or network data is transmitted to any server.
IPv4 Only
This calculator currently supports IPv4 addresses only. IPv6 subnet calculation is planned for a future update.
Subnet Tips
- /24 (255.255.255.0) is the most common subnet for small networks with up to 254 hosts
- /30 (255.255.255.252) is standard for point-to-point links between routers
- /31 (RFC 3021) allows 2 usable addresses with no broadcast, ideal for router-to-router links
- The wildcard mask is the inverse of the subnet mask, commonly used in ACLs and OSPF configurations