CIDR Calculator
Calculate CIDR ranges, subnet masks, host counts.Runs in this tab.⌘ ↵ runs it
Network Address192.168.1.0
Broadcast Address192.168.1.255
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Subnet (Binary)11111111.11111111.11111111.00000000
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Total Addresses256
Usable Hosts254
CIDR Prefix/24
IP ClassC
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout CIDR Calculator
Free online CIDR calculator. Calculate network address, broadcast address, subnet mask, wildcard mask, and host count from any CIDR notation. It runs in your browser. Nothing is sent to a server.
Questions
What is CIDR notation?
CIDR (Classless Inter-Domain Routing) notation represents an IP address and its network prefix length, written as IP/prefix (e.g., 192.168.1.0/24). The prefix length indicates how many bits define the network portion.
How do I calculate the number of hosts in a subnet?
The number of usable hosts is 2^(32 - prefix length) - 2. The subtraction of 2 accounts for the network address and broadcast address. For example, a /24 network has 2^8 - 2 = 254 usable hosts.
What is a subnet mask and how does it relate to CIDR?
A subnet mask is a 32-bit number that separates the network and host portions of an IP address. A /24 CIDR prefix is equivalent to a subnet mask of 255.255.255.0. The CIDR calculator shows both representations.
What is the broadcast address in a subnet?
The broadcast address is the last address in a subnet, used to send packets to all hosts on that network. For example, in 192.168.1.0/24, the broadcast address is 192.168.1.255.
Does the CIDR calculator work offline?
Yes, all subnet calculations are performed locally in your browser using JavaScript. No network requests are made.
Comments
More in Web & Networking
- URL Parser
- HTTP Status Codes Reference
- HTTP Headers Reference
- MIME Types Reference
- HTTP Methods Reference
- IP Address Converter
- DNS Record Types Reference
- CORS Header Generator
Comments