IP range to CIDR converter
Enter the first and last IPv4 address of a range to get the smallest list of CIDR blocks that covers it exactly. The conversion runs in your browser.
14 blocks
- 10.0.0.1/32
- 10.0.0.2/31
- 10.0.0.4/30
- 10.0.0.8/29
- 10.0.0.16/28
- 10.0.0.32/27
- 10.0.0.64/26
- 10.0.0.128/26
- 10.0.0.192/27
- 10.0.0.224/28
- 10.0.0.240/29
- 10.0.0.248/30
- 10.0.0.252/31
- 10.0.0.254/32
Frequently asked questions
- Why does a range need several CIDR blocks?
- A CIDR block must start on a boundary that matches its size. A range that does not line up with those boundaries has to be split into several blocks, each as large as the boundary allows.
- Is the result exact?
- Yes. The blocks cover exactly the addresses from the first to the last address, with nothing extra, and this is the smallest set of blocks that does so.