Home / Web & Developer / IP / CIDR Subnet Calculator
🕸️ IP / CIDR Subnet Calculator
IP / CIDR Subnet Calculator – get instant, free results right on your device.
Only IPv4 is supported. Special rules apply to /31 and /32 prefixes. Not an official institution.
Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy
What is IP / CIDR Subnet Calculator?
CIDR notation writes an IP address and the size of the network together, as in 192.168.1.10/24. The number after the slash tells how many bits of the address belong to the network portion. It is commonly used in network administration, firewall rules, and cloud networks.
From an IPv4 address and prefix, the tool calculates the subnet mask, wildcard mask, network address, broadcast address, first and last usable addresses, and the number of usable addresses. A /24 network has 256 addresses; since the network and broadcast addresses are reserved, 254 of them can be assigned to devices. If the address is in the 10.x, 172.16-31.x, or 192.168.x range, it is marked as private.
Only IPv4 is supported. In special cases such as /31 (point-to-point link) and /32 (single address), the standard network and broadcast address rules apply differently.
How to use
Fill in these fields: IPv4 / prefix. Then press the button; the result appears on the same page and your data never leaves your device.
Formula
192.168.1.10/24 → 254 usable addresses
Example
192.168.1.10/24 → 254 usable addresses
Worked examples and tips
Example 1: A computer on your office network has the address 192.168.1.10/24. The tool gives the network address as 192.168.1.0/24, the mask as 255.255.255.0, and the broadcast address as 192.168.1.255. The first usable address is 192.168.1.1, the last is 192.168.1.254, there are 254 usable addresses in total, and the range is marked as private.
Example 2: In a cloud project you have allocated the 10.0.0.0/22 block. The mask is 255.255.252.0, the broadcast address is 10.0.3.255, the usable range is from 10.0.0.1 to 10.0.3.254, and the tool shows 1,022 usable addresses. In other words, a /22 is the combination of four consecutive /24 networks.
Example 3: For a small subnet, enter 172.16.5.130/26. Even though the device address is in the middle of the network, the tool finds the network address 172.16.5.128/26; the mask is 255.255.255.192, the broadcast is 172.16.5.191, and there are 62 usable addresses, from 172.16.5.129 to 172.16.5.190. If you enter 203.0.113.9/30 for a link between two devices, only 2 usable addresses come out, and the range is not private.
Tips and common mistakes: As the prefix grows, the network gets smaller; choosing /26 instead of /24 drops the address count from 254 to 62. Two are subtracted from the usable address count because the network and broadcast addresses are not assigned to devices. So that different subnets do not overlap, check that the starting address of each block is a multiple of the block size. If you need a wildcard mask for firewall rules, the tool provides that too.
When is it used? When planning VLANs, allocating a cloud network block, and writing security group rules.
Frequently asked questions
IP / CIDR Subnet Calculator – how to use it?
Fill in the fields and press the button; the result appears instantly. Example: 192.168.1.10/24 → 254 usable addresses
IP / CIDR Subnet Calculator – is it free, and is my data stored?
Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.
Related guide
- What Are an IP Address, CIDR and a Subnet Mask? How Many Addresses Is /24? A Calculation Method – How do you calculate CIDR notation and subnet masks? The block-size method, network and broadcast addresses, splitting into subnets and private ranges.
- What Are the Most Common Port Numbers? 22, 80, 443, 3306, and More – What is a port, and how do TCP and UDP differ? A table of common ports such as SSH 22, HTTP 80, HTTPS 443, and MySQL 3306, plus basic port security tips.