IP subnet calculator online



Class: {{ Class }}
Network Address: {{ networkAddress }}
Subnet Mask: {{ subnetMask }}
IP Binary: {{ ipBinary }}
Network Binary: {{ networkBinary }}
Subnet Binary: {{ subnetBinary }}
Network Bits: {{ prefix }}
Host Bits: {{ 32-prefix }}
Subnet Bits: {{ subnetBits }}
Total Subnets: {{ totalSubnets }}
Hosts Per Subnet: {{ hostsPerSubnet }}
Total Hosts on Network: {{ hostCount }}
Hosts lost to Subnets: {{ hostsLostToSubnets }}
Liked our calculator? Share it
Embed calculator to your site

Try our IP subnet calculator

In the world of computer networking, IP networks play a crucial role in facilitating communication between devices. These networks are formed by a series of interconnected subnets, allowing data to flow efficiently across the internet. Subnetting is the process of dividing an IP network into smaller networks, which serves various purposes in managing and organizing network resources.

Subnetting Basics

Subnetting is a fundamental concept in computer networking. It involves breaking down a large IP network into smaller subnets, each with its own unique network address. Routers, essential devices in any network, act as the gateway between subnets, allowing traffic exchange and serving as a physical boundary for the subnetworks.

IPv4 and IPv6 are the most common network addressing architectures used today. An IP address consists of two main components: the network number, also known as the routing prefix, and the rest field, which serves as a host identifier.

Components of an IP Address

The network number is a crucial part of an IP address. It identifies the specific network to which a device belongs. All hosts within the same subnet share the same network number. The rest field, on the other hand, identifies the individual devices within that network.


Classless Inter-Domain Routing (CIDR) is a method used to create unique identifiers for networks as well as individual devices. CIDR notation is used to express IP addresses and subnet masks in a concise way. In IPv4, subnet masks are represented in dot-decimal notation, indicating the number of bits in the mask. This allows for more flexible allocation of IP addresses and efficient use of address space.

In IPv6, the network prefix plays a similar role to the subnet mask in IPv4. The prefix length represents the number of bits used for the network address, enabling the creation of a vast number of unique network addresses.

Use of Subnet Mask in IPv4

Subnet masks in IPv4 are crucial for determining the size of a network and its range of assignable addresses. The subnet mask is a binary value applied to an IP address, where each bit determines whether the corresponding bit in the IP address represents the network number or the host identifier. This process allows the router to distinguish between the two parts and deliver data accordingly.

Use of Network Prefix in IPv6

In IPv6, the network prefix serves a similar purpose to the subnet mask in IPv4. It helps identify the network and separates it from the host portion. The length of the prefix, represented in bits, determines the size of the network and the available addresses within it. IPv6's extensive address space provides an abundance of unique addresses to support the growing number of connected devices in the modern world.


Subnetting plays a crucial role in modern computer networking. By dividing IP networks into smaller subnets, it enables more efficient use of IP addresses and helps in managing and organizing network resources effectively. Routers serve as vital devices in this process, facilitating traffic exchange between subnetworks. IPv4 and IPv6 are the most commonly used network addressing architectures, each with its unique approach to subnetting. Understanding these concepts is essential for network administrators and anyone involved in the world of networking.

Through the use of CIDR, subnet masks, and network prefixes, network administrators can create and manage networks with ease, ensuring that data flows smoothly and devices can communicate seamlessly across the internet. So, next time you hear about IP subnet calculators, you'll know that it's a critical tool used to design and optimize modern computer networks.

Privacy Policy

We do not send or store the entered data or results anywhere. We use analytics systems to collect statistics of site visits.

Calculation history is stored exclusively in the user's browser and can be deleted by clearing our site data or by using the clear history button.

Contact us

If you have any questions or wishes - send them to the mail.