homelab

Calculate IPv4 subnet details from CIDR notation. Parses a CIDR block (e.g. 192.168.1.0/24) and returns the network address, broadcast address, subnet mask, wildcard mask, first and last usable host addresses, total and usable host counts, prefix length, and classful IP class (A/B/C/D/E). Essential for homelab network planning, VLAN segmentation, firewall rule design, and understanding address space allocation. Handles special cases for /31 point-to-point links (RFC 3021) and /32 host routes.

post/api/subnet_calculator

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/subnet_calculator
  • Auth: none declared

Request body

cidrstring required

IPv4 address in CIDR notation, e.g. 192.168.1.0/24

Response

Computed result for subnet_calculator

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.