Subnet Calculator
Calculate subnet mask, network, broadcast, and host range from CIDR
Related Tools
IP Address Converter
Convert IP addresses between decimal, hex, binary, and dotted formats
Try nowBandwidth Calculator
Calculate file transfer time based on file size and connection speed
Try nowMAC Address Generator
Generate random MAC addresses in various formats
Try nowNetwork Port Reference
Searchable reference of common TCP and UDP port numbers
Try nowSubnet Calculator - Free CIDR Network Calculator
Calculate all subnet information from IP address and CIDR prefix length. Get network address, broadcast, first/last host, and total usable hosts.
Enter an IPv4 address in dotted decimal format (e.g., 192.168.1.0) and specify the subnet prefix length using CIDR notation (e.g., /24). Click calculate and Tuttilo instantly computes all subnet parameters: network address, broadcast address, subnet mask in decimal and binary, first usable host IP, last usable host IP, and total number of usable hosts. The results display in both human-readable format and binary representation for educational purposes. All calculations happen in your browser using JavaScript bitwise operations, so your network configurations remain completely private.
Network administrators plan IP address allocation schemes for new office networks or VLANs. IT students learn subnetting concepts by experimenting with different prefix lengths and observing the resulting address ranges. System engineers validate subnet configurations before implementing firewall rules or routing tables. Cloud architects calculate the required CIDR block size for VPC networks based on expected instance counts. Network technicians troubleshoot connectivity issues by verifying whether two IPs belong to the same subnet. Home lab enthusiasts design complex multi-subnet networks for virtualization environments.
Remember that the first IP in a subnet is the network address and the last is the broadcast address—neither can be assigned to hosts. For point-to-point links, use /30 subnets which provide exactly 2 usable addresses. When planning growth, choose a subnet mask that provides 30-50% more addresses than your current need to avoid renumbering later. Class-based networking is obsolete—modern networks use CIDR exclusively, so avoid thinking in terms of Class A, B, or C. For IPv4 address exhaustion, consider private RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) with NAT.
All processing happens directly in your browser. Your files never leave your device — no server uploads, no cloud storage, no data retention. The tool works offline once loaded, requires no registration, and is completely free with no usage limits.
Frequently Asked Questions
What is CIDR notation?
CIDR (Classless Inter-Domain Routing) notation uses a slash followed by a number (e.g., /24) to indicate the number of bits in the network mask.
What is the difference between network and broadcast address?
The network address is the first IP in a subnet (all host bits 0), while the broadcast address is the last IP (all host bits 1).
How many usable hosts does a /24 subnet have?
A /24 subnet has 254 usable host addresses (256 total minus network and broadcast addresses).
What is a wildcard mask?
A wildcard mask is the inverse of the subnet mask. It is used in access control lists (ACLs) and routing protocols.