Home > Blog > Cisco Certified Network Associate > Introduction to Subnetting: Master the Math

Introduction to Subnetting: Master the Math

Cisco CCNA Cert Sensei Team 2026-09-06 8 min read

Subnetting is the process of borrowing bits from the host portion of an IP address to create smaller logical networks, reducing broadcast traffic and conserving addresses.

#Subnetting #CIDR #IPv4 #Binary Math #CCNA Exam

Why Do We Subnet?

Subnetting allows network administrators to take a large block of IP addresses and divide them into smaller, more manageable logical networks called **subnets**. This improves network performance by containing **broadcast traffic** and enhances security by separating network segments.

The Subnetting Formula

To calculate subnets, we borrow bits from the host portion of the address. The formula for the number of created subnets is **2^s**, where *s* is the number of borrowed bits. The formula for usable hosts per subnet is **(2^h) - 2**, where *h* is the number of remaining host bits. The '- 2' accounts for the network address and broadcast address.

CIDR Notation

**Classless Inter-Domain Routing (CIDR)** notation represents the subnet mask by indicating the number of network bits. For example, a `/24` means the first 24 bits are network bits (255.255.255.0). CIDR makes reading and calculating subnets much faster than writing out full dotted-decimal masks.

❓ Frequently Asked Questions

Why subtract 2 in the host formula?

You must subtract the network address (all host bits 0) and the broadcast address (all host bits 1).


What is CIDR notation?

It's a shorthand method of writing subnet masks, like /24 or /26, representing the number of 1s in the mask.


Is subnetting heavily tested on the CCNA?

Yes, it is a core foundational skill and heavily tested in multiple-choice and lab scenarios.

More from Cisco Certified Network Associate

🧠

Test Your Knowledge

Ready to practice Certified Network Associate? Put what you've learned to the test.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium
📖 Browse the Glossary

Join thousands of certification students

Sign Up Free