---
# System prepended metadata

title: IP Subnet Calculator | A Complete Guide to Subnetting

---

#   IP Subnet Calculator | A Complete Guide to Subnetting

Do IP Subnet Calculators support IPV4 and IPV6?
![](https://i.imgur.com/4Iq4nCh.jpg)


IPV4 subnet calculator:

Class A (8 bits), Class B (16 bits), and Class C (24 bits) determine Its first bit determines its preferred Network class.
You can start using the example IP address immediately once you enter the IP address.
You can select the target Subnet from the dropdown box by selecting the Network class.
Once the Calculate button is clicked in AllCalculator.net’s IP Subnet Calculator, all the IP addresses and network values are displayed.

Calculate IPv4 Subnet using the following data:

IP address: An IPv4 address consists of four groups of octets separated by dots (.). Each octet is between 0 and 255 and is called an IP address. IPv4 addresses can support up to 232 IP addresses.
Classification of networks: Class A networks consist of IP addresses starting with 8 bits, Class B networks of the first 16 bits, and Class C networks of the first 24 bits
Subnet: A subnet consists of two parts: the mask and the CIDR

IPV6 subnet calculator:

You can use an example IPv6 address either by entering or by choosing from the list
Prefix Length can range from /1 to/128. You can choose from a variety of lengths
The Calculate button can be clicked once you are done

It only requires two properties to calculate the IPv6 Subnet:

An IPv6 prefix length is an integer between 1 and 128 octets. It is the same as an IPv4 subnet mask
A hexadecimal IP address consists of eight groups of sixteen bits, divided by colons (:), for a total of 168 bits

What is IP Subnet Calculator?

The IP subnet calculator can be used for the following things:

A subnet mask (or CIDR prefix) can identify subnet parameters for an IP address.
Specify the length and number of consecutive subnets to display subnet parameters for.

If you provide a CIDR non-decimal IP address (e.g.,10.1.1.5), a prefix length of /2 - /31 will be used as the Subnet mask.
Using Copy link - will copy the link to this page with all current data. The content of the subnet table will be copied to the clipboard.
In Internet Protocol, Classless Inter-Domain Routing assigns IP addresses and routes packets between domains.
A subnet's number of hosts: Generally, two hosts are reserved as network and broadcast addresses within a subnet. In the case of a /31 subnet with only two possible host identifiers, no usable addresses are available for host assignment if the same approach is applied. Hosts on point-to-point links can be assigned IP addresses with all-zero and all-ones using RFC3021: Using 31-Bit Prefixes on IPv4 Point-to-Point Links.

