IP subnet calculator
Type an address with its prefix or mask to see the network, its usable range and masks. Split it into smaller subnets, or look up any prefix in the reference tables.
Network65.167.78.0/24
Usable hosts254
Subnet mask255.255.255.0
Addresses256
- Network address
65.167.78.0- Broadcast address
65.167.78.255- First usable
65.167.78.1- Last usable
65.167.78.254- Usable hosts
- 254 (256 less the network and broadcast addresses)
- Subnet mask
255.255.255.0- Wildcard mask
0.0.0.255(Cisco ACLs, OSPF)- Prefix length
- /24
- Type
- Public public
- Old class
- A (default /8)
- As numbers
- Hex
41A74E00· Integer1101483520to1101483775 - Reverse DNS zone
78.167.65.in-addr.arpa
Binary
| Binary (network bits bold, host bits grey) | Dotted | |
|---|---|---|
| Address | 01000001.10100111.01001110..00000000 | 65.167.78.0 |
| Subnet mask | 11111111.11111111.11111111..00000000 | 255.255.255.0 |
| Network | 01000001.10100111.01001110..00000000 | 65.167.78.0 |
| Broadcast | 01000001.10100111.01001110..11111111 | 65.167.78.255 |
Split into smaller subnets
65.167.78.0/24 makes 64 subnets of /30.
| # | Subnet | Usable hosts range | Broadcast | Hosts |
|---|---|---|---|---|
| 1 | 65.167.78.0/30 | 65.167.78.1 to 65.167.78.2 | 65.167.78.3 | 2 |
| 2 | 65.167.78.4/30 | 65.167.78.5 to 65.167.78.6 | 65.167.78.7 | 2 |
| 3 | 65.167.78.8/30 | 65.167.78.9 to 65.167.78.10 | 65.167.78.11 | 2 |
| 4 | 65.167.78.12/30 | 65.167.78.13 to 65.167.78.14 | 65.167.78.15 | 2 |
| 5 | 65.167.78.16/30 | 65.167.78.17 to 65.167.78.18 | 65.167.78.19 | 2 |
| 6 | 65.167.78.20/30 | 65.167.78.21 to 65.167.78.22 | 65.167.78.23 | 2 |
| 7 | 65.167.78.24/30 | 65.167.78.25 to 65.167.78.26 | 65.167.78.27 | 2 |
| 8 | 65.167.78.28/30 | 65.167.78.29 to 65.167.78.30 | 65.167.78.31 | 2 |
| 9 | 65.167.78.32/30 | 65.167.78.33 to 65.167.78.34 | 65.167.78.35 | 2 |
| 10 | 65.167.78.36/30 | 65.167.78.37 to 65.167.78.38 | 65.167.78.39 | 2 |
| 11 | 65.167.78.40/30 | 65.167.78.41 to 65.167.78.42 | 65.167.78.43 | 2 |
| 12 | 65.167.78.44/30 | 65.167.78.45 to 65.167.78.46 | 65.167.78.47 | 2 |
| 13 | 65.167.78.48/30 | 65.167.78.49 to 65.167.78.50 | 65.167.78.51 | 2 |
| 14 | 65.167.78.52/30 | 65.167.78.53 to 65.167.78.54 | 65.167.78.55 | 2 |
| 15 | 65.167.78.56/30 | 65.167.78.57 to 65.167.78.58 | 65.167.78.59 | 2 |
| 16 | 65.167.78.60/30 | 65.167.78.61 to 65.167.78.62 | 65.167.78.63 | 2 |
| 17 | 65.167.78.64/30 | 65.167.78.65 to 65.167.78.66 | 65.167.78.67 | 2 |
| 18 | 65.167.78.68/30 | 65.167.78.69 to 65.167.78.70 | 65.167.78.71 | 2 |
| 19 | 65.167.78.72/30 | 65.167.78.73 to 65.167.78.74 | 65.167.78.75 | 2 |
| 20 | 65.167.78.76/30 | 65.167.78.77 to 65.167.78.78 | 65.167.78.79 | 2 |
| 21 | 65.167.78.80/30 | 65.167.78.81 to 65.167.78.82 | 65.167.78.83 | 2 |
| 22 | 65.167.78.84/30 | 65.167.78.85 to 65.167.78.86 | 65.167.78.87 | 2 |
| 23 | 65.167.78.88/30 | 65.167.78.89 to 65.167.78.90 | 65.167.78.91 | 2 |
| 24 | 65.167.78.92/30 | 65.167.78.93 to 65.167.78.94 | 65.167.78.95 | 2 |
| 25 | 65.167.78.96/30 | 65.167.78.97 to 65.167.78.98 | 65.167.78.99 | 2 |
| 26 | 65.167.78.100/30 | 65.167.78.101 to 65.167.78.102 | 65.167.78.103 | 2 |
| 27 | 65.167.78.104/30 | 65.167.78.105 to 65.167.78.106 | 65.167.78.107 | 2 |
| 28 | 65.167.78.108/30 | 65.167.78.109 to 65.167.78.110 | 65.167.78.111 | 2 |
| 29 | 65.167.78.112/30 | 65.167.78.113 to 65.167.78.114 | 65.167.78.115 | 2 |
| 30 | 65.167.78.116/30 | 65.167.78.117 to 65.167.78.118 | 65.167.78.119 | 2 |
| 31 | 65.167.78.120/30 | 65.167.78.121 to 65.167.78.122 | 65.167.78.123 | 2 |
| 32 | 65.167.78.124/30 | 65.167.78.125 to 65.167.78.126 | 65.167.78.127 | 2 |
| 33 | 65.167.78.128/30 | 65.167.78.129 to 65.167.78.130 | 65.167.78.131 | 2 |
| 34 | 65.167.78.132/30 | 65.167.78.133 to 65.167.78.134 | 65.167.78.135 | 2 |
| 35 | 65.167.78.136/30 | 65.167.78.137 to 65.167.78.138 | 65.167.78.139 | 2 |
| 36 | 65.167.78.140/30 | 65.167.78.141 to 65.167.78.142 | 65.167.78.143 | 2 |
| 37 | 65.167.78.144/30 | 65.167.78.145 to 65.167.78.146 | 65.167.78.147 | 2 |
| 38 | 65.167.78.148/30 | 65.167.78.149 to 65.167.78.150 | 65.167.78.151 | 2 |
| 39 | 65.167.78.152/30 | 65.167.78.153 to 65.167.78.154 | 65.167.78.155 | 2 |
| 40 | 65.167.78.156/30 | 65.167.78.157 to 65.167.78.158 | 65.167.78.159 | 2 |
| 41 | 65.167.78.160/30 | 65.167.78.161 to 65.167.78.162 | 65.167.78.163 | 2 |
| 42 | 65.167.78.164/30 | 65.167.78.165 to 65.167.78.166 | 65.167.78.167 | 2 |
| 43 | 65.167.78.168/30 | 65.167.78.169 to 65.167.78.170 | 65.167.78.171 | 2 |
| 44 | 65.167.78.172/30 | 65.167.78.173 to 65.167.78.174 | 65.167.78.175 | 2 |
| 45 | 65.167.78.176/30 | 65.167.78.177 to 65.167.78.178 | 65.167.78.179 | 2 |
| 46 | 65.167.78.180/30 | 65.167.78.181 to 65.167.78.182 | 65.167.78.183 | 2 |
| 47 | 65.167.78.184/30 | 65.167.78.185 to 65.167.78.186 | 65.167.78.187 | 2 |
| 48 | 65.167.78.188/30 | 65.167.78.189 to 65.167.78.190 | 65.167.78.191 | 2 |
| 49 | 65.167.78.192/30 | 65.167.78.193 to 65.167.78.194 | 65.167.78.195 | 2 |
| 50 | 65.167.78.196/30 | 65.167.78.197 to 65.167.78.198 | 65.167.78.199 | 2 |
| 51 | 65.167.78.200/30 | 65.167.78.201 to 65.167.78.202 | 65.167.78.203 | 2 |
| 52 | 65.167.78.204/30 | 65.167.78.205 to 65.167.78.206 | 65.167.78.207 | 2 |
| 53 | 65.167.78.208/30 | 65.167.78.209 to 65.167.78.210 | 65.167.78.211 | 2 |
| 54 | 65.167.78.212/30 | 65.167.78.213 to 65.167.78.214 | 65.167.78.215 | 2 |
| 55 | 65.167.78.216/30 | 65.167.78.217 to 65.167.78.218 | 65.167.78.219 | 2 |
| 56 | 65.167.78.220/30 | 65.167.78.221 to 65.167.78.222 | 65.167.78.223 | 2 |
| 57 | 65.167.78.224/30 | 65.167.78.225 to 65.167.78.226 | 65.167.78.227 | 2 |
| 58 | 65.167.78.228/30 | 65.167.78.229 to 65.167.78.230 | 65.167.78.231 | 2 |
| 59 | 65.167.78.232/30 | 65.167.78.233 to 65.167.78.234 | 65.167.78.235 | 2 |
| 60 | 65.167.78.236/30 | 65.167.78.237 to 65.167.78.238 | 65.167.78.239 | 2 |
| 61 | 65.167.78.240/30 | 65.167.78.241 to 65.167.78.242 | 65.167.78.243 | 2 |
| 62 | 65.167.78.244/30 | 65.167.78.245 to 65.167.78.246 | 65.167.78.247 | 2 |
| 63 | 65.167.78.248/30 | 65.167.78.249 to 65.167.78.250 | 65.167.78.251 | 2 |
| 64 | 65.167.78.252/30 | 65.167.78.253 to 65.167.78.254 | 65.167.78.255 | 2 |
IPv4 CIDR reference (/0 to /32)
| Prefix | Subnet mask | Wildcard | Addresses | Usable hosts | Size | Typical use |
|---|---|---|---|---|---|---|
| /0 | 0.0.0.0 | 255.255.255.255 | 4,294,967,296 | 4,294,967,294 | 16,777,216 × /24 | |
| /1 | 128.0.0.0 | 127.255.255.255 | 2,147,483,648 | 2,147,483,646 | 8,388,608 × /24 | |
| /2 | 192.0.0.0 | 63.255.255.255 | 1,073,741,824 | 1,073,741,822 | 4,194,304 × /24 | |
| /3 | 224.0.0.0 | 31.255.255.255 | 536,870,912 | 536,870,910 | 2,097,152 × /24 | |
| /4 | 240.0.0.0 | 15.255.255.255 | 268,435,456 | 268,435,454 | 1,048,576 × /24 | |
| /5 | 248.0.0.0 | 7.255.255.255 | 134,217,728 | 134,217,726 | 524,288 × /24 | |
| /6 | 252.0.0.0 | 3.255.255.255 | 67,108,864 | 67,108,862 | 262,144 × /24 | |
| /7 | 254.0.0.0 | 1.255.255.255 | 33,554,432 | 33,554,430 | 131,072 × /24 | |
| /8 | 255.0.0.0 | 0.255.255.255 | 16,777,216 | 16,777,214 | 65,536 × /24 | Old class A; 10.0.0.0/8 |
| /9 | 255.128.0.0 | 0.127.255.255 | 8,388,608 | 8,388,606 | 32,768 × /24 | |
| /10 | 255.192.0.0 | 0.63.255.255 | 4,194,304 | 4,194,302 | 16,384 × /24 | |
| /11 | 255.224.0.0 | 0.31.255.255 | 2,097,152 | 2,097,150 | 8,192 × /24 | |
| /12 | 255.240.0.0 | 0.15.255.255 | 1,048,576 | 1,048,574 | 4,096 × /24 | 172.16.0.0/12 |
| /13 | 255.248.0.0 | 0.7.255.255 | 524,288 | 524,286 | 2,048 × /24 | |
| /14 | 255.252.0.0 | 0.3.255.255 | 262,144 | 262,142 | 1,024 × /24 | |
| /15 | 255.254.0.0 | 0.1.255.255 | 131,072 | 131,070 | 512 × /24 | |
| /16 | 255.255.0.0 | 0.0.255.255 | 65,536 | 65,534 | 256 × /24 | Old class B; 192.168.0.0/16 |
| /17 | 255.255.128.0 | 0.0.127.255 | 32,768 | 32,766 | 128 × /24 | |
| /18 | 255.255.192.0 | 0.0.63.255 | 16,384 | 16,382 | 64 × /24 | |
| /19 | 255.255.224.0 | 0.0.31.255 | 8,192 | 8,190 | 32 × /24 | |
| /20 | 255.255.240.0 | 0.0.15.255 | 4,096 | 4,094 | 16 × /24 | |
| /21 | 255.255.248.0 | 0.0.7.255 | 2,048 | 2,046 | 8 × /24 | |
| /22 | 255.255.252.0 | 0.0.3.255 | 1,024 | 1,022 | 4 × /24 | Large office or guest Wi-Fi (1,022 hosts) |
| /23 | 255.255.254.0 | 0.0.1.255 | 512 | 510 | 2 × /24 | Larger office LAN (510 hosts) |
| /24 | 255.255.255.0 | 0.0.0.255 | 256 | 254 | 1 × /24 | Typical office LAN (old class C) |
| /25 | 255.255.255.128 | 0.0.0.127 | 128 | 126 | 1/2 of a /24 | Smaller LAN or VLAN |
| /26 | 255.255.255.192 | 0.0.0.63 | 64 | 62 | 1/4 of a /24 | Smaller LAN or VLAN |
| /27 | 255.255.255.224 | 0.0.0.31 | 32 | 30 | 1/8 of a /24 | Small VLAN, phones, cameras |
| /28 | 255.255.255.240 | 0.0.0.15 | 16 | 14 | 1/16 of a /24 | Small VLAN, phones, cameras |
| /29 | 255.255.255.248 | 0.0.0.7 | 8 | 6 | 1/32 of a /24 | Small fixed public block (5 usable) |
| /30 | 255.255.255.252 | 0.0.0.3 | 4 | 2 | 1/64 of a /24 | Point-to-point (old style) |
| /31 | 255.255.255.254 | 0.0.0.1 | 2 | 2 | 1/128 of a /24 | Point-to-point link (RFC 3021) |
| /32 | 255.255.255.255 | 0.0.0.0 | 1 | 1 | 1/256 of a /24 | One host |
IPv6 prefix reference
| Prefix | Addresses | /64 LANs | /48 sites | Nibble | Typical use |
|---|---|---|---|---|---|
| /3 | 42,535,295,865,117,307,932,921,825,928,971,026,432 (2^125) | 2,305,843,009,213,693,952 | 35,184,372,088,832 | No | All global unicast (2000::/3) |
| /16 | 5,192,296,858,534,827,628,530,496,329,220,096 (2^112) | 281,474,976,710,656 | 4,294,967,296 | Yes | |
| /20 | 324,518,553,658,426,726,783,156,020,576,256 (2^108) | 17,592,186,044,416 | 268,435,456 | Yes | Large provider allocation (RIPE minimum for some) |
| /29 | 633,825,300,114,114,700,748,351,602,688 (2^99) | 34,359,738,368 | 524,288 | No | RIPE allocation to a provider (often) |
| /32 | 79,228,162,514,264,337,593,543,950,336 (2^96) | 4,294,967,296 | 65,536 | Yes | Provider allocation (RIPE default) |
| /36 | 4,951,760,157,141,521,099,596,496,896 (2^92) | 268,435,456 | 4,096 | Yes | |
| /40 | 309,485,009,821,345,068,724,781,056 (2^88) | 16,777,216 | 256 | Yes | |
| /44 | 19,342,813,113,834,066,795,298,816 (2^84) | 1,048,576 | 16 | Yes | |
| /48 | 1,208,925,819,614,629,174,706,176 (2^80) | 65,536 | 1 | Yes | One site or organisation (RIPE PI / assignment) |
| /52 | 75,557,863,725,914,323,419,136 (2^76) | 4,096 | Yes | ||
| /56 | 4,722,366,482,869,645,213,696 (2^72) | 256 | Yes | Small site or home (common provider assignment) | |
| /60 | 295,147,905,179,352,825,856 (2^68) | 16 | Yes | Some home broadband (16 LANs) | |
| /64 | 18,446,744,073,709,551,616 (2^64) | 1 | Yes | One LAN or VLAN (needed for SLAAC) | |
| /72 | 72,057,594,037,927,936 (2^56) | 1/256 of a /64 | Yes | ||
| /80 | 281,474,976,710,656 (2^48) | 1/65,536 of a /64 | Yes | ||
| /96 | 4,294,967,296 | 1/4,294,967,296 of a /64 | Yes | Embeds an IPv4 address (NAT64) | |
| /112 | 65,536 | 1/281,474,976,710,656 of a /64 | Yes | ||
| /120 | 256 | 1/72,057,594,037,927,936 of a /64 | Yes | ||
| /124 | 16 | 1/1,152,921,504,606,846,976 of a /64 | Yes | ||
| /126 | 4 | 1/4,611,686,018,427,387,904 of a /64 | No | ||
| /127 | 2 | 1/9,223,372,036,854,775,808 of a /64 | No | Point-to-point link (RFC 6164) | |
| /128 | 1 | 1/18,446,744,073,709,551,616 of a /64 | Yes | One host or loopback |
Private and special ranges
IPv4
| Range | Name | What it is |
|---|---|---|
255.255.255.255/32 | Limited broadcast | Every host on the local network |
0.0.0.0/8 | This network | Not routed; 0.0.0.0 means "any address" in settings |
10.0.0.0/8 | Private (RFC 1918) | Office and home networks; not routed on the internet |
100.64.0.0/10 | Shared address space (CGNAT) | Used by providers behind carrier-grade NAT (RFC 6598) |
127.0.0.0/8 | Loopback | This computer |
169.254.0.0/16 | Link-local (APIPA) | Self-assigned when no DHCP server answers |
172.16.0.0/12 | Private (RFC 1918) | Office and home networks; not routed on the internet |
192.0.0.0/24 | IETF protocol assignments | Special uses such as DS-Lite |
192.0.2.0/24 | Documentation (TEST-NET-1) | For examples; never used on a network |
192.88.99.0/24 | 6to4 relay (deprecated) | Formerly anycast for 6to4 |
192.168.0.0/16 | Private (RFC 1918) | Office and home networks; not routed on the internet |
198.18.0.0/15 | Benchmarking | Network equipment testing (RFC 2544) |
198.51.100.0/24 | Documentation (TEST-NET-2) | For examples; never used on a network |
203.0.113.0/24 | Documentation (TEST-NET-3) | For examples; never used on a network |
224.0.0.0/4 | Multicast | One-to-many traffic, such as IPTV and routing protocols |
240.0.0.0/4 | Reserved | Future use; not usable on most systems |
IPv6
| Range | Name | What it is |
|---|---|---|
::/128 | Unspecified | No address; :: means "any address" in settings |
::1/128 | Loopback | This computer |
::ffff:0:0/96 | IPv4-mapped | An IPv4 address written as IPv6 |
64:ff9b::/96 | NAT64 | IPv4 addresses reached through a NAT64 gateway |
100::/64 | Discard only | Traffic sent here is dropped (RFC 6666) |
2001:db8::/32 | Documentation | For examples; never used on a network |
2001::/32 | Teredo | IPv6 tunnelled over IPv4 UDP |
2002::/16 | 6to4 | IPv6 tunnelled over IPv4 (largely retired) |
3fff::/20 | Documentation | For examples (RFC 9637) |
fc00::/7 | Unique local (ULA) | Private IPv6, like RFC 1918; usually fd00::/8 |
fe80::/10 | Link-local | Every IPv6 interface has one; not routed |
ff00::/8 | Multicast | One-to-many traffic; replaces broadcast |
2000::/3 | Global unicast | Public internet addresses |