🍋
Menu
🍋 Developer Tools

IP Subnet Calculator

Calculate subnet ranges, broadcast addresses, and CIDR notation

Free Browser-only No sign-up
chars words sentences lines

Results

Result

About IP Subnet Calculator

Calculate IPv4 subnet details from an IP address and subnet mask or CIDR notation. View network address, broadcast address, usable host range, and total hosts.

How It Works

Converts the IP address and subnet mask to 32-bit integers, then performs bitwise AND for the network address and bitwise OR with the inverted mask for the broadcast address. Host range is derived from these boundaries.

Step by Step

  1. 1 Enter an IP address with CIDR notation (e.g., 192.168.1.0/24)
  2. 2 Or enter an IP with subnet mask (e.g., 192.168.1.0 255.255.255.0)
  3. 3 Click Calculate to view subnet details

Tips

  • /24 (255.255.255.0) gives 254 usable hosts — the most common subnet
  • /32 is a single host address, useful for firewall rules
  • /16 gives 65,534 usable hosts — a Class B equivalent

Frequently Asked Questions

What is CIDR notation?
CIDR (Classless Inter-Domain Routing) notation uses a slash and number (e.g., /24) to indicate the number of bits in the network mask.
Does this support IPv6?
Currently, this tool supports IPv4 addresses only. IPv6 support is planned.