Aller au contenu
/24

Subnet Calculator

IPv4 CIDR → network, broadcast, hosts, wildcard.

Network
192.168.1.0/24
255.255.255.0 · /24
Broadcast
192.168.1.255
First usable host
192.168.1.1
Last usable host
192.168.1.254
Total addresses
256
Usable hosts
254
Subnet mask
255.255.255.0 (/24)
Wildcard mask
0.0.0.255
IP class (historical)
Class C
IP (binary)
11000000.10101000.00000001.00000000
Mask (binary)
11111111.11111111.11111111.00000000

Classful addressing is historical; CIDR is the modern standard.

À propos de Subnet Calculator

Subnet math is everyday work for network design and troubleshooting. From a CIDR (e.g. 192.168.1.0/24) or a dotted subnet mask, this tool derives the network and broadcast addresses, first/last usable hosts, total and usable host counts, and the wildcard mask. Everything runs in your browser — addresses are never sent to a server. Math uses unsigned 32-bit integers via bigint to avoid floating-point bugs. /31 follows RFC 3021 for point-to-point links (both addresses usable). /32 is a host route (the address itself is the only usable host). Classful A–E labels are shown as historical reference; CIDR is the modern standard.

Comment l'utiliser

  1. Choose input mode (CIDR / IP+prefix / IP+mask)
  2. Enter an address (e.g. 192.168.1.0/24)
  3. Read network info, host range, and masks

FAQ

Why does /31 have 2 usable hosts?

RFC 3021 allows both addresses in a /31 to be used as hosts on point-to-point links. Classic network/broadcast reservation does not apply.

How is /32 handled?

/32 is a host route: total and usable counts are both 1, and network/broadcast equal that single address.

Are classes A/B/C still used?

Classful addressing is historical. Modern networks use CIDR (classless). The class label here is for reference only.

Is my input sent anywhere?

No. All calculation runs in your browser; nothing is sent to toco.tools servers.