$ ./subnet-calc
# ipv4 subnet calculator
Enter an IP address with a CIDR prefix (like 192.168.1.10/24) or pick a subnet mask.
Everything is calculated in your browser — nothing is sent anywhere.
Results
Binary breakdown
Network bits
Host bits
Split into smaller subnets
| # | Network | Host range | Broadcast |
|---|
Built by Ayush Hamal as part of a small set of networking and security tools. Handles every prefix from /0 to /32, including /31 point-to-point links (RFC 3021).