Utilities

CIDR Calculator

Calculate IP address range by CIDR notation.

Key facts

CIDR calculator online: enter an address with a prefix such as 192.168.1.0/24 and get the mask, wildcard, address range and host count. Free, no sign-up. IPv4 only, no subnet splitting.

Price
Free
Sign-up
Not required
Processing
On our server: the address from the query string is parsed with plain 32-bit arithmetic; no network or database lookups
Input
An IPv4 address with a prefix, such as 192.168.1.0/24
Limits
No sign-up and no limits; IPv4 only and only the prefix notation (0–32)
Output
Subnet mask, wildcard mask, network and broadcast address, first and last host, total address count and usable host count
Last updated

See it in action

CIDR calculator: CIDR to IP range

Enter a block in CIDR notation, such as 203.0.113.0/22, and get its range: network address, first and last host, broadcast, total addresses and how many you can assign to devices. Your prefix is highlighted in the reference table. IPv4 only. For a detailed look at a network around a specific address, use the subnet calculator.

CIDR to IP range conversion
Total addresses and usable hosts in the block
Subnet mask and wildcard mask

How to Use

  1. Enter a block in CIDR format, e.g. 192.168.1.0/24
  2. Read the first and last address of the range
  3. Compare total addresses with usable hosts

FAQ

Enter an address with a prefix such as 10.0.0.0/22 and run the calculation. You get the network and broadcast address, the first and last host and the address count.

A /24 has 256 addresses, 254 of them usable for hosts: the network and broadcast addresses are subtracted.

It is the inverted subnet mask: for 255.255.255.0 the wildcard is 0.0.0.255. It is used in Cisco access lists and some firewalls.

For /31 and /32 we do not subtract two addresses: a /31 has 2 usable addresses and a /32 has one.

No, IPv4 only. For IPv6 blocks use a tool that supports that protocol.

Who it is for and typical uses

  • Firewall rules and ACLs. Get the exact range of a block and the wildcard mask for access lists.
  • Allow-lists. Check which addresses belong to a block your provider or CDN gave you.
  • SPF and email. For an ip4:203.0.113.0/24 entry in SPF, confirm the bounds; the record itself is parsed by the SPF checker.
  • Study and certifications. Quickly verify manual subnet calculations. For a mask without a prefix use the subnet calculator.

Honest limitations

  • IPv4 only. IPv6 addresses (such as 2001:db8::/32) are not accepted.
  • A prefix is required. A bare IP without “/N” gives a format error; a mask like 255.255.255.0 cannot be entered.
  • No splitting. We do not divide a network into subnets of a chosen size and do not do VLSM.
  • The address shows in the URL. The form is sent with GET, so the CIDR lands in the address bar and browser history.

PromoPilot vs alternatives: comparison

We compare only what is confirmed on each service's own pages. Where we could not confirm a fact, the cell shows "—".

Parameter PromoPilot Subnet Calculator (CIDR)
Mask, wildcard, range and host count ✓ ✓ wildcard mask for ACLs, the network in CIDR and the address range
Subnet splitting ✗ ✓ takes the required number of addresses and subnets as input
IPv6 ✗ —

Scroll the table sideways

Where we are weaker: no subnet splitting or IPv6, and you cannot enter a mask instead of a prefix.

When to choose PromoPilot: When you need the bounds of a block fast, for a firewall, an ACL, an allow-list or an SPF record. For network planning with subnet splitting and IPv6 use other calculators.

Checked on: . "—" means not confirmed on the official page; terms and prices change, so check the services' own sites.

Cascade link promotion for your site $30 bonusBacklinks 5→50→5000 across 100+ platforms. From $30 to start, plus a $30 bonus for newcomers.