IP Subnet Calculator
Calculate network address, broadcast, subnet mask and usable IPs.
Total IPs: 256
Recommended Tools
Hand-picked utilities you might find useful
Calculating IP Subnets and CIDR Ranges
Overview
A subnet calculator takes an IP address and a subnet mask (or CIDR prefix like /24) and works out the network's key numbers: the network address, broadcast address, usable host range, and how many devices fit. This saves you the error-prone binary math when planning or troubleshooting a network. It computes everything instantly in your browser, with nothing sent to a server.
How to Use (Step by Step)
- 1
Enter the IP and mask
Type an IP address and a subnet mask or CIDR prefix like /24.
- 2
Calculate the subnet
The tool derives the network address, broadcast, usable host range, and host count.
- 3
Apply the results
Use the ranges to configure devices, plan address space, or verify connectivity.
How It Works
You enter an IP and a mask, in either dotted form (255.255.255.0) or CIDR (/24). The tool converts them to binary internally, applies the mask to find the network and broadcast addresses, and derives the first and last usable host addresses and the total host count. It handles IPv4 (and often IPv6) and shows the results in a readable table — all computed locally.
When to Use This
Planning how to split a network into subnets of the right size. Finding the usable IP range for a given CIDR block. Checking whether two addresses are on the same subnet. Configuring a router, firewall, or DHCP scope. Studying for a networking certification. Troubleshooting why a device can't reach another on the LAN.
Frequently Asked Questions
It's the number of bits fixed for the network portion. /24 means the first 24 bits identify the network, leaving 8 bits (256 addresses, 254 usable) for hosts. A smaller number means a larger network.
Important Notes
Subnetting rules differ between IPv4 and IPv6, and point-to-point links (/31) or single hosts (/32) are special cases. Double-check the mask matches your intent before applying it to live equipment.