Subnet / CIDR Calculator

Calculate subnet ranges, usable hosts, and CIDR notation instantly

By FixTheVuln Team 100% client-side — no data sent to any server

Test Your Knowledge

Network+ Practice Quiz CCNA Practice Quiz
← Back to Tools

Calculate Subnet

Enter an IP address with CIDR prefix (e.g., 192.168.1.0/24) or choose a prefix length below.

Common:

CIDR Quick Reference

CIDR Subnet Mask Wildcard Total IPs Usable Hosts
/32255.255.255.2550.0.0.011
/31255.255.255.2540.0.0.122
/30255.255.255.2520.0.0.342
/29255.255.255.2480.0.0.786
/28255.255.255.2400.0.0.151614
/27255.255.255.2240.0.0.313230
/26255.255.255.1920.0.0.636462
/25255.255.255.1280.0.0.127128126
/24255.255.255.00.0.0.255256254
/23255.255.254.00.0.1.255512510
/22255.255.252.00.0.3.2551,0241,022
/21255.255.248.00.0.7.2552,0482,046
/20255.255.240.00.0.15.2554,0964,094
/16255.255.0.00.0.255.25565,53665,534
/12255.240.0.00.15.255.2551,048,5761,048,574
/8255.0.0.00.255.255.25516,777,21616,777,214

Private IPv4 Address Ranges (RFC 1918)

Class Range CIDR Addresses Common Use
A 10.0.0.0 – 10.255.255.255 10.0.0.0/8 16,777,216 Large enterprise networks
B 172.16.0.0 – 172.31.255.255 172.16.0.0/12 1,048,576 Medium networks, cloud VPCs
C 192.168.0.0 – 192.168.255.255 192.168.0.0/16 65,536 Home and small office networks

FixTheVuln Store

Studying for Network+ or CCNA?

Structured study planners with domain trackers, practice test logs, and reference sheets. Standard + ADHD-friendly editions.

CompTIA Cisco See All →

Need More Networking Tools?

Check out our port security reference and other interactive tools:

View All Tools →