Subnet Calculator
Free subnet calculator: enter ipv4 address and prefix length and get network address instantly.
What is the Subnet Calculator used for?
Use it to calculate IPv4 subnets, ranges and broadcast addresses.
When to use it
- Network planning
- IT certification study (CCNA)
- Firewall rules
How to use the Subnet Calculator
- Enter your numbers in the fields above – the subnet calculator starts with example values so you can see how it works.
- Pick the right units or options from the drop-down menus where they appear.
- Read the results instantly; they update every time you change a value.
- Change one input at a time to compare different scenarios, then note or copy the figures you need.
Worked example
For example, if you enter:
- IPv4 address: 192.168.1.10
- Prefix length: 24
the subnet calculator gives:
- Network address: 192.168.1.0
- Broadcast address: 192.168.1.255
- Usable host range: 192.168.1.1 – 192.168.1.254
- Usable hosts: 254
- Subnet mask: 255.255.255.0
Replace the example values with your own numbers to get your personal result.
About this tool
The Subnet Calculator works out network address, broadcast address, usable host range and usable hosts from a few simple inputs. Type ipv4 address and prefix length and the results update instantly as you change any number – there is no button to press and nothing to install.
How to use it: start with the example values already filled in to see how the subnet calculator behaves, then replace them with your own figures. Every field accepts decimals, and you can change one value at a time to compare scenarios side by side.
Results are rounded for readability, so treat them as a reliable estimate rather than an official figure. Double-check important results before relying on them.
Frequently asked questions
How does the subnet calculator work?
It uses standard formulas to turn ipv4 address and prefix length into network address, broadcast address and usable host range. The calculation reruns every time you change an input.
Is the subnet calculator free?
Yes. The subnet calculator on UnlimitedPocket is completely free, with no sign-up, no usage limits and no watermarks.
Is my data uploaded anywhere?
No. Everything is calculated in your browser on your own device. Nothing you type or open is sent to our servers.
Report an issue
Something wrong with the Subnet Calculator? Tell us and we’ll fix it.