/24 Subnet

A /24 has 256 addresses, 254 of them usable by hosts. Its netmask is 255.255.255.0. Enter any address below to see its /24 network.

  • Free
  • No Sign-Up
  • Runs in Your Browser

Examples:

IPv4 network

254 usable hosts · 192.168.1.1 to 192.168.1.254

Private (RFC 1918)

Details

Netmask
Wildcard Mask
Broadcast
First Usable
Last Usable
Usable Hosts
Total Addresses
Netmask in Binary

Split Into Subnets

192.168.1.0/25192.168.1.0 – 192.168.1.127
192.168.1.128/25192.168.1.128 – 192.168.1.255

Subnet Calculator

/24 at a glance

CIDR Prefix/24
Netmask255.255.255.0
Wildcard Mask0.0.0.255
Netmask (Hex)0xFFFFFF00
Total Addresses256
Usable Hosts254
Host Bits8
Contains /24s1
Binary Mask11111111.11111111.11111111.00000000

A /24 fixes the first 24 bits of the address as the network and leaves 8 bits for hosts, so it holds 2^8 = 256 addresses. The first is the network address and the last is the broadcast address, leaving 254 for hosts.

The standard building block of the internet: the smallest prefix most networks accept in BGP, and the classic LAN or customer allocation.

A /24 can be announced in BGP on its own: /24 is the longest prefix most networks accept.

Questions

How many usable IP addresses are in a /24?
254. A /24 has 256 addresses; the network and broadcast addresses are not usable by hosts.
What is the subnet mask for /24?
255.255.255.0. The wildcard (inverse) mask, used in Cisco ACLs, is 0.0.0.255.
How many /24 networks are in a /24?
1. Each step from /24 to /24 doubles the number of networks.
Is 255.255.255.0 the same as /24?
Yes. 255.255.255.0 written in binary is 24 ones followed by 8 zeros, which is what /24 means.

Every address on your network, watched

Frabs maps each IP to the VM that owns it and stops the abuse coming from it, on Proxmox, Virtualizor, VirtFusion and SolusVM.