Free network tool

IPv4 CIDR calculator

Calculate an IPv4 CIDR network address, broadcast, subnet mask, wildcard mask, usable host range, and address count entirely in your browser.

Runs locallyUpdates as you type
Output
Your result will appear here.
Processed only on this device

About this tool

What ipv4 cidr calculator does

Enter an IPv4 address and choose a common subnet prefix, or enable manual CIDR entry, to calculate its range, masks, broadcast address, and usable host count.

How it works

The common-mask selector supplies the prefix unless manual CIDR mode is enabled. The four IPv4 octets are converted to a 32-bit value and the prefix mask derives network and broadcast boundaries without contacting the address.

Common uses

When to use it

  • Plan small IPv4 subnets and verify address membership
  • Check network and broadcast boundaries in firewall rules
  • Convert CIDR prefixes into subnet and wildcard masks

Scope

Limits to know

  • This calculator does not ping, scan, resolve, or test any address
  • IPv6 uses different range rules and is not handled by this IPv4-specific page

Worked example

Example input and result

Use the prefilled value in the tool above or paste a similar value of your own.

Input
192.168.10.42/24
Result
Network: 192.168.10.0/24 · Broadcast: 192.168.10.255 · Hosts: 192.168.10.1–192.168.10.254 · Usable: 254

Quick answers

IPv4 CIDR calculator FAQ

What does /24 mean in CIDR notation?

It means the first 24 of 32 address bits identify the network, equivalent to subnet mask 255.255.255.0.

How are /31 and /32 networks counted?

A /31 is treated as a two-address point-to-point network under RFC 3021, while a /32 represents one host route.

Does entering a public IP contact it?

No. The value is treated only as a number for local subnet arithmetic.