Subnet Calculator
Calculate subnet masks, CIDR, and IP ranges
What is Subnet Calculator?
Subnet Calculator computes network address, broadcast address, host range, and CIDR prefix from an IP address and subnet mask.
When to use this tool
- Planning IP address allocation for a network
- Determining how many hosts fit in a given subnet
- Calculating CIDR notation from a subnet mask (or vice versa)
- Verifying VPC/subnet ranges in cloud infrastructure
How it works
Applies bitwise AND between the IP address and subnet mask to derive the network address. The broadcast address is the network address with all host bits set to 1. Available hosts = 2^(32 - prefix) - 2 (excluding network and broadcast addresses).
Examples
About Subnet Calculator
Calculate subnet masks, CIDR, and IP ranges It runs entirely in your browser โ no files are uploaded to any server, ensuring complete privacy and instant results.
- โขTest and debug regular expressions
- โขParse cron expressions in plain English
- โขFormat SQL, XML, and YAML
- โขConvert between number bases instantly
Last updated: 2025-01-15
FAQ
Calculate subnet masks, CIDR, and IP ranges
Yes, completely free. No signup required.
Yes. Runs entirely in your browser, no files uploaded.
Yes, works on any device with a modern browser.
No, everything runs in your browser.