IPv4 & IPv6 calculator.

Split, merge or subtract networks, or convert an address range to CIDRs.

Up to 256 subnets per page. All 64 results of a 64-subnet split appear together.

One IP family per calculation · no network requests

45.40.128.0/18 → /22

16 CIDRs

1,024 addresses per subnet16,384 addresses totalNetmask 255.255.252.0

Showing 1–16 of 16. Ranges include every address.

#Subnet / WHOISFirst addressLast addressAddresses
145.40.128.0/2245.40.128.045.40.131.2551,024
245.40.132.0/2245.40.132.045.40.135.2551,024
345.40.136.0/2245.40.136.045.40.139.2551,024
445.40.140.0/2245.40.140.045.40.143.2551,024
545.40.144.0/2245.40.144.045.40.147.2551,024
645.40.148.0/2245.40.148.045.40.151.2551,024
745.40.152.0/2245.40.152.045.40.155.2551,024
845.40.156.0/2245.40.156.045.40.159.2551,024
945.40.160.0/2245.40.160.045.40.163.2551,024
1045.40.164.0/2245.40.164.045.40.167.2551,024
1145.40.168.0/2245.40.168.045.40.171.2551,024
1245.40.172.0/2245.40.172.045.40.175.2551,024
1345.40.176.0/2245.40.176.045.40.179.2551,024
1445.40.180.0/2245.40.180.045.40.183.2551,024
1545.40.184.0/2245.40.184.045.40.187.2551,024
1645.40.188.0/2245.40.188.045.40.191.2551,024
Download this page:

Large splits are paged without generating the full address space. Counts are exact for IPv6. Merge and exclusion inputs accept up to 1,024 blocks and produce at most 8,192 CIDRs. Downloads and copy buttons use the displayed page.