What Does /24 Mean? Subnets and CIDR
The /24 at the end of an address like 192.168.1.0/24 is its CIDR prefix: the first 24 of the 32 bits name the network and the last 8 tell devices apart, so the block holds 256 addresses, 254 of them usable. Written as a netmask, /24 is 255.255.255.0, and it covers 192.168.1.0 to 192.168.1.255, the usual home network. The Subnet Calculator in Netutilus for macOS works out the range, mask and size of any block, IPv4 or IPv6, offline.
Updated
Download on the Mac App Store ↗
free to download · macOS 14.6 or later
A subnet is a block of addresses that belong together: your home network, a company’s office, a provider’s range. Devices in the same subnet talk to each other directly. Anything outside it goes through the router.
Reading a prefix
An IPv4 address is 32 bits. A subnet is written as an address and a prefix, such as 192.168.1.0/24: the first 24 bits are the network, the same for every address in it, and the rest tell the devices apart.
Example in the app: The bits of 192.168.1.10/24
- The network bits, fixed for the whole block.
- The host bits. Eight of them make 2⁸ = 256 addresses.
The same split written as a mask is the netmask: 255.255.255.0 is /24, ones for the network bits and zeros for the rest.
Sizes worth knowing
- /24: 256 addresses, 254 usable. The usual home network.
- /16: 65,536 addresses.
- /30: 4 addresses, 2 usable, for a link between two routers.
- /32: one single address.
In IPv4 the first address names the network itself and the last is the broadcast address, so neither goes to a device. In IPv6 almost every network is a /64, more addresses than anyone will use.
Why it matters
- Two devices with addresses in different subnets can’t talk directly, even on the same Wi-Fi: a common reason a printer or NAS “disappears”.
- A VPN or a second router using the same range as your home network causes clashes.
Related
- Subnet Calculator, to work out any block.
- IP addresses.
Run it on your own network
Netutilus puts every network tool in one app. Free to download; Pro is a one-time purchase, never a subscription.
Articles
See also
- Subnet CalculatorWorks out a subnet's range, mask and size from any way it's written, and splits it into smaller ones.
- IP AddressesThe numbers devices are reached by: public and private, IPv4 and IPv6.
- LAN ScannerFinds the devices on your network, works out what they are, and can tell you when a new one joins.
- Is My VPN Working?Check that a VPN hides your address, and get warned when it drops or leaks.
- Network MonitorWatches your Mac's network connection live, logs every change, and shows the routing table.