Computer Calculators

IP Subnet Calculator

This calculator returns various information regarding IPv4 or IPv6 Subnets. These include possible network addresses and usable host ranges. Subnet masks and IP classes.

Ip Subnet Calculator

Table of contents

What is subnet?
How does subnet work?
Subnet chart?

What is subnet?

A subnet refers to a part of an IP protocol suite (internet protocol network). An IP network is a group of protocols used by the Internet. TCP/IP (Transmission Control Protocol/Internet Protocol) is the most common name.

How does subnet work?

Subnetting refers to the act of dividing a network into at least two distinct networks. Routers are devices that allow traffic interchange between subnetworks while also serving as a physical boundary. While IPv4 remains the most popular network addressing technology, IPv6 is growing in popularity.
An IP address consists of a routing number (prefix) and a host identifier (rest field). A rest field refers to an identifier that is unique to a particular host or network interface. Classless Inter-Domain Routing, (CIDR), is a common way to express a routing prefix. This works for IPv4 as well as IPv6. CIDR is used to create unique identifiers that can be used for both individual devices as well as networks. Subnet masks are also possible for IPv4 networks. These subnet masks are sometimes expressed in dot-decimal notation as seen in the Calculator's "Subnet" field. Every host on a subnetwork has the same network number, not the host ID, which is unique to each individual. These subnet masks can be used in IPv4 to distinguish between the host identifier and network number. IPv6's network prefix serves a similar function to the IPv4 subnet Mask. The prefix length is the number of bits in an address.
Before the introduction of CIDR, IPv4 prefixes could be obtained directly from the IP address based on the class (A-B or C) of the address. The network mask also affects the range of IP addresses it includes. However, to assign an address to a network address, one must have both its address and its mask.

Subnet chart?

Below is a table listing typical subnets that IPv4 uses:
Prefix size Network mask Usable hosts per subnet
/1 128.0.0.0 2,147,483,646
/2 192.0.0.0 1,073,741,822
/3 224.0.0.0 536,870,910
/4 240.0.0.0 268,435,454
/5 248.0.0.0 134,217,726
/6 252.0.0.0 67,108,862
/7 254.0.0.0 33,554,430
Class A
/8 255.0.0.0 16,777,214
/9 255.128.0.0 8,388,606
/10 255.192.0.0 4,194,302
/11 255.224.0.0 2,097,150
/12 255.240.0.0 1,048,574
/13 255.248.0.0 524,286
/14 255.252.0.0 262,142
/15 255.254.0.0 131,070
Class B
/16 255.255.0.0 65,534
/17 255.255.128.0 32,766
/18 255.255.192.0 16,382
/19 255.255.224.0 8,190
/20 255.255.240.0 4,094
/21 255.255.248.0 2,046
/22 255.255.252.0 1,022
/23 255.255.254.0 510
Class C
/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 0
/32 255.255.255.255 0

Parmis Kazemi
Article author
Parmis Kazemi
Parmis is a content creator who has a passion for writing and creating new things. She is also highly interested in tech and enjoys learning new things.

IP Subnet Calculator English
Published: Thu Feb 03 2022
Latest update: Fri Aug 12 2022
In category Computer calculators
Add IP Subnet Calculator to your own website