CIDRGen Subnet Calculator
Subnet Calculator 100% CLIENT-SIDE
CIDR Notation (e.g. 192.168.1.0/24)
Subnet Breakdown & Ranges

More from CIDRGen

Guides

All tools →All 3 guides →

Frequently Asked Questions

Is my data safe on cidrgen.dev?

Yes. Subnet math is computed locally in your browser, so no address you enter is transmitted or stored.

How many usable hosts are in a /24 network?

254. A /24 has 32-24 = 8 host bits, so 256 addresses, minus the network address and the broadcast address. The calculator lists network, first usable, last usable, and broadcast addresses so you never have to do that subtraction by hand.

Does CIDRGen handle IPv6?

Yes. It accepts IPv6 prefixes alongside IPv4 CIDR notation and reports the network range and address count for each.

🧭 Pro Tips & Gotchas

Reading the output

Subnetting gotchas

Developer Sponsor / Partner
Copied to clipboard!