Calculate network masks, broadcast addresses, and usable host ranges from CIDR notation.
e.g., 10.0.0.1/16 or 192.168.0.1/24
Subnetting is the practice of dividing a network into two or more smaller networks. It increases routing efficiency and enhances network security. However, calculating the precise range of IP addresses, masks, and broadcast addresses manually is error-prone.
CIDR (Classless Inter-Domain Routing) is the modern standard for IP addressing. It uses a flexible suffix (e.g., `/24`) to indicate how many bits of the IP address represent the network vs. the host.
For example, in `192.168.1.0/24`:
/32
1 IP
/30
4 IPs (2 Usable)
/24
256 IPs
/16
65,536 IPs
192.168.1.1/24
Subnet mask: 255.255.255.0, Hosts: 254
Calculates subnet details for a simple network
10.0.0.1/16
Subnet mask: 255.255.0.0, Hosts: 65534
Calculates subnet details using CIDR notation
172.16.1.1/26
Subnet mask: 255.255.255.192, Hosts: 62
Calculates subnet details for a custom network
CIDR notation is a way to represent subnet masks using a prefix length.
Use the Subnet Calculator tool to calculate subnet details such as hosts, subnet mask, and broadcast address.
Subnet mask is a 32-bit number that determines the scope of a subnet, while CIDR notation is a prefix length that represents the subnet mask.
No, the Subnet Calculator currently only supports IPv4.
Click the export button to save the results as a text file or copy them to the clipboard.
Yes, the Subnet Calculator is a free tool available for anyone to use.
The Subnet Calculator has limitations such as only supporting IPv4 and not handling complex subnet scenarios.
Explore more free utilities in Development
Regex Tester
Real-time regular expression tester with highlighting and cheat sheet.
Open
JSON Diff
Compare two JSON objects structurally to find differences.
Open
Cron Generator
Visual builder for Cron schedules with next-run previews.
Open
CSS Box Shadow
Visually design and generate CSS box-shadow code.
Open
Gitignore Generator
Create custom .gitignore files for your projects instantly.
Open
PX to REM Converter
Convert pixels to REM units with live preview.
Open