Skip to content
๐Ÿงฎ Free CCNA Tools

Subnet Calculator for IPv4, IPv6 & VLSM

IPv4 Subnet Calculator ยท IPv6 ยท VLSM ยท Binary Converter ยท Cheat Sheet โ€” all in one place.

/
Quick:

CCNA Subnetting Tips

โšก

Magic Number Method

Subtract last non-zero octet of subnet mask from 256. That is your block size. Count in that increment to find network boundaries.

๐Ÿ”‘

Key Masks to Memorize

/24=255.255.255.0 (254 hosts) | /25=128 (126) | /26=192 (62) | /27=224 (30) | /28=240 (14) | /29=248 (6) | /30=252 (2)

๐Ÿ“

Host Formula

Usable hosts = 2โฟ โˆ’ 2 where n = host bits. Always subtract 2 for network + broadcast. /24 = 2โธโˆ’2 = 254.

๐ŸŽฏ

CCNA Exam Focus

Given IP + mask โ†’ identify network, broadcast, first/last host, number of hosts. Practice until instant recall.

๐Ÿ’ก

Private IP Ranges

10.0.0.0/8 ยท 172.16.0.0/12 ยท 192.168.0.0/16 โ€” memorize these. RFC 1918 ranges guaranteed on exam.

๐Ÿš€

Quick Win

/30 gives exactly 2 usable hosts โ€” used for point-to-point WAN links. /31 is also valid (RFC 3021) for P2P.

Variable Length Subnet Masking (VLSM)

Enter a base network and subnet requirements. VLSM allocates subnets efficiently from largest to smallest.

/
/
Examples:

IPv6 Quick Reference

๐Ÿ 

::1/128

Loopback โ€” equivalent to 127.0.0.1 in IPv4

๐Ÿ”—

fe80::/10

Link-local โ€” auto-configured, not routable

๐ŸŒ

2000::/3

Global unicast โ€” publicly routable addresses

๐Ÿ“ข

ff00::/8

Multicast โ€” no broadcast in IPv6, replaced by multicast

๐Ÿ”„

fc00::/7

Unique local โ€” like RFC 1918 private ranges

๐Ÿ“

/64 standard

LAN prefix โ€” accommodates EUI-64 interface IDs

Binary โ†” Decimal โ†” Hex Converter

Binary Value Table โ€” Memorize These

Bit Position76543210
Value1286432168421
Hex8040201008040201

๐Ÿ’ก Add up the values where bits are 1. Example: 11000000 = 128+64 = 192

Complete CIDR Cheat Sheet

CIDRSubnet MaskWildcardHostsBlock SizeBinary MaskUse Case

Calculation History

No calculations saved yet. Use the IPv4 tab and click "Save to History".