← All tools

IPv4 Subnet Calculator

Enter any IPv4 address plus CIDR prefix. Instant network, broadcast, and host range.

Network192.168.1.0/24
Subnet mask255.255.255.0
Wildcard0.0.0.255
Broadcast192.168.1.255
First usable192.168.1.1
Last usable192.168.1.254
Usable hosts254
Total addresses256
ClassC

How to read the result

Network = IP AND mask. Broadcast = network + host bits set. First/last usable exclude those two, except /31 (both usable, RFC 3021) and /32 (single host).

Example

192.168.1.10/24 → network 192.168.1.0, broadcast 192.168.1.255, usable 192.168.1.1 – 192.168.1.254

FAQ

How many usable hosts in /24?

254. Total 256 minus network and broadcast.

What about /31 and /32?

/31 gives 2 usable (point-to-point, no broadcast reserved). /32 is one host address.

Is my input sent anywhere?

No. All math runs in your browser.