Subnet Calculator

Configuration

/0/24/32

Results

Network Address
192.168.1.0
Subnet Mask
255.255.255.0
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
254
Usable Hosts
256
Total IPs

Information

Network Address: The first address in the subnet, used to identify the network itself. Cannot be assigned to a host.

Broadcast Address: The last address in the subnet, used to communicate with all devices on the network.

Quick Reference

  • /24 254 hosts
  • /28 14 hosts
  • /30 2 hosts

What is an IPv4 Subnet Calculator?

An IPv4 subnet calculator is a critical administrative utility used by network engineers to divide a large network into smaller, more efficient, and secure sub-networks (subnets). By entering an IP address and a subnet mask (or CIDR notation), the calculator mathematically computes the network boundaries.

This tool determines your network address (the base identifier of the subnet), the broadcast address (used for transmitting messages to all devices on the subnet), and the exact range of usable IP addresses you can assign to physical interfaces like routers, switches, and servers.

Subnetting is fundamental to infrastructure design because it reduces network congestion, enhances security by isolating traffic, and prevents the exhaustion of limited IPv4 IP addresses.

Example Usage

Scenario: Small Office Network

You are assigned the standard private IP block 192.168.1.0 and need to support up to 25 devices.

  • 1. Input IP Address: 192.168.1.0
  • 2. Input CIDR Prefix: /27 (supports 30 hosts)
  • Resulting Usable Range: 192.168.1.1 - 192.168.1.30

Frequently Asked Questions

What does CIDR mean?

Classless Inter-Domain Routing (CIDR) is a method of allocating IP addresses and IP routing. Instead of legacy Class A/B/C networks, CIDR uses a numerical prefix (like /24) to denote exactly how many bits of the address represent the network vs the host.

Why are there 2 "unusable" hosts in most subnets?

In standard IPv4 subnets, the very first IP address is reserved as the Network Address to identify the subnet itself. The very last IP address is reserved as the Broadcast Address. Neither can be assigned to a regular host device like a computer or printer.

What are /31 and /32 subnets used for?

A /31 subnet is a special case used strictly for point-to-point links between routers, containing exactly 2 usable IPs (the network and broadcast reservations do not apply). A /32 represents a single specific host router loopback interface.

Related Engineering Tools