A /24 IPv4 prefix uses mask 255.255.255.0 and contains 256 addresses. See the range for 192.0.2.1.
Subnet mask
255.255.255.0
Binary mask
11111111.11111111.11111111.00000000
Wildcard mask
0.0.0.255
Total addresses
256
Usable host addresses
254
Block containing 192.0.2.1
192.0.2.0 – 192.0.2.255
In a broadcast subnet, the first address identifies the network and the last is the broadcast address. Increasing the prefix length by one divides this block into two equal subnets.