IP Subnet Calculator

Easily analyze IPv4 and IPv6 subnet configurations with our powerful IP Subnet Calculator. Instantly generate subnet details such as available network addresses, valid host ranges, subnet masks, IP classes, and more. Ideal for network planning, system administration, and IT professionals.

IPv4 Subnet Calculator

IPv6 Subnet Calculator


P Subnet Calculator – IPv4 & IPv6 Subnetting Tool

Optimize your network design and IP planning using our advanced IP Subnet Calculator. This tool supports both IPv4 and IPv6 and helps you instantly generate key details like subnet masks, CIDR notations, IP classes, network addresses, and usable host ranges.


What Is Subnetting?

Subnetting is the process of splitting a larger IP network into smaller, efficient segments known as subnets. It allows better control over traffic flow, improves security, and ensures efficient use of IP address space.

Today, IPv4 (Internet Protocol version 4) is still the most common, but IPv6 adoption is increasing due to its vast address capacity and improved structure.


IP Address Breakdown

An IP address includes:

  • Network Prefix – Identifies the network segment
  • Host Identifier – Identifies a specific device on that network

This division is made clearer using CIDR notation (e.g., /24), which specifies how many bits belong to the network portion. In IPv4, subnet masks like 255.255.255.0 are commonly used. In IPv6, the prefix length serves the same purpose, without traditional subnet masks.


Subnet Classes

Before CIDR, IP addresses were categorized as:

  • Class A: Large networks
  • Class B: Medium networks
  • Class C: Smaller networks

CIDR replaced classful networking by allowing variable-length subnet masks, giving admins more flexibility in how networks are divided.


IPv4 Subnet Table

Here’s a complete table of prefix sizes, subnet masks, and the number of usable hosts per subnet:

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

Why Use Our IP Subnet Calculator?

  • Calculate available host ranges with ease
  • Get full subnet info including broadcast and network address
  • Supports both IPv4 and IPv6 calculations
  • Ideal for IT professionals, network engineers, and students

How It Works

Simply enter an IP address and subnet prefix (e.g., 192.168.0.1/24). Our tool will instantly show:

  • Subnet mask
  • Network address
  • Broadcast address
  • Range of usable IPs
  • Number of hosts
  • IP class and CIDR info

Start using the IP Subnet Calculator now to streamline your IP planning and network management tasks. It’s fast, free, and accurate.