IPv4

IPv4 Subnet Calculator

Calculate subnet, hosts, CIDR and binary details

πŸ”’ 100% client-side β€” your data never leaves this page
Input
πŸ”’ 100% client-side
Output
Enter an IP address with CIDR notation to calculate subnet details

About this tool

Calculate IPv4 subnet details from CIDR notation (e.g. 192.168.1.0/24) or subnet mask format. Instantly see network address, broadcast address, first and last usable hosts, total hosts, wildcard mask, IP class, and binary representation. Includes quick CIDR presets for common subnet sizes. Everything runs locally in your browser.

Frequently Asked Questions

What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation represents an IP address followed by a slash and prefix length, such as 192.168.1.0/24. The number indicates how many bits are used for the network portion.

What is the difference between network and broadcast address?

The network address identifies the subnet itself, while the broadcast address is used to send traffic to all hosts within that subnet.

How many usable hosts are in a /24 subnet?

A /24 subnet has 256 total addresses, with 254 usable hosts (excluding the network and broadcast addresses).