Subnet masks explained
A contiguous IPv4 mask separates network bits from host bits. 255.255.255.0 corresponds to /24.
Practical example
Convert the mask to a prefix, then enter your address and prefix in the subnet calculator. Check that the gateway belongs to the intended network.
Try the related tool โ