Free subnet calculator
Work out the network, broadcast, host range and mask for any IPv4 address and prefix.
Runs in your browser. Nothing you type is sent to us · free, no sign-up
Subnet calculator
Loading the tool
Prefer to call?
071 577 0488, any hour, in Sinhala or English.
How to read the result
Enter an IPv4 address with a prefix (/24) or mask and the calculator shows the network address, broadcast address, first and last usable host, number of hosts and the subnet mask. Results update as you type.
Questions people ask
How many hosts does a /24 have?
256 addresses, 254 usable: the first is the network address and the last is the broadcast address.
What prefix do I need for 50 devices?
A /26 gives 62 usable addresses; a /27 gives only 30. Leave room to grow.
Is this tool free?
Yes, free with no sign-up, and it runs entirely in your browser.