Assistant

Alexonic Assistant

Online

Assistant
Hi! 👋 I'm Alexonic Assistant. Ask me about any tool on this site, and I can also search our blog articles for you.

AI can make mistakes · Please double-check

Subnet / CIDR Calculator

Calculate IP subnets and address ranges

Enter an IP address with CIDR prefix (e.g. 192.168.1.0/24) to instantly get the network address, broadcast, host range, and more.

CIDR notationNetwork rangeUsable hosts
Summary
192.168.1.0/24
Subnet mask255.255.255.0
Usable hosts254
CIDR prefix/24
Calculator
All calculations are done in your browser with no data sent to any server.
Network address192.168.1.0
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Broadcast address192.168.1.255
First usable host192.168.1.1
Last usable host192.168.1.254
Total addresses256
Usable hosts254
Host bits8
Examples
Common subnets

Reference

Common Subnet Sizes (CIDR Quick Reference)

PrefixSubnet maskTotal IPsUsable hostsCommon use
/8255.0.0.016,777,21616,777,214Class A — large ISP / enterprise
/16255.255.0.065,53665,534Class B — campus / large office
/24255.255.255.0256254Class C — standard office LAN
/25255.255.255.128128126Split /24 into two halves
/26255.255.255.1926462Small office / VLAN segment
/27255.255.255.2243230Small team network
/28255.255.255.2401614Small cloud subnet
/29255.255.255.24886Very small segment
/30255.255.255.25242Point-to-point link
/32255.255.255.25510Single host / loopback route

Reference

Private IP Address Ranges (RFC 1918)

10.0.0.0/8

10.0.0.0 – 10.255.255.255

16.7 million addresses

Large enterprise networks, data centers

172.16.0.0/12

172.16.0.0 – 172.31.255.255

1.05 million addresses

Medium networks, Docker default bridge

192.168.0.0/16

192.168.0.0 – 192.168.255.255

65,536 addresses

Home routers, small office LANs

Private IP ranges are not routable on the public internet. Routers use NAT (Network Address Translation) to map private IPs to a public IP for internet access. IPv6 uses fc00::/7 for its private (ULA) address range.

You might also like

Related tools

Tool guide

How to read CIDR and subnet calculator results

Use the CIDR calculator to turn an IP address and prefix into network address, broadcast address, subnet mask, wildcard mask, usable host range, and total address count.

Last updated: June 5, 2026
Maintained by: Chhun Menghong

Recommended workflow

  • Enter the IPv4 address with CIDR prefix, such as 192.168.1.0/24 or 10.10.10.0/28.
  • Check the network address and broadcast address before assigning devices, firewall rules, or static routes.
  • Use the first and last usable host values to avoid accidentally using reserved network or broadcast addresses.

Before relying on the result

  • Verify whether your network uses /31 or /32 behavior before applying host counts to point-to-point or single-host routes.
  • Confirm subnet changes against router, DHCP, VLAN, and firewall configuration before deploying to production.
  • Document the CIDR prefix and subnet mask together so other administrators can read the address plan clearly.

Help & answers

Frequently Asked Questions

Q1

What is a CIDR calculator?

A CIDR (Classless Inter-Domain Routing) calculator takes an IP address with a prefix length (e.g., 192.168.1.0/24) and computes the network address, broadcast address, subnet mask, first/last usable host, wildcard mask, and total number of hosts. It is an essential tool for network engineers and system administrators.

Q2

What does the /24 mean in an IP address?

The /24 is the prefix length, indicating how many bits of the 32-bit IP address are used for the network portion. /24 means 24 bits for the network and 8 bits for hosts, giving 256 total addresses (254 usable hosts). Common prefixes: /8 = Class A (16M hosts), /16 = Class B (65K hosts), /24 = Class C (254 hosts).

Q3

What is a subnet mask?

A subnet mask is a 32-bit number that separates the network and host portions of an IP address. Written in dotted decimal, /24 = 255.255.255.0 and /16 = 255.255.0.0. The network bits are all 1s and host bits are all 0s. CIDR notation (/24) and dotted decimal (255.255.255.0) are two ways to express the same thing.

Q4

How many usable hosts does a /24 subnet have?

A /24 subnet has 256 total addresses (2^8), but only 254 are usable for hosts. The first address is the network address (192.168.1.0) and the last is the broadcast address (192.168.1.255). Always subtract 2 from the total for usable hosts.

Q5

What is a broadcast address?

The broadcast address is the last address in a subnet, used to send a packet to all devices on that subnet simultaneously. Routers do not forward broadcasts between subnets. In a /24 network like 192.168.1.0/24, the broadcast address is 192.168.1.255.

Q6

What is a wildcard mask?

A wildcard mask is the inverse of the subnet mask. Where the subnet mask has 1s, the wildcard has 0s, and vice versa. Wildcard masks are used in ACLs (access control lists) and OSPF configuration in Cisco and other routers. For /24, the wildcard mask is 0.0.0.255.

Q7

What is the difference between /30 and /31 subnets?

A /30 subnet has 4 addresses (2 usable hosts) and is traditionally used for point-to-point links. A /31 subnet has only 2 addresses and no broadcast, designed specifically for point-to-point links per RFC 3021 — both addresses are usable. /31 is more efficient for router-to-router connections.

Q8

How do I split a /24 into smaller subnets?

Each additional bit you add to the prefix halves the subnet size. A /24 (254 hosts) splits into: two /25 (126 hosts each), four /26 (62 hosts each), eight /27 (30 hosts each), sixteen /28 (14 hosts each). This is called subnetting and is used to organize network segments by department, floor, or function.

Important disclaimer: Alexonic Tools is completely free to use. There is no charge, and we do not save tool inputs or generated results. We value customer privacy and keep building and fixing each day. Always verify important financial, payroll, legal, tax, business, or production-code results before relying on them. If you see an issue, need a tool, or require an update, send feedback to the developer.