Live
All Networking Calculators
⏳ Loading calculators…

📚 Sources & Methodology

IETF RFC 1918 (Rekhter et al., 1996) — Address Allocation for Private Internets, defining 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 private ranges, rfc-editor.orgCurrent standard
IETF RFC 3021 (Retana et al., 2000) — Using 31-Bit Prefixes on IPv4 Point-to-Point Links, defining /31 subnet validity, rfc-editor.orgCurrent standard
AWS VPC Documentation — subnet IP reservation policy (5 IPs per subnet), VPC CIDR planning guidance, docs.aws.amazon.comCurrent
GSMA & Ericsson Mobility Report 2026 — 5G/LTE real-world throughput benchmarks by spectrum band and deployment type, ericsson.com2026 data

Subnet Calculator, CIDR, Bandwidth & 5G Throughput — The Traps Engineers Hit in Real Deployments

Every networking calculation has a version that works on paper and a version that works in production — and the gap between them is where most deployment problems originate. The standard subnetting formula (2^n − 2 usable hosts) is correct for traditional networks but wrong for AWS VPCs, which reserve 5 IPs per subnet instead of 2. The advertised bandwidth calculation (100 Mbps = 100 megabits per second) is correct but the download speed is 12.5 MB/s — a factor-of-8 conversion that confuses every user who asks why their internet is "slower than advertised." The /30 minimum subnet for point-to-point links is what every CCNA textbook teaches, but RFC 3021 has allowed /31 for over two decades and modern equipment universally supports it. These are the gaps the networking calculators here are built to address.

Subnet Calculator — CIDR, Usable Hosts, and the AWS 5-IP Reservation Trap

The subnet calculator computes network address, broadcast address, usable host range, subnet mask, and wildcard mask from any IPv4 address and CIDR prefix. Usable hosts = 2^(32−prefix) − 2. For /24: 2^8 − 2 = 254. For /28: 2^4 − 2 = 14. The −2 removes the network address (all host bits = 0) and broadcast address (all host bits = 1). In AWS, Azure, and GCP VPCs, cloud providers reserve additional IPs beyond the standard two. AWS reserves 5 per subnet: network address, VPC router, DNS server, future use reservation, and broadcast. A /24 in AWS gives 256 − 5 = 251 usable IPs, not 254. Engineers who plan cloud subnets using standard formulas consistently overestimate available capacity by 3 IPs per subnet — enough to cause addressing problems when subnets are tightly sized.

Subnetting Formulas — Standard vs AWS/Azure/GCP Usable hosts (standard) = 2^(32 − prefix) − 2 Usable hosts (AWS/Azure) = 2^(32 − prefix) − 5 Network address = IP AND subnet mask (bitwise) Broadcast address = network address OR wildcard mask — /24 example: 192.168.1.0/24 — Total: 256 | Standard usable: 254 | AWS usable: 251 Network: 192.168.1.0 | Broadcast: 192.168.1.255 Subnet mask: 255.255.255.0 | Wildcard: 0.0.0.255 ✗ Planning a 250-host AWS subnet in a /24: 254 − 250 = 4 spare addresses (OK in standard) but 251 − 250 = 1 spare (dangerously tight in AWS) ✓ Planning cloud subnets: always subtract 5 from total, not 2. Use /23 (507 AWS usable) for 250+ host requirements. Wildcard mask (0.0.0.255 for /24) is the bitwise inverse of the subnet mask and is used in Cisco ACL configurations. Every subnet bit = 0 in wildcard, every host bit = 1.

Bandwidth Calculator — The Mbps vs MBps Conversion Engineers Know, Users Don’t

The single most asked networking question from non-technical users is "why is my internet slower than what I pay for?" The answer is almost always the bits-to-bytes conversion. 1 byte = 8 bits. 100 Mbps (megabits per second) ÷ 8 = 12.5 MB/s (megabytes per second) maximum download speed. ISPs advertise in Mbps because larger numbers look better. File sizes are in MB and GB. A 1 GB file download on a 100 Mbps plan takes a minimum of (1,000 MB × 8) ÷ 100 Mbps = 80 seconds — the user sees "1 GB / 12.5 MB/s = 80 seconds" and calls their ISP. The actual speeds are identical. The bandwidth calculator converts between Mbps, Gbps, MB/s, and GB/s and calculates file transfer times for any file size and link speed combination.

5G and LTE Throughput — The Theoretical vs Real-World Gap

5G theoretical peak throughput for mmWave spectrum reaches 20 Gbps under ideal lab conditions. Real-world deployed 5G on Sub-6 GHz spectrum — which covers 95%+ of current 5G deployments — delivers 100 to 400 Mbps download in typical conditions. mmWave 5G delivers 500 Mbps to 2 Gbps but requires line-of-sight, is blocked by buildings and rain, and covers only small outdoor areas in selected dense urban deployments. 4G LTE typical real-world: 20 to 100 Mbps. The gap between theoretical and real-world 5G comes from cell load sharing among many simultaneous users, distance from tower, building penetration loss (signals weaken passing through walls), and spectrum availability at any given location and time. The 5G/LTE throughput calculator shows realistic expected throughput based on spectrum band, distance, and network generation.

💡

The /31 subnet that saves addresses but most engineers don’t know exists: RFC 3021 (published in 2000) allows /31 subnets for point-to-point links — two addresses, both usable, no network or broadcast address needed because there are only two hosts. A /30 (the traditional minimum) has 4 addresses but wastes 2 on network and broadcast, giving only 2 usable IPs for the two router interfaces. At scale: an ISP with 10,000 point-to-point links uses 40,960 addresses with /30 subnets and only 20,480 with /31 subnets — saving a full /18 address block. All modern Cisco, Juniper, Arista, and Linux networking equipment supports /31. Most CCNA materials still teach /30 as the minimum useful subnet, leaving engineers unaware that /31 saves addresses on every point-to-point link in their network.

Networking Reference Tables — CIDR Prefix Sizes, Bandwidth Conversions & 5G Benchmarks

CIDR Prefix Reference — /8 through /32

Total IPs = 2^(32−prefix). Usable hosts (standard) = total − 2. AWS usable = total − 5. Each prefix doubling (e.g., /24 to /25) halves the address space.

CIDR PrefixSubnet MaskTotal IPsUsable (Standard)Usable (AWS)Typical Use
/8255.0.0.016,777,21616,777,21416,777,211Class A, large enterprise
/16255.255.0.065,53665,53465,531Class B, large VPC
/20255.255.240.04,0964,0944,091Medium campus subnet
/22255.255.252.01,0241,0221,019Large VLAN
/24255.255.255.0256254251Standard office/home VLAN
/25255.255.255.128128126123Half of /24
/26255.255.255.192646259Small VLAN
/27255.255.255.224323027Small department
/28255.255.255.240161411Small server subnet
/29255.255.255.248863Minimal server cluster
/30255.255.255.25242N/A — avoid in cloudPoint-to-point (traditional)
/31255.255.255.25422 (RFC 3021)N/A — avoid in cloudPoint-to-point (efficient)
/32255.255.255.25511 (host route)1Single host, loopback

Bandwidth Conversion — Mbps to MB/s and File Transfer Times

Divide Mbps by 8 to get MB/s. These are theoretical maximums under ideal conditions. Real-world throughput is typically 70–90% of link speed on LAN, 50–80% on WAN links due to protocol overhead, TCP acknowledgement overhead, and retransmissions.

Connection SpeedMax Download (MB/s)1 GB File10 GB File
10 Mbps1.25 MB/s13.3 min2.2 hours
25 Mbps3.1 MB/s5.3 min54 min
50 Mbps6.25 MB/s2.7 min27 min
100 Mbps12.5 MB/s80 sec13.3 min
250 Mbps31.25 MB/s32 sec5.3 min
500 Mbps62.5 MB/s16 sec2.7 min
1 Gbps125 MB/s8 sec80 sec
10 Gbps1,250 MB/s0.8 sec8 sec

5G and LTE Real-World Throughput Benchmarks 2026

Theoretical peak vs typical real-world speeds. Real-world speeds vary by carrier, location, time of day, and distance from tower. All figures are for connected, good-signal conditions.

Network GenerationSpectrumTheoretical PeakTypical Real-World DLTypical Upload
4G LTE700 MHz – 2.6 GHz150 Mbps20 – 100 Mbps10 – 50 Mbps
4G LTE AdvancedMulti-band CA1 Gbps50 – 200 Mbps20 – 75 Mbps
5G Sub-6 GHz600 MHz – 6 GHz900 Mbps100 – 400 Mbps30 – 100 Mbps
5G mmWave24 – 100 GHz20 Gbps500 Mbps – 2 Gbps100 – 500 Mbps
5G mmWave (indoor)28/39 GHz10 Gbps100 – 800 Mbps50 – 200 Mbps
Wi-Fi 6 (802.11ax)2.4 / 5 GHz9.6 Gbps400 Mbps – 1.2 GbpsSame as DL
Wi-Fi 7 (802.11be)2.4 / 5 / 6 GHz46 Gbps1 – 5 GbpsSame as DL
⚠️

Mbps vs MBps — the confusion that generates more ISP support calls than any other single misunderstanding: Mbps = Megabits per second (lowercase b). MBps = Megabytes per second (uppercase B). 8 bits = 1 byte. 100 Mbps ÷ 8 = 12.5 MB/s. A 100 Mbps internet plan delivers a maximum of 12.5 MB/s — not 100 MB/s. When a user downloads a 1 GB file and sees "80 seconds remaining" on a "100 Mbps" plan, the math is correct: 1,000 MB ÷ 12.5 MB/s = 80 seconds. ISPs market in Mbps because "100 Mbps" sounds faster than "12.5 MB/s." Operating systems (Windows, macOS, iOS, Android) typically display download speeds in MB/s in their file transfer dialogs. The confusion arises at the intersection of these two conventions. The correct way to verify your internet speed: run a speed test in Mbps, then divide by 8 to get your expected download speed in MB/s.

Which Networking Calculator to Use — A Practical Guide for Engineers and Students

For Subnet Design and CCNA Study

Use the subnet calculator to practice CIDR and subnetting. For CCNA exam preparation, master these reference points without a calculator: /24 = 254 hosts, /25 = 126, /26 = 62, /27 = 30, /28 = 14, /29 = 6, /30 = 2. The pattern is powers of 2 minus 2. For cloud infrastructure design, always subtract 5 instead of 2 when planning AWS or Azure subnets. For enterprise design: use 10.0.0.0/8 for internal addressing, subdivide using /16 for regions or sites, /24 for VLANs, and /28 or /29 for server subnets where host count is small and predictable.

For Bandwidth and Throughput Planning

The bandwidth calculator converts between Mbps and MB/s and calculates realistic file transfer times. For WAN planning, derate link capacity by 20–30% for real-world TCP overhead, retransmissions, and protocol headers. A 100 Mbps WAN link sustains approximately 70–80 Mbps of useful data throughput. For LAN links (Gigabit Ethernet), derate by 10–15%. For backup and replication sizing, calculate in GB/s for large data transfers: a nightly backup of 500 GB over a 1 Gbps link requires 500 GB ÷ 125 MB/s = 66.7 minutes at 100% link utilisation — which is unrealistic. Budget 90 minutes minimum at 80% utilisation.

For Protocol and Routing Analysis

The BGP AS path calculator looks up Autonomous System Numbers and shows routing path information. Use it to understand why traffic from your network to a destination takes a specific path, identify ISP peering quality for specific destinations, and plan traffic engineering. The NAT/PAT session calculator estimates concurrent session counts for sizing NAT table capacity on firewalls and routers. PAT (port address translation) supports up to 65,535 sessions per public IP per protocol. A small office with 50 users averaging 50 concurrent sessions each needs 2,500 NAT table entries — well within any modern firewall’s capacity. Large ISP or data centre deployments with millions of sessions require hardware-accelerated NAT.

What Network Engineers Consistently Miscalculate

Three calculation errors appear repeatedly across real deployments. First: planning AWS/Azure subnets with standard formulas and discovering 3 fewer usable IPs than expected per subnet — which cascades into addressing conflicts at scale. Second: reporting bandwidth in Mbps to stakeholders who interpret the number as MB/s, creating confusion about actual transfer performance. Third: using /30 subnets for all point-to-point links by habit when /31 (RFC 3021) would save half the address space on each link — multiplied across thousands of point-to-point links in a service provider network, this is a material IPv4 address savings.

Frequently Asked Questions — Networking Calculators

Usable hosts = 2^(32 − prefix) − 2. The −2 removes the network address (all host bits = 0) and broadcast address (all host bits = 1). /24: 2^8 − 2 = 254. /28: 2^4 − 2 = 14. /30: 2^2 − 2 = 2. For AWS or Azure VPCs, subtract 5 instead of 2 (cloud providers reserve 3 additional IPs for router, DNS, and future use). /31 is a special case per RFC 3021 — it has 2 usable addresses with no network or broadcast, valid only for point-to-point links. /32 = one host, used for loopback addresses and host routes.
Mbps = Megabits per second (lowercase b). MBps = Megabytes per second (uppercase B). 1 byte = 8 bits, so divide Mbps by 8 to get MB/s. 100 Mbps ÷ 8 = 12.5 MB/s maximum download speed. ISPs advertise in Mbps; file sizes are in MB and GB. A 1 GB file on a 100 Mbps connection takes minimum (1,000 × 8) ÷ 100 = 80 seconds. When your download shows "12.5 MB/s" and your plan says "100 Mbps" — these are the same speed expressed in different units. The most common source of "my internet is slower than advertised" support calls.
CIDR is written as IP_address/prefix_length. The prefix_length is the number of bits in the network portion. 192.168.1.0/24: first 24 bits (192.168.1) = network, last 8 bits = host space. /24 = 256 total IPs. /16 = 65,536. /8 = 16.7 million. Shorter prefix = larger network, more hosts. Longer prefix = smaller network, fewer hosts. Every bit added to the prefix halves the subnet size. /25 has half the hosts of /24. /26 has a quarter. CIDR replaced the old Class A (/8), Class B (/16), Class C (/24) system by allowing any prefix length, enabling more efficient IP allocation.
AWS reserves 5 IPs per subnet instead of the standard 2. AWS reserves: (1) Network address. (2) VPC router. (3) DNS resolver. (4) Reserved for future use. (5) Broadcast address. A /24 in AWS gives 256 − 5 = 251 usable IPs, not 254. A /28 gives 16 − 5 = 11 usable IPs, not 14. Azure also reserves 5 per subnet. GCP reserves 4. Always subtract cloud provider reservations when planning subnet capacity. For subnets needing 250+ hosts in AWS, use /23 (507 AWS-usable) instead of /24 (251 AWS-usable).
/31 has 2 IP addresses with no network or broadcast, per RFC 3021 (2000). Both addresses are usable — one per end of a point-to-point link. /30 (traditional minimum) has 4 addresses but wastes 2, giving only 2 usable IPs. /31 saves 2 addresses per link. At 10,000 point-to-point links, /31 saves a full /18 address block vs /30. All modern equipment (Cisco, Juniper, Arista, Linux) supports /31. Use it for router-to-router links and WAN connections. Do not use /31 in cloud VPCs — cloud providers do not support it. Most CCNA textbooks still teach /30 as the minimum, leaving engineers unaware of /31.
Transfer time (seconds) = File size (MB) × 8 ÷ Link speed (Mbps). For 1 GB (1,000 MB) on 100 Mbps: 1,000 × 8 ÷ 100 = 80 seconds theoretical minimum. Real-world: TCP overhead, acknowledgements, and protocol headers reduce effective throughput to 70–90% of link speed on LAN, 50–80% on WAN. Realistic: 80 ÷ 0.80 = 100 seconds on LAN. For planning: 1 Gbps = 125 MB/s. Transferring 1 TB on a 10 Gbps link: 1,000,000 MB × 8 ÷ 10,000 Mbps = 800 seconds = 13.3 minutes at 100% utilisation.
5G theoretical peak: Sub-6 GHz = 300–900 Mbps, mmWave = up to 20 Gbps. Real-world Sub-6 GHz 5G (95%+ of current deployments) = 100–400 Mbps download, 30–100 Mbps upload. Real-world mmWave 5G = 500 Mbps – 2 Gbps, but only in outdoor line-of-sight locations in select cities. 4G LTE typical: 20–100 Mbps. The gap comes from cell load sharing among many users, distance from tower, building penetration loss, and spectrum availability. Sub-6 GHz covers wide areas; mmWave covers small outdoor hotspots only.
NAT (Network Address Translation): one private IP maps to one public IP (1:1). PAT (Port Address Translation), also called NAT overload: many private IPs share one public IP using unique port number combinations (many:1). A home router with one public IP serving 20 devices uses PAT, not NAT. PAT supports up to 65,535 simultaneous sessions per public IP per protocol. Most enterprise and ISP deployments use PAT because IPv4 exhaustion makes 1:1 NAT impractical. The NAT/PAT session calculator estimates total concurrent session counts for sizing firewall NAT table capacity.
Count prefix bits as 1s, fill remaining bits with 0s, convert each octet to decimal. /24 = 11111111.11111111.11111111.00000000 = 255.255.255.0. Common conversions: /8 = 255.0.0.0, /16 = 255.255.0.0, /24 = 255.255.255.0, /25 = 255.255.255.128, /26 = 255.255.255.192, /27 = 255.255.255.224, /28 = 255.255.255.240, /29 = 255.255.255.248, /30 = 255.255.255.252. Wildcard mask (Cisco ACL notation) = bitwise inverse of subnet mask. /24 wildcard = 0.0.0.255.
RFC 1918 private ranges: 10.0.0.0/8 (16.7 million addresses) for large enterprise and cloud VPCs. 172.16.0.0/12 (1 million addresses) for medium networks. 192.168.0.0/16 (65,536 addresses) for home and small office. For cloud: avoid 172.31.0.0/16 (AWS default VPC) and 169.254.x.x (APIPA link-local). Best practice: use 10.0.0.0/8 for enterprise, subdivided as /16 per site, /24 per VLAN, /28 or /29 per server subnet. Avoid reusing the same 192.168.1.0/24 for every remote site — it creates VPN and peering conflicts.
BGP (Border Gateway Protocol) routes traffic between autonomous systems (AS) on the internet. Each organisation with its own routing policy has an ASN. Google = AS15169, Cloudflare = AS13335, AWS = AS16509. The AS path is the list of ASNs traffic passes through. Fewer hops generally means lower latency. The BGP AS path calculator looks up ASNs and shows routing path information. If traffic to a specific service has high latency, the AS path shows whether your ISP has direct peering with that network or routes through multiple transit AS hops. AS path prepending (artificially lengthening) is used to influence which path inbound traffic takes.
No. Every networking calculation runs entirely in your browser. Your IP addresses, subnet schemes, AS numbers, and all other inputs never leave your device. Nothing is logged or transmitted. This is especially important for engineers entering production network addressing schemes — no configuration data is captured or stored anywhere. Results are for planning purposes only. Always validate subnet designs against your specific platform’s documentation (AWS, Azure, GCP each have their own reserved IP conventions) before deploying.

Popular Calculators

Most used tools across all 14 categories

Related Calculator Categories

🌐

Missing a Networking Calculator?

Can’t find the tool you need? Tell us — we build new networking calculators every week, prioritising the most-requested tools for network engineers, students, and IT professionals.