Networks

How to interpret an IPv4 network in CIDR notation

CIDR notation associates an address with a prefix length; the tool calculates the block containing that address.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter 192.168.1.70/26 in the CIDR calculator.

  2. Calculate and check the network address, mask, first and last usable addresses.

  3. Compare the broadcast and totals before documenting a network.

CIDR Calculator

Worked example

The block starts at 192.168.1.64 and ends at 192.168.1.127; it contains 64 addresses. Under the traditional IPv4 convention, 62 are for hosts, from .65 to .126.

Result: network 192.168.1.64/26; mask 255.255.255.192; broadcast 192.168.1.127.

RFC 4632: CIDR

Limits and checks

The calculation does not check conflicts, DHCP, routing or real availability. The interpretation changes for /31 and /32; do not automatically subtract two addresses.

Next step

Compare the special cases in the /31 and /32 guide.

Why IPv4 /31 and /32 prefixes need special treatment
Back to the blog