← Hashito System Home 日本語 Other tools
Input
How to use: Enter an IPv4 address and choose a prefix length (e.g. /24) to see the results update on the right in real time. Each octet must be between 0 and 255.
Results
  • CIDR notation
  • Network address
  • Broadcast address
  • Subnet mask
  • Wildcard mask
  • Usable host range
  • Usable hosts
  • Total addresses
  • IP class / type
📖 We also offer free learning posters that illustrate how IP addresses and subnets work. Take a look at the "How IPv4 addresses work" poster as well.

Frequently Asked Questions (FAQ)

How many hosts are in a /24?

A /24 corresponds to the subnet mask 255.255.255.0 and has 256 total addresses (2 to the 8th power). Excluding the network address at the start and the broadcast address at the end, 254 addresses are usable for actual devices.

What is a subnet mask?

A subnet mask is a 32-bit value that shows which part of an IPv4 address is the network portion and which part is the host portion. The leading consecutive 1 bits indicate the network portion, and the number of those 1 bits is called the prefix length (such as /24). For example, /24 is the same as 255.255.255.0.

Is the calculation done entirely in the browser?

Yes. The calculation from the IP address and prefix length you enter happens entirely in JavaScript inside your browser. Your input is never sent to or stored on a server.

📖 Free learning posters for students →