API & DevOps
IP Subnet Calculator
Enter an IPv4 address and CIDR prefix to compute subnet mask, network and broadcast addresses, usable host range, and host count. A basic calculator for lab and ops checks.
Runs entirely in your browser. Your data never leaves this device.
- CIDR โ mask
- Network & broadcast
- Host range
- Host count
- Private in-browser
Workspace
Client-side ยท No upload
How it works
- Enter an IPv4 address and CIDR prefix (e.g. 24).
- Review mask, network, broadcast, and hosts.
- Copy values you need.
Key features
- CIDR โ mask
- Network & broadcast
- Host range
- Host count
- Private in-browser
FAQ
IPv6?
MVP is IPv4 only.
Host count?
Usable hosts exclude network and broadcast for prefixes < 31.
Private?
Yes.
Validation?
Invalid IPs show an error instead of partial results.
Keep building
Related developer tools
Text & Data
Free Number Base Converter online
Convert between binary, octal, decimal, and hexadecimal online. Free base converter for developers.
Generators
Free Chmod Calculator online
Calculate Unix file permissions visually. Get chmod octal and symbolic modes instantly.
API & DevOps
Free .htaccess Generator online
Generate common Apache .htaccess rules: HTTPS redirect, www, SPA fallback, and 301 aliases.