IPv4 Subnet Calculator

IPv4 Subnet Calculator

Calculate network addresses, subnet masks, usable hosts, and CIDR notation

Network Parameters
Usable IP Range
—
—
Network Address
—
Subnet Mask
—
Broadcast Address
—
Usable Hosts
—

How to Use the IPv4 Subnet Calculator

  1. Input IP Address: Enter any valid IPv4 address (e.g., 10.0.0.1 or 192.168.1.1).
  2. Select Subnet Mask: Choose a prefix length from /1 to /32. Standard home networks usually use /24 (255.255.255.0).
  3. Calculate Network Specs: Click “Calculate Subnet Details” to obtain network addresses, host ranges, and broadcast boundaries.

Key IPv4 Subnetting Concepts

1. Network Address:

Network Address = IP Address AND Subnet Mask

2. Broadcast Address:

Broadcast Address = Network Address OR (NOT Subnet Mask)

3. Usable Host Calculation:

Usable Hosts = 2^(32 – Prefix Length) – 2

Frequently Asked Questions (FAQ)

Why subtract 2 from total host capacity?

In standard IPv4 subnets, two addresses are reserved for specific networking tasks: the first address serves as the Network Address, and the last address acts as the Broadcast Address.

What is CIDR Notation?

Classless Inter-Domain Routing (CIDR) represents a subnet mask as a slash followed by the number of leading 1-bits in the binary mask (e.g., /24 equals 255.255.255.0).

Scroll to Top