Subnet Calculator

Enter a CIDR notation (e.g. 192.168.1.0/24) to calculate the network address, broadcast address, host range, subnet mask, and number of usable hosts.

Privacy: this tool processes your data entirely in your browser. Nothing you paste or type is sent to the server.

Enter IP/prefix (e.g. 10.0.0.0/8)

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Calculate /24 subnet

  • cidr = 192.168.1.0/24

Result: Network: 192.168.1.0, Broadcast: 192.168.1.255, Usable hosts: 254

Frequently asked questions

What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation uses an IP address followed by a slash and prefix length (e.g. 192.168.1.0/24). The prefix indicates how many bits define the network portion.

Why subtract 2 from total hosts?

The first address is the network address and the last is the broadcast address - neither can be assigned to a host.

💬 Discuss on BestWordz Community

Join the conversation about Cybersecurity, subnet calculator, cidr calculator on the BestWordz Community forum.

Visit Forum →
Copied!