IPv4 Subnet Calculator

Calculate network, broadcast, mask, and bounded host ranges from CIDR.

Scope: Arithmetic is local; usable-host output follows the conventional exclusion for prefixes /0 through /30 and makes no reachability claim.

Workbench

Inputs stay on this page.

Reports its /31 and /32 usable-host convention explicitly.

How to use IPv4 Subnet Calculator

  1. Fill in the fields:

    • IPv4 address.
    • CIDR prefix: 0 to 32.
  2. Press “Calculate subnet”.

  3. Copy the result, or download it as ipv4-subnet.json.

About this tool

Calculate network, broadcast, mask, and bounded host ranges from CIDR.

Reports its /31 and /32 usable-host convention explicitly.