IPv4 Cheat Sheet

This IPv4 Cheat Sheet is your quick reference for CIDR sizes, helping you nail subnetting and address allocation like a pro. Whether you’re setting up a network or just brushing up, we’ve got the key details laid out. And if you need more IPs, IP Market makes leasing IPv4 a snap—let’s dive in!

CIDR
Mask
Total
Usable
Example
/0
0.0.0.0 4,294,967,296 4,294,967,294 0.0.0.0 - 255.255.255.255
/1
128.0.0.0 2,147,483,648 2,147,483,646 0.0.0.0 - 127.255.255.255
/2
192.0.0.0 1,073,741,824 1,073,741,822 0.0.0.0 - 63.255.255.255
/3
224.0.0.0 536,870,912 536,870,910 0.0.0.0 - 31.255.255.255
/4
240.0.0.0 268,435,456 268,435,454 0.0.0.0 - 15.255.255.255
/5
248.0.0.0 134,217,728 134,217,726 0.0.0.0 - 7.255.255.255
/6
252.0.0.0 67,108,864 67,108,862 0.0.0.0 - 3.255.255.255
/7
254.0.0.0 33,554,432 33,554,430 0.0.0.0 - 1.255.255.255
/8
255.0.0.0 16,777,216 16,777,214 10.0.0.0 - 10.255.255.255
/9
255.128.0.0 8,388,608 8,388,606 10.0.0.0 - 10.127.255.255
/10
255.192.0.0 4,194,304 4,194,302 10.0.0.0 - 10.63.255.255
/11
255.224.0.0 2,097,152 2,097,150 10.0.0.0 - 10.31.255.255
/12
255.240.0.0 1,048,576 1,048,574 10.0.0.0 - 10.15.255.255
/13
255.248.0.0 524,288 524,286 10.0.0.0 - 10.7.255.255
/14
255.252.0.0 262,144 262,142 10.0.0.0 - 10.3.255.255
/15
255.254.0.0 131,072 131,070 10.0.0.0 - 10.1.255.255
/16
255.255.0.0 65,536 65,534 172.16.0.0 - 172.16.255.255
/17
255.255.128.0 32,768 32,766 172.16.0.0 - 172.16.127.255
/18
255.255.192.0 16,384 16,382 172.16.0.0 - 172.16.63.255
/19
255.255.224.0 8,192 8,190 172.16.0.0 - 172.16.31.255
/20
255.255.240.0 4,096 4,094 172.16.0.0 - 172.16.15.255
/21
255.255.248.0 2,048 2,046 172.16.0.0 - 172.16.7.255
/22
255.255.252.0 1,024 1,022 172.16.0.0 - 172.16.3.255
/23
255.255.254.0 512 510 172.16.0.0 - 172.16.1.255
/24
255.255.255.0 256 254 192.168.1.0 - 192.168.1.255
/25
255.255.255.128 128 126 192.168.1.0 - 192.168.1.127
/26
255.255.255.192 64 62 192.168.1.0 - 192.168.1.63
/27
255.255.255.224 32 30 192.168.1.0 - 192.168.1.31
/28
255.255.255.240 16 14 192.168.1.0 - 192.168.1.15
/29
255.255.255.248 8 6 192.168.1.0 - 192.168.1.7
/30
255.255.255.252 4 2 192.168.1.0 - 192.168.1.3
/31
255.255.255.254 2 0 (point-to-point) 192.168.1.0 - 192.168.1.1
/32
255.255.255.255 1 0 (single host) 192.168.1.1 - 192.168.1.1

About the IPv4 Cheat Sheet

The IPv4 Cheat Sheet is here to save the day for anyone dealing with IPv4 networks—whether you’re a network admin, a student, or a business owner scaling up. It’s all about CIDR (Classless Inter-Domain Routing), the modern way to divvy up IPv4 addresses. CIDR lets you carve out networks more efficiently than old-school classes, but the numbers can get tricky. That’s where this cheat sheet comes in: it lays out the subnet masks, address counts, and usable hosts for each CIDR size. Plus, we’ll tie it to IP Market—when your network grows, we’ve got the IPv4 prefixes you can lease to keep things running smooth.

How to Use It

Using this IPv4 Cheat Sheet is simple. First, figure out how many devices you need to connect—that’s your usable hosts. Then, match it to a CIDR size: a small office with 50 devices fits a /24 (254 hosts), while a point-to-point link might just need a /30 (2 hosts). Check the subnet mask to set up your network, and use the address range to assign IPs. If you’re running out of IPs or need a specific block size, IP Market’s got you covered—we’ll talk more about that next. This cheat sheet is your starting point to plan, subnet, and grow without the headache.

Leasing with IP Market

If your network’s growing and you need more IPv4, IP Market makes leasing a breeze. Our marketplace at ipmarket.io has prefixes in all sizes—like the /24 or /16 from the cheat sheet—ready to lease with flexible terms. Short-term for a quick project or long-term for steady growth, you pick what fits. Every deal is secure with encrypted transactions and verified sellers, plus our pricing is upfront with no hidden fees. Need a /24 for your small office? We’ve got plenty. Browse our listings, lease what you need, and keep your network running without buying IPs outright—it’s the smart way to scale.

Clear and reliable IP leasing

Lease IPv4 addresses without delays.

Get the IP resources your business needs with clear pricing and no hidden fees. A leasing process you can trust to keep your network running.

Get started right away

Already have an account? Sign in here

Stand With Ukraine

Freedom needs allies. Be one.