Guide

THE TOOLBOX / NETWORKING & DEVOPS

IP Range to CIDR Converter —
Minimal Subnet Decomposition, Route Aggregator & Binary/Hex.

Convert any IPv4 start–end range into the smallest exact set of CIDR prefixes, merge overlapping firewall allowlists, and inspect 32-bit binary and hexadecimal values—100% locally.

Start Binary: 11000000.10101000.00000001.00001010 (0xC0A8010A)
End Binary:   11000000.10101000.00000010.00011001 (0xC0A80219)
Total Addresses: 272 IPs
Minimal CIDR Blocks (272)272 IPs
192.168.1.10/32
192.168.1.11/32
192.168.1.12/32
192.168.1.13/32
192.168.1.14/32
192.168.1.15/32
192.168.1.16/32
192.168.1.17/32
192.168.1.18/32
192.168.1.19/32
192.168.1.20/32
192.168.1.21/32
192.168.1.22/32
192.168.1.23/32
192.168.1.24/32
192.168.1.25/32
192.168.1.26/32
192.168.1.27/32
192.168.1.28/32
192.168.1.29/32
192.168.1.30/32
192.168.1.31/32
192.168.1.32/32
192.168.1.33/32
192.168.1.34/32
192.168.1.35/32
192.168.1.36/32
192.168.1.37/32
192.168.1.38/32
192.168.1.39/32
192.168.1.40/32
192.168.1.41/32
192.168.1.42/32
192.168.1.43/32
192.168.1.44/32
192.168.1.45/32
192.168.1.46/32
192.168.1.47/32
192.168.1.48/32
192.168.1.49/32
192.168.1.50/32
192.168.1.51/32
192.168.1.52/32
192.168.1.53/32
192.168.1.54/32
192.168.1.55/32
192.168.1.56/32
192.168.1.57/32
192.168.1.58/32
192.168.1.59/32
192.168.1.60/32
192.168.1.61/32
192.168.1.62/32
192.168.1.63/32
192.168.1.64/32
192.168.1.65/32
192.168.1.66/32
192.168.1.67/32
192.168.1.68/32
192.168.1.69/32
192.168.1.70/32
192.168.1.71/32
192.168.1.72/32
192.168.1.73/32
192.168.1.74/32
192.168.1.75/32
192.168.1.76/32
192.168.1.77/32
192.168.1.78/32
192.168.1.79/32
192.168.1.80/32
192.168.1.81/32
192.168.1.82/32
192.168.1.83/32
192.168.1.84/32
192.168.1.85/32
192.168.1.86/32
192.168.1.87/32
192.168.1.88/32
192.168.1.89/32
192.168.1.90/32
192.168.1.91/32
192.168.1.92/32
192.168.1.93/32
192.168.1.94/32
192.168.1.95/32
192.168.1.96/32
192.168.1.97/32
192.168.1.98/32
192.168.1.99/32
192.168.1.100/32
192.168.1.101/32
192.168.1.102/32
192.168.1.103/32
192.168.1.104/32
192.168.1.105/32
192.168.1.106/32
192.168.1.107/32
192.168.1.108/32
192.168.1.109/32
192.168.1.110/32
192.168.1.111/32
192.168.1.112/32
192.168.1.113/32
192.168.1.114/32
192.168.1.115/32
192.168.1.116/32
192.168.1.117/32
192.168.1.118/32
192.168.1.119/32
192.168.1.120/32
192.168.1.121/32
192.168.1.122/32
192.168.1.123/32
192.168.1.124/32
192.168.1.125/32
192.168.1.126/32
192.168.1.127/32
192.168.1.128/32
192.168.1.129/32
192.168.1.130/32
192.168.1.131/32
192.168.1.132/32
192.168.1.133/32
192.168.1.134/32
192.168.1.135/32
192.168.1.136/32
192.168.1.137/32
192.168.1.138/32
192.168.1.139/32
192.168.1.140/32
192.168.1.141/32
192.168.1.142/32
192.168.1.143/32
192.168.1.144/32
192.168.1.145/32
192.168.1.146/32
192.168.1.147/32
192.168.1.148/32
192.168.1.149/32
192.168.1.150/32
192.168.1.151/32
192.168.1.152/32
192.168.1.153/32
192.168.1.154/32
192.168.1.155/32
192.168.1.156/32
192.168.1.157/32
192.168.1.158/32
192.168.1.159/32
192.168.1.160/32
192.168.1.161/32
192.168.1.162/32
192.168.1.163/32
192.168.1.164/32
192.168.1.165/32
192.168.1.166/32
192.168.1.167/32
192.168.1.168/32
192.168.1.169/32
192.168.1.170/32
192.168.1.171/32
192.168.1.172/32
192.168.1.173/32
192.168.1.174/32
192.168.1.175/32
192.168.1.176/32
192.168.1.177/32
192.168.1.178/32
192.168.1.179/32
192.168.1.180/32
192.168.1.181/32
192.168.1.182/32
192.168.1.183/32
192.168.1.184/32
192.168.1.185/32
192.168.1.186/32
192.168.1.187/32
192.168.1.188/32
192.168.1.189/32
192.168.1.190/32
192.168.1.191/32
192.168.1.192/32
192.168.1.193/32
192.168.1.194/32
192.168.1.195/32
192.168.1.196/32
192.168.1.197/32
192.168.1.198/32
192.168.1.199/32
192.168.1.200/32
192.168.1.201/32
192.168.1.202/32
192.168.1.203/32
192.168.1.204/32
192.168.1.205/32
192.168.1.206/32
192.168.1.207/32
192.168.1.208/32
192.168.1.209/32
192.168.1.210/32
192.168.1.211/32
192.168.1.212/32
192.168.1.213/32
192.168.1.214/32
192.168.1.215/32
192.168.1.216/32
192.168.1.217/32
192.168.1.218/32
192.168.1.219/32
192.168.1.220/32
192.168.1.221/32
192.168.1.222/32
192.168.1.223/32
192.168.1.224/32
192.168.1.225/32
192.168.1.226/32
192.168.1.227/32
192.168.1.228/32
192.168.1.229/32
192.168.1.230/32
192.168.1.231/32
192.168.1.232/32
192.168.1.233/32
192.168.1.234/32
192.168.1.235/32
192.168.1.236/32
192.168.1.237/32
192.168.1.238/32
192.168.1.239/32
192.168.1.240/32
192.168.1.241/32
192.168.1.242/32
192.168.1.243/32
192.168.1.244/32
192.168.1.245/32
192.168.1.246/32
192.168.1.247/32
192.168.1.248/32
192.168.1.249/32
192.168.1.250/32
192.168.1.251/32
192.168.1.252/32
192.168.1.253/32
192.168.1.254/32
192.168.1.255/32
192.168.2.0/32
192.168.2.1/32
192.168.2.2/32
192.168.2.3/32
192.168.2.4/32
192.168.2.5/32
192.168.2.6/32
192.168.2.7/32
192.168.2.8/32
192.168.2.9/32
192.168.2.10/32
192.168.2.11/32
192.168.2.12/32
192.168.2.13/32
192.168.2.14/32
192.168.2.15/32
192.168.2.16/32
192.168.2.17/32
192.168.2.18/32
192.168.2.19/32
192.168.2.20/32
192.168.2.21/32
192.168.2.22/32
192.168.2.23/32
192.168.2.24/32
192.168.2.25/32

IPV4 CIDR PREFIX REFERENCE

Common IPv4 CIDR Prefix Sizes & Subnet Masks.

CIDRSubnet MaskTotal IPsTypical Use
/32255.255.255.2551Single host / bastion allowlist rule
/24255.255.255.0256Standard office LAN or VPC subnet
/22255.255.252.01,0244 contiguous /24 blocks summarized
/16255.255.0.065,536Full AWS/GCP VPC address space

2. Zero-Upload Firewall Privacy

Internal RFC 1918 subnets and production IP allowlists stay strictly in browser RAM.

Frequently Asked Questions

How does IP range to CIDR conversion work?

Every CIDR block covers a power-of-two number of IPv4 addresses aligned to a matching binary boundary. Converting an arbitrary start-to-end IP range greedily emits the largest valid aligned CIDR prefix at each step until the entire range is covered with zero extra IPs.

Why should I aggregate or summarize CIDR blocks for firewalls and AWS Security Groups?

Cloud firewalls (AWS Security Groups, GCP Firewall, Cloudflare WAF, Nginx allowlists) enforce strict rule-count quotas. Merging adjacent and overlapping /24 or /25 blocks into minimal supernets (e.g., four adjacent /24s → one /22) keeps ACLs compact and faster to evaluate.

Can I mix single IPs, start-end ranges, and CIDR blocks in the aggregator?

Yes. Switch to "Merge / Summarize CIDR List" and paste any mix of single IPv4s, dash-separated ranges (192.168.10.0 - 192.168.10.127), and CIDR prefixes—overlapping intervals merge automatically.

How many IP addresses are in a /24, /22, or /16 CIDR block?

An IPv4 CIDR block /n contains 2^(32 − n) total addresses: /24 = 256 IPs, /22 = 1,024 IPs, /20 = 4,096 IPs, and /16 = 65,536 IPs.

Why does the tool show binary and hex IPv4 representations?

Viewing the 32-bit binary octets makes subnet mask boundaries immediately obvious when troubleshooting routing tables, VPC peering, or bitmask ACLs.

Are my internal IP ranges sent to a server?

Never. All bitwise CIDR decomposition and summarization execute 100% locally in your browser.