All Tools View Categories About Contact Privacy

CIDR Calculator

Compute IPv4 CIDR network info (network, netmask, wildcard, broadcast, hosts) entirely in your browser.

Runs entirely in your browser - nothing is uploaded and no cluster connection is made.

Enter an IPv4 CIDR such as 10.0.0.0/24.

0
total addresses
0
usable hosts
Your CIDR network information will appear here.

About CIDR Calculator

A CIDR describes an IPv4 network range. The CIDR Calculator computes everything you need from a single CIDR - network address, netmask, wildcard mask, broadcast address, first and last usable host, and total/usable address counts.

It is handy when writing NetworkPolicy ipBlock rules or sizing Service/ Pod CIDRs. All calculation runs locally with no dependencies and no network calls.

The input is validated: a valid IPv4 address plus a 0-32 prefix. Problems are reported in a clear panel. Everything runs locally and nothing is uploaded.

Features

  • Full network info - network, netmask, wildcard, broadcast.
  • Host range - first/last usable host.
  • Counts - total and usable addresses.
  • Binary view - network and netmask in binary.
  • Validation - IPv4 + 0-32 prefix checked.
  • Copy / Download / Print - take the table anywhere.

How to Use

  1. Enter a CIDR like 10.0.0.0/24.
  2. Compute and read the table.
  3. Copy or download the result.

Examples

Example 1 - /24. 10.0.0.0/24 -> 256 addresses, 254 usable.

Example 2 - /16. 192.168.0.0/16 -> 65536 addresses.

Example 3 - /32. 10.1.1.1/32 -> single host.

Benefits

  • Accurate - correct network math.
  • Private - all in the browser.
  • Useful - for NetworkPolicy CIDRs.
  • Clear output - table with binary.
  • Validated - bad input rejected.
  • Copy, download or print - take it anywhere.

Frequently Asked Questions

What does this compute?
Given an IPv4 CIDR (e.g. 10.0.0.0/24) it calculates the network address, netmask, wildcard, broadcast, first/last usable host, total addresses and usable hosts.
Why is this useful for NetworkPolicy?
ipBlock rules in NetworkPolicy take a CIDR, so knowing the exact network range and its boundaries avoids overlaps and mistakes.
Does it support IPv6?
No. This tool is IPv4 only, which covers the common NetworkPolicy and Service CIDR use cases.
Is the input validated?
Yes. The CIDR must be a valid IPv4 address with a 0-32 prefix; invalid input is reported.
Does this connect to a cluster?
No. All math is done in your browser and nothing is uploaded.
Can I copy the result?
Yes. Copy, download or print the computed table.