All Dev Tools
Ambiakshi ToolsRuns 100% on this deviceNetworkingDevOpsSubnetting

Calculate an IPv4 subnet

Network, broadcast, usable host range, and subnet splitting from an IP and CIDR.

Runs 100% in your browser. Nothing you enter or upload ever leaves this device. How this works →

IPv4 CIDR & Subnet Calculator Engine

Calculate network boundaries, usable IP ranges, broadcast addresses, wildcard masks, and binary bit allocations from an IP and prefix. Compliant with RFC 4632 (CIDR), RFC 3021 (/31 point-to-point links), and RFC 1918 private networking.

Quick Prefixes:

Subnet Calculations

Network Address
/24
192.168.1.0

First address of the subnet

Broadcast Address
192.168.1.255

Last address (for broadcast packets)

Usable Host Range
Usable Range
192.168.1.1 — 192.168.1.254

254 usable host addresses

Total Usable Hosts
256 total
254

2^(8) − 2 hosts

Subnet Mask
255.255.255.0

Dotted decimal subnet mask

Wildcard Mask
0.0.0.255

Inverse mask used in ACLs & OSPF

IP Scope & Type
Private Network (RFC 1918)

Legacy Class C (CIDR RFC 4632 standard)

CIDR Notation
192.168.1.0/24

Classless Inter-Domain Routing prefix

Binary Representation & Bit Boundary

IP Address:11000000.10101000.00000001.00000000
Subnet Mask:11111111.11111111.11111111.00000000
Network Address:11000000.10101000.00000001.00000000
Broadcast:11000000.10101000.00000001.11111111

First 24 bits represent the Network ID; remaining 8 bits represent the Host ID.

Subnet Splitting (Subdivide Network)

Local developer utility

100% in-browser

JWT, cron, DNS, and SEO audits run in the browser or via a same-origin fetch you start. Secrets you paste never persist on our servers. Treat results as a second opinion, not a penetration test.

Standard: Security grades follow OWASP ASVS header guidance. A green score is not a warranty.

Frequently asked

Direct answers for search, answer engines, and generative crawlers.

In traditional IPv4 subnetting (/24 to /30), two addresses are reserved per subnet: the network identifier (all zeros) and the broadcast address (all ones). RFC 3021 defines point-to-point links on /31 subnets where network and broadcast addresses are not required, allowing both IP addresses to be assigned to router interfaces with zero wasted address space.

Feedback, bugs & custom requests

Found a bug, a math anomaly, or a missing feature on Calculate an IPv4 subnet? Send it to engineering — reports land in our Discord channel. Optional email if you want a follow-up.

Related tools

Canonical: /developer/ipv4-subnet-calculator. Estimates and conversions are educational. See the full disclaimer.