Find a tool

navigate Enter open

Use a task word when you do not know the exact name.

IPv4 CIDR Subnet Calculator

Local only

The IPv4 CIDR Subnet Calculator derives an IPv4 network range from an address and CIDR prefix. Input remains in this browser tab.

Reviewed · Free · No account required

IPv4 Subnet Workspace

Calculation uses unsigned 32-bit arithmetic locally. No network request is made.

Network result

Status
Waiting
Subnet calculation runs locally in this browser tab.

What does the IPv4 CIDR Subnet Calculator do?

Use this tool when you need a browser utility that derives an IPv4 network range from an address and CIDR prefix. It accepts an IPv4 address followed by a prefix from /0 to /32 and returns mask, wildcard, network, broadcast, usable range, and address counts. Results are deterministic for the same input except where cryptographic randomness, current time, or a live provider response is part of the task.

The prefix controls block size and host semantics

Use broader prefixes for larger address blocks and narrower prefixes for smaller ones. Confirm routing and platform policy for /31 and /32 networks rather than applying the ordinary two-address reservation mechanically.

How do you use it?

  1. Enter an IPv4 address and prefix in address/CIDR form, such as 192.168.1.42/24.
  2. Select Calculate subnet.
  3. Copy the mask, wildcard, network, broadcast, usable range, and address counts into the network plan.

Worked example

Calculate a /24 containing one host address

Input

192.168.1.42/24

Output

Subnet mask: 255.255.255.0
Network: 192.168.1.0
Broadcast: 192.168.1.255
Usable range: 192.168.1.1–192.168.1.254
Usable hosts: 254

A /24 leaves eight host bits, so the block contains 256 addresses under traditional subnet semantics.

Common errors and fixes

SymptomLikely causeFix
The page asks for IPv4/CIDR format.The prefix is missing, the address has the wrong number of octets, or an octet is outside 0–255.Use four decimal octets followed by /0 through /32.
/31 or /32 host counts look different from total minus two.Point-to-point /31 and single-host /32 prefixes do not use the traditional network-and-broadcast reservation rule.Apply RFC 3021 semantics for /31 and treat /32 as one host route.

Important behavior of Subnet Calculator

/31 and /32 networks follow point-to-point and single-host counting rather than the traditional two-address reservation.

Standards and implementation references

Frequently asked questions about Subnet Calculator

Does the Subnet Calculator upload my input?

No. Processing runs in the current browser tab, and the page does not send tool input to a KitLumi processing endpoint.

What input does the Subnet Calculator accept?

It accepts an IPv4 address followed by a prefix from /0 to /32. The workspace checks the input and reports malformed or unsupported values before it produces a result.

What does the Subnet Calculator produce?

It produces mask, wildcard, network, broadcast, usable range, and address counts. Copy and download controls appear when the output format supports them.

What limitation should I know?

/31 and /32 networks follow point-to-point and single-host counting rather than the traditional two-address reservation.

What changed?

Initial release · September 24, 2026

Added CIDR parsing, Network and broadcast, Usable host range, Local unsigned arithmetic, responsive controls, explicit runtime disclosure, and tested browser output.

Who maintains this tool?

KL
KitLumi EngineeringKitLumi Engineering maintains browser behavior, privacy disclosures, examples, and automated tests.