/24 CIDR Subnet Mask Calculator (255.255.255.0 — 254 Hosts)

Calculate /24 CIDR subnets (subnet mask 255.255.255.0, wildcard 0.0.0.255). Provides 256 total IPv4 addresses and 254 usable hosts for LANs, VLANs, and cloud VPCs.

Network Architecture Presets:
IPv4 Class:Class C
Routing Scope:Private (RFC 1918)
Subnet Mask:255.255.255.0 (0xFFFFFF00)
Wildcard (Inverse) Mask:0.0.0.255
Network Address
192.168.1.0/24
Broadcast Address
192.168.1.255
Usable Hosts
254
Total IP Addresses: 256
Usable Host IP Range
192.168.1.1 — 192.168.1.254

32-Bit Binary Bitmask Architecture

IP Binary (192.168.1.0)
11000000101010000000000100000000
Mask Binary (255.255.255.0)
11111111111111111111111100000000
Network Binary (192.168.1.0)
11000000101010000000000100000000
Network / Subnet Bits: 24 bits
Host Bits: 8 bits

Subnet Hierarchical Division Matrix

/25 Subnets (2 subnets • 126 Usable Hosts / Subnet)
Subnet (CIDR)Usable Host RangeBroadcast
192.168.1.0/25192.168.1.1 - 192.168.1.126192.168.1.127
192.168.1.128/25192.168.1.129 - 192.168.1.254192.168.1.255
/26 Subnets (4 subnets • 62 Usable Hosts / Subnet)
Subnet (CIDR)Usable Host RangeBroadcast
192.168.1.0/26192.168.1.1 - 192.168.1.62192.168.1.63
192.168.1.64/26192.168.1.65 - 192.168.1.126192.168.1.127
192.168.1.128/26192.168.1.129 - 192.168.1.190192.168.1.191
192.168.1.192/26192.168.1.193 - 192.168.1.254192.168.1.255
/27 Subnets (8 subnets • 30 Usable Hosts / Subnet)
Subnet (CIDR)Usable Host RangeBroadcast
192.168.1.0/27192.168.1.1 - 192.168.1.30192.168.1.31
192.168.1.32/27192.168.1.33 - 192.168.1.62192.168.1.63
192.168.1.64/27192.168.1.65 - 192.168.1.94192.168.1.95
192.168.1.96/27192.168.1.97 - 192.168.1.126192.168.1.127
192.168.1.128/27192.168.1.129 - 192.168.1.158192.168.1.159
192.168.1.160/27192.168.1.161 - 192.168.1.190192.168.1.191
192.168.1.192/27192.168.1.193 - 192.168.1.222192.168.1.223
192.168.1.224/27192.168.1.225 - 192.168.1.254192.168.1.255

/24 Subnet Mask (255.255.255.0) Architecture & Host Capacity

An IPv4 /24 CIDR block allocates the first 24 bits of the 32-bit address to the network prefix (binary 11111111.11111111.11111111.00000000, dotted-decimal subnet mask 255.255.255.0, hex 0xffffff00) and leaves 32 - 24 = 8 host bits for device addressing. Because 2^8 = 256 total IP addresses and 2 addresses are reserved for the network identifier (.0) and directed broadcast (.255), every /24 subnet provides exactly 254 usable host IPs (.1 through .254).

In enterprise VLAN design, home/SOHO RFC 1918 networks (192.168.1.0/24), and AWS/GCP/Azure availability-zone subnets, /24 is the most widely deployed prefix because octet boundaries align cleanly at the fourth dot—making firewall ACLs, reverse DNS zones (in-addr.arpa), and capacity planning straightforward to read.

  • Subnet Mask & Wildcard Mask: Subnet mask is 255.255.255.0; Cisco IOS / OSPF inverse wildcard mask is 0.0.0.255.
  • Total vs Usable IPv4 Addresses: 256 total IPv4 addresses (2^8) and 254 usable host addresses in standard router deployments (or 251 usable in AWS VPCs where 5 IPs per subnet are reserved).
  • Hierarchical Subdivision (/25, /26, /27, /28): A single /24 splits cleanly into two /25 subnets (126 hosts each), four /26 subnets (62 hosts each), eight /27 subnets (30 hosts each), or sixteen /28 subnets (14 hosts each).

Cloud VPC Reserved IPs & VLSM Subdivision of a /24 Network

When provisioning a /24 subnet inside an AWS VPC, Azure VNet, or Google Cloud VPC, the cloud hypervisor reserves 5 IPv4 addresses per subnet rather than the traditional 2: .0 is the network address, .1 is reserved for the virtual VPC router gateway, .2 is reserved for the VPC DNS resolver, .3 is reserved for future cloud routing extensions, and .255 is the network broadcast address—leaving 256 - 5 = 251 usable instance IPs (.4 through .254).

Using Variable Length Subnet Masking (VLSM), network engineers frequently partition a single 192.168.1.0/24 allocation into smaller broadcast domains: for example, assigning 192.168.1.0/25 (126 hosts) to employee workstations, 192.168.1.128/26 (62 hosts) to VoIP phones, and 192.168.1.192/26 (62 hosts) to management and server VLANs.

  • AWS / Azure / GCP 5-IP Reservation Rule: Cloud VPC /24 subnets provide 251 usable ENI addresses (.4 to .254) because .1 (gateway), .2 (DNS), and .3 are reserved.
  • Reverse DNS PTR Zone Alignment (in-addr.arpa): Because /24 aligns on the third octet boundary, a single 1.168.192.in-addr.arpa zone file delegates cleanly without RFC 2317 classless CNAME tricks.

Practical Real-World Use Cases

Network architects and cloud engineers deploy /24 prefixes across office VLANs, availability zones, and BGP edge announcements:

  • Office VLAN Segmentation (Workstations, VoIP & IoT): Assign dedicated /24 VLANs per floor or security zone (10.10.10.0/24 Staff, 10.10.20.0/24 Voice, 10.10.30.0/24 Guest Wi-Fi) so firewall policies map cleanly to the third octet.
  • AWS / GCP / Azure Per-Availability-Zone App Subnets: Provision 251 usable ENI addresses per availability zone (e.g., 10.0.1.0/24 in us-east-1a, 10.0.2.0/24 in us-east-1b) for autoscaling compute and RDS replicas.
  • Global BGP Public IPv4 Prefix Announcements: Verify the minimum globally routable /24 public IPv4 block size accepted by upstream Tier-1 transit providers and RPKI ROAs.

Frequently Asked Questions

How many usable IP addresses are in a /24 subnet?

A standard /24 subnet contains 256 total IPv4 addresses and 254 usable host addresses (2^8 - 2), reserving the first address (.0) as the network address and the last address (.255) as the broadcast address. Note that cloud providers like AWS reserve 3 additional IPs per VPC subnet, leaving 251 usable IPs.

What is the subnet mask and wildcard mask for /24?

The dotted-decimal subnet mask for /24 is 255.255.255.0 (hex 0xffffff00), and its inverse wildcard mask used in Cisco ACLs and OSPF network statements is 0.0.0.255.