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 2,147,483,646
/2 1,073,741,822
/3 536,870,910
/4 268,435,454
/5 134,217,726
/6 67,108,862
/7 33,554,430
Class A
/8 16,777,214
/9 8,388,606
/10 4,194,302
/11 2,097,150
/12 1,048,574
/13 524,286
/14 262,142
/15 131,070
Class B
/16 65,534
/17 32,766
/18 16,382
/19 8,190
/20 4,094
/21 2,046
/22 1,022
/23 510
Class C
/24 254
/25 126
/26 62
/27 30
/28 14
/29 6
/30 2
/31 0
/32 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