Simple online tools for developers, networking, text and conversions.

Network Tools

CIDR Calculator Examples

Review practical CIDR Calculator examples so you can understand expected input, output, and common patterns faster.

Why examples matter for CIDR Calculator

Use this CIDR Calculator to analyze an IPv4 CIDR block and return important subnet details such as subnet mask, network address, broadcast address, first usable IP, last usable IP, and usable host count. It is useful for subnet planning, firewall rules, routing, network labs, and day-to-day infrastructure work.

Example pages are especially useful for network tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.

CIDR Calculator examples

Standard /24 subnet

Input

192.168.1.0/24

Output

CIDR: 192.168.1.0/24
Subnet mask: 255.255.255.0
Network address: 192.168.1.0
Broadcast address: 192.168.1.255
First usable IP: 192.168.1.1
Last usable IP: 192.168.1.254
Total addresses: 256
Usable hosts: 254

A common LAN subnet used in offices, homes, and labs.

Small /30 subnet

Input

10.0.0.4/30

Output

CIDR: 10.0.0.4/30
Subnet mask: 255.255.255.252
Network address: 10.0.0.4
Broadcast address: 10.0.0.7
First usable IP: 10.0.0.5
Last usable IP: 10.0.0.6
Total addresses: 4
Usable hosts: 2

Useful for point-to-point style network examples and small subnets.

How to use these examples

  1. Enter an IPv4 CIDR such as 192.168.1.0/24
  2. Click Run Tool to calculate the subnet details
  3. Review the network address, mask, range, and usable hosts
  4. Use the output for planning, troubleshooting, or documentation
  5. Run it again with another prefix to compare subnet sizes

Common mistakes in sample input

Entering an IP without a prefix length

Fix: Use full CIDR notation such as 192.168.1.0/24 instead of only an IP address.

Using an invalid prefix like /33

Fix: For IPv4 CIDR, the prefix must be between /0 and /32.

Expecting host ranges that ignore network and broadcast addresses

Fix: Remember that many IPv4 subnets reserve the first and last address for network and broadcast.

Next steps

After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.

Run the main tool

Open the main CIDR Calculator page and test your own real input.

Open CIDR Calculator