bgunderlay bgunderlay bgunderlay

IPv4 Subnet Cheat Sheet

IPv4 Subnet Cheat Sheet – Complete Reference Guide

Master the art of IP subnetting with this comprehensive reference guide. Designed for network administrators, engineers, and IT professionals, this IPv4 subnet cheat sheet transforms complex subnet calculations into clear, actionable insights.

What This IPv4 Subnet Cheat Sheet Covers:

  • Complete CIDR notation reference from /32 to /0
  • Subnet masks and wildcard masks for all common networks
  • Usable host calculations for efficient IP planning
  • Practical subnet breakdown examples for /24, /26, /27, /28, /29, and /30
  • IPv6 subnet reference with standard allocation sizes
  • Network planning guidance for certification exams (CCNA, CompTIA Network+)
  • Real-world IP addressing scenarios to avoid common mistakes

From certification exam preparation to enterprise network design, this elegant reference guide delivers instant clarity—empowering professionals at every level to configure networks with precision and confidence.

Table of Contents

It provides a clear, concise breakdown of CIDR notation, subnet masks, wildcard masks, total IP addresses, and usable host counts for each subnet size—from /32 (single host) to /8 (large network blocks). Understanding subnetting is crucial for efficient IP allocation, network design, and troubleshooting.

This cheat sheet simplifies complex binary calculations by presenting key information in an easy-to-read table format, enabling quick decision-making when dividing networks into subnets. It also includes practical examples showing how IP ranges and broadcast addresses are structured within common subnet sizes like /24, /26, /28, and /30.

These examples help users visualize network boundaries and plan address space effectively. Additionally, the guide supports learning and certification preparation for exams such as CCNA, CompTIA Network+, and other networking credentials.

Learn more about IP Networks and Leasing with Interlir.

Designed for both beginners and experienced professionals, this resource enhances accuracy in network configuration and minimizes errors in IP planning.

Complete IPv4 CIDR Notation Reference Table

📘 How to Navigate This Reference: This comprehensive table presents all IPv4 CIDR prefixes—from /32 (single host) to /0 (entire Internet address space). Each entry displays the total IP addresses, corresponding subnet mask, and available host bits. Whether you’re designing networks, diagnosing connectivity issues, or optimizing IP allocation strategies, this table serves as your definitive quick-reference guide.

✨ Expert Insight: In enterprise environments, four subnet sizes dominate network architecture: /24 (256 addresses) for departmental networks, /26 (64 addresses) for team segments, /28 (16 addresses) for small device clusters, and /30 (4 addresses) for dedicated point-to-point links.

Prefix IP Addresses Subnet Mask Bits
/321255.255.255.2550
/312255.255.255.2541
/304255.255.255.2522
/298255.255.255.2483
/2816255.255.255.2404
/2732255.255.255.2245
/2664255.255.255.1926
/25128255.255.255.1287
/24256255.255.255.08
/23512255.255.254.09
/221,024255.255.252.010
/212,048255.255.248.011
/204,096255.255.240.012
/198,192255.255.224.013
/1816,384255.255.192.014
/1732,768255.255.128.015
/1665,536255.255.0.016
/15131,072255.254.0.017
/14262,144255.252.0.018
/13524,288255.248.0.019
/121,048,576255.240.0.020
/112,097,152255.224.0.021
/104,194,304255.192.0.022
/98,388,608255.128.0.023
/816,777,216255.0.0.024
/733,554,432254.0.0.025
/667,108,864252.0.0.026
/5134,217,728248.0.0.027
/4268,435,456240.0.0.028
/3536,870,912224.0.0.029
/21,073,741,824192.0.0.030
/12,147,483,648128.0.0.031
/04,294,967,2960.0.0.032

Guide to IPv4 Subnets

/25 – 2 Subnets – 126 Hosts/Subnet

Network # IP Range Broadcast
.0.1-.126.127
.128.126-.254.255

/26 – 4 Subnets – 62 Hosts/Subnet

Network # IP Range Broadcast
.0.1-.62.63
.64.65-.126.127
.128.129-.190.191
.192.193-.254.255

/27 – 8 Subnets – 30 Hosts/Subnet

Network # IP Range Broadcast
.0.1-.30.31
.32.33-.62.63
.64.65-.94.95
.96.97-.126.127
.128.129-.158.159
.160.161-.190.191
.192.193-.222.223
.224.225-.254.255

/28 – 16 Subnets – 14 Hosts/Subnet

Network # IP Range Broadcast
.0.1-.14.15
.16.17-.30.31
.32.33-.46.47
.48.49-.62.63
.64.65-.78.79
.80.81-.94.95
.96.97-.110.111
.112.113-.126.127
.128.129-.142.143
.144.145-.158.159
.160.161-.174.175
.176.177-.190.191
.192.193-.206.207
.208.209-.222.223
.224.225-.238.239
.240.241-.254.255

/29 – 32 Subnets – 6 Hosts/Subnet

Network # IP Range Broadcast
.0.1-.6.7
.8.9-.14.15
.16.17-.30.23
.24.25-.30.31
.32.33-.38.39
.40.41-.46.47
.48.49-.54.55
.56.57-.62.63
.64.65-.70.71
.72.73-.78.79
.80.81-.86.87
.88.89-.94.95
.96.97-.102.103
.104.105-.110.111
.112.113-.118.119
.120.121-.126.127
.128.129-.134.135
.136.137-.142.143
.144.145-.150.151
.152.153-.158.159
.160.161-.166.167
.168.169-.174.175
.176.177-.182.183
.184.185-.190.191
.192.193-.198.199
.200.201-.206.207
.208.209-.214.215
.216.217-.222.223
.224.225-.230.231
.232.233-.238.247
.240.241-.246.255
.248.249-.254255

/30 – 64 Subnets – 2 Hosts/Subnet

Network # IP Range Broadcast
.0.1-.2.3
.4.5-.6.7
.8.9-.10.11
.12.13-.14.15
.16.17-.18.19
.20.21-.22.23
.24.25-.26.27
.28.29-.30.31
.32.33-.34.35
.36.37-.38.39
.40.41-.42.43
.44.45-.46.47
.48.49-.50.51
.52.53-.54.55
.56.57-.58.59
.60.61-.62.63
.64.65-.66.67
.68.69-.70.71
.72.73-.74.75
.76.77-.78.79
.80.81-.82.83
.84.85-.86.87
.88.89-.90.91
.92.93-.94.95
.96.97-.98.99
.100.101-.102.103
.104.105-.106.107
.108.109-.110.111
.112.113-.114.115
.116.117-.118.119
.120.121-.122.123
.124.125-.126.127
.128.129-.130.131
.132.133-.134.135
.136.137-.138.139
.140.141-.142.143
.144.145-.146.147
.148.149-.150.151
.152.153-.154.155
.156.157-.158.159
.160.161-.162.163
.164.165-.166.167
.168.169-.170.171
.172.173-.174.175
.176.177-.178.179
.180.181-.182.183
.184.185-.186.187
.188.189-.190.191
.192.193-.194.195
.196.197-.198.199
.200.201-.202.203
.204.205-.206.207
.208.209-.210.211
.212.213-.214.215
.216.217-.218.219
.220.221-.222.223
.224.225-.226.227
.228.229-.230.231
.232.233-.234.235
.236.237-.238.239
.240.241-.242.243
.244.245-.246.247
.248.249-.250.251
.252.253-.254.255

Common Subnetting Mistakes to Avoid

Even seasoned network professionals encounter subnet calculation pitfalls. Mastering these nuances separates proficient administrators from exceptional ones:

  • Confusing Total IPs with Usable Hosts: A /24 network has 256 total IP addresses, but only 254 usable hosts (the network and broadcast addresses can’t be assigned to devices).
  • Forgetting to Account for Network & Broadcast Addresses: Always subtract 2 from the total address count to get usable hosts, except for /31 (point-to-point) and /32 (single host).
  • Miscalculating Subnet Boundaries: Subnet ranges must align on specific boundaries. For example, a /26 subnet can start at .0, .64, .128, or .192, NOT .50 or .100.
  • Using Wrong Wildcard Masks: Wildcard masks are the inverse of subnet masks. For 255.255.255.0, the wildcard is 0.0.0.255.
  • Overlapping Subnets: When subdividing networks, ensure subnet ranges don’t overlap. Use this cheat sheet to verify your IP allocation plan.
  • Ignoring VLSM Best Practices: Variable Length Subnet Masking (VLSM) lets you optimize IP usage, but requires careful planning to avoid conflicts.

⚠️ Production Deployment Best Practice: Always validate subnet calculations against this reference guide before implementing network changes in live environments. A single miscalculation can cascade into significant connectivity issues.

IPv6 Subnet Mask Cheat Sheet

As IPv4 addresses continue to exhaust, understanding IPv6 subnetting becomes essential. This IPv6 subnet reference complements the IPv4 cheat sheet above, helping network professionals prepare for the future of internet addressing.

Key IPv6 Allocation Standards:

  • /64 subnet: Standard allocation for end-user networks (18.4 quintillion addresses)
  • /48 subnet: Standard business/organization allocation (65,536 /64 subnets)
  • /32 subnet: Standard ISP allocation (4.3 billion /64 subnets)
  • /128 subnet: Single host (equivalent to IPv4 /32)

Unlike IPv4, IPv6’s vast address space eliminates the need for complex subnetting strategies in most scenarios. However, understanding the standard allocation sizes is crucial for network planning and IPv6 deployment.

Prefix IP Addresses Amount of a /64
/1281
/1272
/1264
/1258
/12416
/12332
/12264
/121128
/120256
/119512
/1181,024
/1172,048
/1164,096
/1158,192
/11416,384
/11332,768
/11265,536
/111131,072
/110262,144
/109524,288
/1081,048,576
/1072,097,152
/1064,194,304
/1058,388,608
/10416,777,216This is equivalent to an IPv4 Internet or IPv4 /8
/10333,554,432
/10267,108,864
/101134,217,728
/100268,435,456
/99536,870,912
/981,073,741,824
/972,147,483,648
/964,294,967,296
/958,589,934,592
/9417,179,869,184
/9334,359,738,368
/9268,719,476,736
/91137,438,953,472
/90274,877,906,944
/89549,755,813,888
/881,099,511,627,776
/872,199,023,255,5521/8,388,608
/864,398,046,511,1041/4,194,304
/858,796,093,022,2081/2,097,152
/8417,592,186,044,4161/1,048,576
/8335,184,372,088,8321/524,288
/8270,368,744,177,6641/262,144
/81140,737,488,355,3281/131,072
/80281,474,976,710,6561/65,536
/79562,949,953,421,3121/32,768
/781,125,899,906,842,6201/16,384
/772,251,799,813,685,2401/8,192
/764,503,599,627,370,4901/4,096
/759,007,199,254,740,9901/2,048
/7418,014,398,509,481,9001/1,024
/7336,028,797,018,963,9001/512
/7272,057,594,037,927,9001/256
/71144,115,188,075,855,0001/128
/70288,230,376,151,711,0001/64
/69576,460,752,303,423,0001/32
/681,152,921,504,606,840,0001/16
/672,305,843,009,213,690,0001/8
/664,611,686,018,427,380,0001/4
/659,223,372,036,854,770,0001/2
/6418,446,744,073,709,500,000This is the standard end user allocation
/6336,893,488,147,419,100,0002
/6273,786,976,294,838,200,0004
/61147,573,952,589,676,000,0008
/60295,147,905,179,352,000,00016
/59590,295,810,358,705,000,00032
/581,180,591,620,717,410,000,00064
/572,361,183,241,434,820,000,000128
/564,722,366,482,869,640,000,000256
/559,444,732,965,739,290,000,000512
/5418,889,465,931,478,500,000,0001,024
/5337,778,931,862,957,100,000,0002,048
/5275,557,863,725,914,300,000,0004,096
/51151,115,727,451,828,000,000,0008,192
/50302,231,454,903,657,000,000,00016,384
/49604,462,909,807,314,000,000,00032,768
/481,208,925,819,614,620,000,000,00065,536 This is the standard business allocation
/472,417,851,639,229,250,000,000,000131,072
/464,835,703,278,458,510,000,000,000262,144
/459,671,406,556,917,030,000,000,000524,288
/4419,342,813,113,834,000,000,000,0001,048,576
/4338,685,626,227,668,100,000,000,0002,097,152
/4277,371,252,455,336,200,000,000,0004,194,304
/41154,742,504,910,672,000,000,000,0008,388,608
/40309,485,009,821,345,000,000,000,00016,777,216
/39618,970,019,642,690,000,000,000,00033,554,432
/381,237,940,039,285,380,000,000,000,00067,108,864
/372,475,880,078,570,760,000,000,000,000134,217,728
/364,951,760,157,141,520,000,000,000,000268,435,456
/359,903,520,314,283,040,000,000,000,000536,870,912
/3419,807,040,628,566,000,000,000,000,0001,073,741,824
/3339,614,081,257,132,100,000,000,000,0002,147,483,648
/3279,228,162,514,264,300,000,000,000,0004,294,967,296 This is the standard ISP Allocation
/31158,456,325,028,528,000,000,000,000,0008,589,934,592
/30316,912,650,057,057,000,000,000,000,00017,179,869,184
/29633,825,300,114,114,000,000,000,000,00034,359,738,368
/281,267,650,600,228,220,000,000,000,000,00068,719,476,736
/272,535,301,200,456,450,000,000,000,000,000
/265,070,602,400,912,910,000,000,000,000,000
/2510,141,204,801,825,800,000,000,000,000,000
/2420,282,409,603,651,600,000,000,000,000,000
/2340,564,819,207,303,300,000,000,000,000,000
/2281,129,638,414,606,600,000,000,000,000,000
/21162,259,276,829,213,000,000,000,000,000,000
/20324,518,553,658,426,000,000,000,000,000,000
/19649,037,107,316,853,000,000,000,000,000,000
/181,298,074,214,633,700,000,000,000,000,000,000
/172,596,148,429,267,410,000,000,000,000,000,000
/165,192,296,858,534,820,000,000,000,000,000,000
/1510,384,593,717,069,600,000,000,000,000,000,000
/1420,769,187,434,139,300,000,000,000,000,000,000
/1341,538,374,868,278,600,000,000,000,000,000,000
/1283,076,749,736,557,200,000,000,000,000,000,000
/11166,153,499,473,114,000,000,000,000,000,000,000
/10332,306,998,946,228,000,000,000,000,000,000,000
/9664,613,997,892,457,000,000,000,000,000,000,000
/81,329,227,995,784,910,000,000,000,000,000,000,000

Need IPv4 Addresses for Your Network?

Now that you have the complete IPv4 subnet cheat sheet at your fingertips, are you ready to implement your network design? InterlIR is your trusted partner for IPv4 address solutions.

Our IPv4 Services:

Whether you need a /24 network (256 addresses) for your growing business or a larger /16 block (65,536 addresses) for enterprise infrastructure, our team can help you find the right IPv4 solution.

Partner with InterlIR to secure the IPv4 resources your network demands. Our specialists provide tailored guidance on network architecture, strategic subnetting approaches, and comprehensive IP address lifecycle management—transforming technical complexity into competitive advantage.

G. Masterov

    Ready to get started?

    Articles
    A Beginner’s Guide to Subnetting IPv4 and IPv6 Addresses (2026 Update)
    A Beginner’s Guide to Subnetting IPv4 and IPv6 Addresses (2026 Update)

    A Beginner’s Guide to Subnetting IPv4 and IPv6 Addresses Subnetting is a critical

    More
    IPv4 Leasing Revolution: Why Smart Businesses Are Ditching Ownership in 2025
    IPv4 Leasing Revolution: Why Smart Businesses Are Ditching Ownership in 2025

    Why IPv4 Leasing Is Becoming the Smart Choice for Businesses in 2025 1. Introduction

    More
    Network Isolation Revolution: IPv4 Marketplace Insights for Enterprise Security
    Network Isolation Revolution: IPv4 Marketplace Insights for Enterprise Security

      As CEO of InterLIR, I’ve witnessed firsthand how network isolation strategies

    More
    What is ASN?
    What is ASN?

    What is an ASN? ASN stands for Autonomous System Number. It is a unique identifier

    More
    How Anycast DNS Actually Works (And Why Your Network Needs It)
    How Anycast DNS Actually Works (And Why Your Network Needs It)

    Anycast DNS: A Leader’s Guide to Protecting Your Digital Infrastructure Executive

    More
    Why RPKI Matters: Securing Your Company’s Internet Traffic
    Why RPKI Matters: Securing Your Company’s Internet Traffic

    RPKI Certification: A Leader’s Guide to Internet Routing Security Executive

    More
    Why RIPE Address Policy Matters for Your Company’s Digital Future
    Why RIPE Address Policy Matters for Your Company’s Digital Future

    Executive Summary: What You Need to Know 🎯 Strategic Importance – Internet

    More
    AWS Outages: The CEO’s Guide to Preventing Downtime & Protecting Revenue
    AWS Outages: The CEO’s Guide to Preventing Downtime & Protecting Revenue

      When AWS DynamoDB failed in October 2025, thousands of businesses discovered that

    More
    What I Wish CEOs Knew About Managing IP Reputation Risk
    What I Wish CEOs Knew About Managing IP Reputation Risk

    Executive Summary: What You Need to Know 🎯 IP reputation directly impacts your

    More
    How to Create a Subnet and Configure Routing
    How to Create a Subnet and Configure Routing

    Mastering Subnetting and Routing for Modern Networks Why Subnetting Matters in Today’s

    More