IP and subnet calculator

Enter an address or a block in CIDR notation. IPv4 and IPv6 are both supported.

For example 192.168.1.0/24, 10.0.0.0 255.0.0.0, 2001:db8::/48 or a single address.

Block details

Split into equal blocks

Choose a longer prefix to divide the block above.

    Merge blocks

    One block per line, or separated by spaces or commas. Overlapping and adjacent blocks are combined into the fewest blocks that cover exactly the same addresses. Text after # is ignored.