Skip to main content

CIDR Subnet Calculator

Enter an IPv4 CIDR like 192.168.1.0/24 and get everything: network and broadcast addresses, first and last host, usable count, subnet and wildcard masks, class, and a ready-made split into smaller subnets. All computed locally with exact BigInt arithmetic.

How it works

The tool converts the IP to a 32-bit integer, derives the mask from the prefix length, and computes network/broadcast/host ranges with bitwise operations on BigInt — exact for every /0 through /32, including the edge cases (/31 point-to-point links, /32 single hosts). The subnet split table divides the block into 8× smaller subnets (prefix +3) so you can plan allocations at a glance.

Where it saves you

  • Network planning: partitioning an office block into per-department subnets
  • Cloud and VPC design: verifying a range fits the hosts you actually need before creating it
  • Troubleshooting: checking whether two addresses share a subnet — the classic “can’t reach the other host” question

For timestamps and cron schedules in the same infrastructure-debugging workflow, the timestamp converter and cron parser sit nearby.