Use a /prefix (/24) or a dotted mask (255.255.255.0). A wildcard mask (0.0.0.255) works too.
/24
255.255.255.0
0.0.0.255
Try: 192.168.1.10/24 10.20.30.40 255.255.252.0 172.16.5.1/255.255.240.0 203.0.113.9/30
network bits host bits
The calculator needs JavaScript.