Subnet Calculator and CIDR Cheat Sheet for iOS
Subnetting Made Simple
Subnetting is one of those networking fundamentals that everyone needs to know but nobody wants to calculate by hand. Whether you're setting up VLANs, configuring firewall rules, or planning IP address allocation, a subnet calculator saves time and prevents mistakes.
NetKit Pro's IP Tools puts a full subnet calculator on your iPhone — no more Googling conversion tables.
What IP Tools Includes
The IP Tools suite in NetKit Pro covers:
- Subnet Calculator: Enter an IP and CIDR prefix to get network address, broadcast, host range, and host count
- CIDR Converter: Convert between CIDR notation and dotted-decimal subnet masks
- IP Geolocation: Look up the approximate geographic location of any public IP
How to Use the Subnet Calculator
- Open NetKit Pro and navigate to IP Tools
- Enter an IP address (e.g.,
192.168.1.100) - Select the CIDR prefix length (e.g.,
/24) - View the calculated results:
- Network Address:
192.168.1.0 - Broadcast Address:
192.168.1.255 - First Host:
192.168.1.1 - Last Host:
192.168.1.254 - Total Hosts:
254 - Subnet Mask:
255.255.255.0
CIDR Reference Table
Bookmark this post for quick reference. Here are the most commonly used CIDR prefixes:
| CIDR | Subnet Mask | Total IPs | Usable Hosts | Typical Use |
|---|---|---|---|---|
/32 |
255.255.255.255 |
1 | 1 | Single host route |
/31 |
255.255.255.254 |
2 | 2 | Point-to-point link |
/30 |
255.255.255.252 |
4 | 2 | Point-to-point link |
/29 |
255.255.255.248 |
8 | 6 | Small server subnet |
/28 |
255.255.255.240 |
16 | 14 | Small office |
/27 |
255.255.255.224 |
32 | 30 | Medium subnet |
/26 |
255.255.255.192 |
64 | 62 | Department network |
/25 |
255.255.255.128 |
128 | 126 | Half a Class C |
/24 |
255.255.255.0 |
256 | 254 | Standard LAN |
/23 |
255.255.254.0 |
512 | 510 | Two /24 blocks |
/22 |
255.255.252.0 |
1,024 | 1,022 | Small campus |
/21 |
255.255.248.0 |
2,048 | 2,046 | Medium campus |
/20 |
255.255.240.0 |
4,096 | 4,094 | Large campus |
/16 |
255.255.0.0 |
65,536 | 65,534 | Large network |
/8 |
255.0.0.0 |
16,777,216 | 16,777,214 | Class A block |
Private IP Ranges
These are the IP ranges reserved for private use (RFC 1918). You'll encounter them in virtually every local network:
| Range | CIDR | Class | Total Addresses |
|---|---|---|---|
10.0.0.0 – 10.255.255.255 |
10.0.0.0/8 |
A | 16,777,216 |
172.16.0.0 – 172.31.255.255 |
172.16.0.0/12 |
B | 1,048,576 |
192.168.0.0 – 192.168.255.255 |
192.168.0.0/16 |
C | 65,536 |
Quick Mental Math for Subnetting
Here's a trick for quickly calculating subnets without a calculator:
For /24 and above (common subnets):
- Start with 256
- Subtract the last octet of the subnet mask
- That's your block size
Example: What are the subnets for /26 (255.255.255.192)?
- Block size:
256 - 192 = 64 - Subnets:
.0,.64,.128,.192 - Each has 62 usable hosts
For quick host counts:
The formula is: 2^(32 - prefix) - 2
/24:2^8 - 2 = 254hosts/25:2^7 - 2 = 126hosts/26:2^6 - 2 = 62hosts/27:2^5 - 2 = 30hosts
When to Subnet
Common scenarios where subnetting comes up:
- VLANs: Segmenting a network for security or performance
- Cloud infrastructure: Sizing VPC subnets in AWS, Azure, or GCP
- Home lab: Setting up multiple networks on a single router
- Firewall rules: Defining allow/deny rules by subnet
- IP planning: Allocating address space across offices or departments
Get NetKit Pro
IP Tools is included in NetKit Pro alongside 11 other network tools. Available on the App Store as a one-time purchase — no subscriptions, no ads.
Related posts
Monitor Server Uptime from Your iPhone with Host Profiles
Combine Host Profiles and History in NetKit Pro to build a lightweight server monitoring setup — check uptime, track latency trends, and run multi-tool checks from your iPhone.
Feb 13, 2026 · 4 min read
How to Use Wake-on-LAN from Your iPhone
Wake up sleeping computers remotely with NetKit Pro's Wake-on-LAN tool. Save MAC addresses, send magic packets, and stop leaving your machines running 24/7.
Feb 08, 2026 · 4 min read
Keeping SSH Sessions Alive on iOS: How ProSSH Handles Backgrounding
iOS suspends apps aggressively. SSH sessions drop. Here's how ProSSH's keep-alive feature helps maintain your connections.
Feb 07, 2026 · 3 min read