CIDR Notation Explained: What /24 Means and How to Read It

By CalculatorBase Editorial Team · Published November 16, 2026 · Updated November 14, 2026 · 2 min read

CIDR Notation Explained: What /24 Means and How to Read It

Quick answer: CIDR notation writes an IP address followed by a slash and the number of network bits. In 192.168.1.0/24, the first 24 bits identify the network, leaving 8 bits for hosts: 2⁸ = 256 addresses and 254 usable hosts, with a subnet mask of 255.255.255.0.

Formulas

Addresses = 2^(32 − prefix)

Usable hosts = addresses − 2 (network and broadcast)

Common Prefixes

CIDR Subnet mask Addresses Usable hosts
/16 255.255.0.0 65,536 65,534
/20 255.255.240.0 4,096 4,094
/24 255.255.255.0 256 254
/26 255.255.255.192 64 62
/28 255.255.255.240 16 14
/30 255.255.255.252 4 2

Example: 192.168.1.0/26

Network 192.168.1.0, broadcast 192.168.1.63, usable range 192.168.1.1 to 192.168.1.62: 64 addresses, 62 hosts. Next subnet starts at 192.168.1.64. Cheat sheet: CIDR cheat sheet.

Calculate

The Subnet Calculator gives the range, mask and host count for any CIDR block.

Tips for Accurate Results

Enter the network address with its prefix length, and remember network and broadcast addresses are not usable hosts.

Common mistakes with everyday calculations: using the wrong units, forgetting leap years or breaks, and trusting a rounded result for something that needs an exact one. Double-check anything critical.

Try the Subnet Calculator

Skip the manual work and get an instant result with our free Subnet Calculator. Enter your numbers, see the answer immediately and adjust the inputs to compare scenarios.

More calculators you may find useful: Password Generator.

Related guides

Frequently asked questions

What does /24 mean?

24 network bits.

Why subtract 2 hosts?

Network and broadcast addresses.

What is /32?

A single host.

Do /31 links exist?

Yes, for point-to-point links.

Results from tools and formulas are estimates for everyday use. Verify anything critical, such as security, building or legal deadlines, against official guidance.

Explore other calculators