IP Subnet Calculator

This calculator returns a variety of information regarding Internet Protocol version 4 (IPv4) and IPv6 subnets including possible network addresses, usable host ranges, subnet mask, and IP class, among others.

IPv4 Subnet Calculator

Result


IP Address:18.16.1.152
Network Address:18.16.1.152
Usable Host IP Range:NA
Broadcast Address:18.16.1.153
Total Number of Hosts:2
Number of Usable Hosts:0
Subnet Mask:255.255.255.254
Wildcard Mask:0.0.0.1
Binary Subnet Mask:11111111.11111111.11111111.11111110
IP Class:C
CIDR Notation:/31
IP Type:Public
 
Short:18.16.1.152 /31
Binary ID:00010010000100000000000110011000
Integer ID:303038872
Hex ID:0x12100198
in-addr.arpa:152.1.16.18.in-addr.arpa
IPv4 Mapped Address:::ffff:1210.0198
6to4 Prefix: 2002:1210.0198::/48

All 128 of the Possible /31 Networks for 18.16.1.*

Network AddressUsable Host RangeBroadcast Address:
18.16.1.018.16.1.1 - 18.16.1.018.16.1.1
18.16.1.218.16.1.3 - 18.16.1.218.16.1.3
18.16.1.418.16.1.5 - 18.16.1.418.16.1.5
18.16.1.618.16.1.7 - 18.16.1.618.16.1.7
18.16.1.818.16.1.9 - 18.16.1.818.16.1.9
18.16.1.1018.16.1.11 - 18.16.1.1018.16.1.11
18.16.1.1218.16.1.13 - 18.16.1.1218.16.1.13
18.16.1.1418.16.1.15 - 18.16.1.1418.16.1.15
18.16.1.1618.16.1.17 - 18.16.1.1618.16.1.17
18.16.1.1818.16.1.19 - 18.16.1.1818.16.1.19
18.16.1.2018.16.1.21 - 18.16.1.2018.16.1.21
18.16.1.2218.16.1.23 - 18.16.1.2218.16.1.23
18.16.1.2418.16.1.25 - 18.16.1.2418.16.1.25
18.16.1.2618.16.1.27 - 18.16.1.2618.16.1.27
18.16.1.2818.16.1.29 - 18.16.1.2818.16.1.29
18.16.1.3018.16.1.31 - 18.16.1.3018.16.1.31
18.16.1.3218.16.1.33 - 18.16.1.3218.16.1.33
18.16.1.3418.16.1.35 - 18.16.1.3418.16.1.35
18.16.1.3618.16.1.37 - 18.16.1.3618.16.1.37
18.16.1.3818.16.1.39 - 18.16.1.3818.16.1.39
18.16.1.4018.16.1.41 - 18.16.1.4018.16.1.41
18.16.1.4218.16.1.43 - 18.16.1.4218.16.1.43
18.16.1.4418.16.1.45 - 18.16.1.4418.16.1.45
18.16.1.4618.16.1.47 - 18.16.1.4618.16.1.47
18.16.1.4818.16.1.49 - 18.16.1.4818.16.1.49
18.16.1.5018.16.1.51 - 18.16.1.5018.16.1.51
18.16.1.5218.16.1.53 - 18.16.1.5218.16.1.53
18.16.1.5418.16.1.55 - 18.16.1.5418.16.1.55
18.16.1.5618.16.1.57 - 18.16.1.5618.16.1.57
18.16.1.5818.16.1.59 - 18.16.1.5818.16.1.59
18.16.1.6018.16.1.61 - 18.16.1.6018.16.1.61
18.16.1.6218.16.1.63 - 18.16.1.6218.16.1.63
18.16.1.6418.16.1.65 - 18.16.1.6418.16.1.65
18.16.1.6618.16.1.67 - 18.16.1.6618.16.1.67
18.16.1.6818.16.1.69 - 18.16.1.6818.16.1.69
18.16.1.7018.16.1.71 - 18.16.1.7018.16.1.71
18.16.1.7218.16.1.73 - 18.16.1.7218.16.1.73
18.16.1.7418.16.1.75 - 18.16.1.7418.16.1.75
18.16.1.7618.16.1.77 - 18.16.1.7618.16.1.77
18.16.1.7818.16.1.79 - 18.16.1.7818.16.1.79
18.16.1.8018.16.1.81 - 18.16.1.8018.16.1.81
18.16.1.8218.16.1.83 - 18.16.1.8218.16.1.83
18.16.1.8418.16.1.85 - 18.16.1.8418.16.1.85
18.16.1.8618.16.1.87 - 18.16.1.8618.16.1.87
18.16.1.8818.16.1.89 - 18.16.1.8818.16.1.89
18.16.1.9018.16.1.91 - 18.16.1.9018.16.1.91
18.16.1.9218.16.1.93 - 18.16.1.9218.16.1.93
18.16.1.9418.16.1.95 - 18.16.1.9418.16.1.95
18.16.1.9618.16.1.97 - 18.16.1.9618.16.1.97
18.16.1.9818.16.1.99 - 18.16.1.9818.16.1.99
18.16.1.10018.16.1.101 - 18.16.1.10018.16.1.101
18.16.1.10218.16.1.103 - 18.16.1.10218.16.1.103
18.16.1.10418.16.1.105 - 18.16.1.10418.16.1.105
18.16.1.10618.16.1.107 - 18.16.1.10618.16.1.107
18.16.1.10818.16.1.109 - 18.16.1.10818.16.1.109
18.16.1.11018.16.1.111 - 18.16.1.11018.16.1.111
18.16.1.11218.16.1.113 - 18.16.1.11218.16.1.113
18.16.1.11418.16.1.115 - 18.16.1.11418.16.1.115
18.16.1.11618.16.1.117 - 18.16.1.11618.16.1.117
18.16.1.11818.16.1.119 - 18.16.1.11818.16.1.119
18.16.1.12018.16.1.121 - 18.16.1.12018.16.1.121
18.16.1.12218.16.1.123 - 18.16.1.12218.16.1.123
18.16.1.12418.16.1.125 - 18.16.1.12418.16.1.125
18.16.1.12618.16.1.127 - 18.16.1.12618.16.1.127
18.16.1.12818.16.1.129 - 18.16.1.12818.16.1.129
18.16.1.13018.16.1.131 - 18.16.1.13018.16.1.131
18.16.1.13218.16.1.133 - 18.16.1.13218.16.1.133
18.16.1.13418.16.1.135 - 18.16.1.13418.16.1.135
18.16.1.13618.16.1.137 - 18.16.1.13618.16.1.137
18.16.1.13818.16.1.139 - 18.16.1.13818.16.1.139
18.16.1.14018.16.1.141 - 18.16.1.14018.16.1.141
18.16.1.14218.16.1.143 - 18.16.1.14218.16.1.143
18.16.1.14418.16.1.145 - 18.16.1.14418.16.1.145
18.16.1.14618.16.1.147 - 18.16.1.14618.16.1.147
18.16.1.14818.16.1.149 - 18.16.1.14818.16.1.149
18.16.1.15018.16.1.151 - 18.16.1.15018.16.1.151
18.16.1.15218.16.1.153 - 18.16.1.15218.16.1.153
18.16.1.15418.16.1.155 - 18.16.1.15418.16.1.155
18.16.1.15618.16.1.157 - 18.16.1.15618.16.1.157
18.16.1.15818.16.1.159 - 18.16.1.15818.16.1.159
18.16.1.16018.16.1.161 - 18.16.1.16018.16.1.161
18.16.1.16218.16.1.163 - 18.16.1.16218.16.1.163
18.16.1.16418.16.1.165 - 18.16.1.16418.16.1.165
18.16.1.16618.16.1.167 - 18.16.1.16618.16.1.167
18.16.1.16818.16.1.169 - 18.16.1.16818.16.1.169
18.16.1.17018.16.1.171 - 18.16.1.17018.16.1.171
18.16.1.17218.16.1.173 - 18.16.1.17218.16.1.173
18.16.1.17418.16.1.175 - 18.16.1.17418.16.1.175
18.16.1.17618.16.1.177 - 18.16.1.17618.16.1.177
18.16.1.17818.16.1.179 - 18.16.1.17818.16.1.179
18.16.1.18018.16.1.181 - 18.16.1.18018.16.1.181
18.16.1.18218.16.1.183 - 18.16.1.18218.16.1.183
18.16.1.18418.16.1.185 - 18.16.1.18418.16.1.185
18.16.1.18618.16.1.187 - 18.16.1.18618.16.1.187
18.16.1.18818.16.1.189 - 18.16.1.18818.16.1.189
18.16.1.19018.16.1.191 - 18.16.1.19018.16.1.191
18.16.1.19218.16.1.193 - 18.16.1.19218.16.1.193
18.16.1.19418.16.1.195 - 18.16.1.19418.16.1.195
18.16.1.19618.16.1.197 - 18.16.1.19618.16.1.197
18.16.1.19818.16.1.199 - 18.16.1.19818.16.1.199
18.16.1.20018.16.1.201 - 18.16.1.20018.16.1.201
18.16.1.20218.16.1.203 - 18.16.1.20218.16.1.203
18.16.1.20418.16.1.205 - 18.16.1.20418.16.1.205
18.16.1.20618.16.1.207 - 18.16.1.20618.16.1.207
18.16.1.20818.16.1.209 - 18.16.1.20818.16.1.209
18.16.1.21018.16.1.211 - 18.16.1.21018.16.1.211
18.16.1.21218.16.1.213 - 18.16.1.21218.16.1.213
18.16.1.21418.16.1.215 - 18.16.1.21418.16.1.215
18.16.1.21618.16.1.217 - 18.16.1.21618.16.1.217
18.16.1.21818.16.1.219 - 18.16.1.21818.16.1.219
18.16.1.22018.16.1.221 - 18.16.1.22018.16.1.221
18.16.1.22218.16.1.223 - 18.16.1.22218.16.1.223
18.16.1.22418.16.1.225 - 18.16.1.22418.16.1.225
18.16.1.22618.16.1.227 - 18.16.1.22618.16.1.227
18.16.1.22818.16.1.229 - 18.16.1.22818.16.1.229
18.16.1.23018.16.1.231 - 18.16.1.23018.16.1.231
18.16.1.23218.16.1.233 - 18.16.1.23218.16.1.233
18.16.1.23418.16.1.235 - 18.16.1.23418.16.1.235
18.16.1.23618.16.1.237 - 18.16.1.23618.16.1.237
18.16.1.23818.16.1.239 - 18.16.1.23818.16.1.239
18.16.1.24018.16.1.241 - 18.16.1.24018.16.1.241
18.16.1.24218.16.1.243 - 18.16.1.24218.16.1.243
18.16.1.24418.16.1.245 - 18.16.1.24418.16.1.245
18.16.1.24618.16.1.247 - 18.16.1.24618.16.1.247
18.16.1.24818.16.1.249 - 18.16.1.24818.16.1.249
18.16.1.25018.16.1.251 - 18.16.1.25018.16.1.251
18.16.1.25218.16.1.253 - 18.16.1.25218.16.1.253
18.16.1.25418.16.1.255 - 18.16.1.25418.16.1.255

Network Class      
Subnet
IP Address

IPv6 Subnet Calculator

Prefix Length:
IP Address:

RelatedBandwidth Calculator | Binary Calculator


A subnet is a division of an IP network (internet protocol suite), where an IP network is a set of communications protocols used on the Internet and other similar networks. It is commonly known as TCP/IP (Transmission Control Protocol/Internet Protocol).

The act of dividing a network into at least two separate networks is called subnetting, and routers are devices that allow traffic exchange between subnetworks, serving as a physical boundary. IPv4 is the most common network addressing architecture used, though the use of IPv6 has been growing since 2006.

An IP address is comprised of a network number (routing prefix) and a rest field (host identifier). A rest field is an identifier that is specific to a given host or network interface. A routing prefix is often expressed using Classless Inter-Domain Routing (CIDR) notation for both IPv4 and IPv6. CIDR is a method used to create unique identifiers for networks, as well as individual devices. For IPv4, networks can also be characterized using a subnet mask, which is sometimes expressed in dot-decimal notation, as shown in the "Subnet" field in the calculator. All hosts on a subnetwork have the same network prefix, unlike the host identifier, which is a unique local identification. In IPv4, these subnet masks are used to differentiate the network number and host identifier. In IPv6, the network prefix performs a similar function as the subnet mask in IPv4, with the prefix length representing the number of bits in the address.

Prior to the introduction of CIDR, IPv4 network prefixes could be directly obtained from the IP address based on the class (A, B, or C, which vary based on the range of IP addresses they include) of the address and the network mask. Since the introduction of CIDRs, however, assigning an IP address to a network interface requires both an address and its network mask.


Below is a table providing typical subnets for IPv4.

Prefix size Network mask Usable hosts per subnet
/1128.0.0.02,147,483,646
/2192.0.0.01,073,741,822
/3224.0.0.0536,870,910
/4240.0.0.0268,435,454
/5248.0.0.0134,217,726
/6252.0.0.067,108,862
/7254.0.0.033,554,430
Class A
/8255.0.0.016,777,214
/9255.128.0.08,388,606
/10255.192.0.04,194,302
/11255.224.0.02,097,150
/12255.240.0.01,048,574
/13255.248.0.0524,286
/14255.252.0.0262,142
/15255.254.0.0131,070
Class B
/16255.255.0.065,534
/17255.255.128.032,766
/18255.255.192.016,382
/19255.255.224.08,190
/20255.255.240.04,094
/21255.255.248.02,046
/22255.255.252.01,022
/23255.255.254.0510
Class C
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2540
/32255.255.255.2550
Financial Fitness & Health Math Other