Subnet Calculator (IPv4)
Calculate Subnet Calculator (IPv4) instantly with the exact formula and a worked example. Free online calculator — no signup, works on mobile.
Subnet Calculator (IPv4)
Prefix /N
Hosts in subnet
254
More about: Subnet Calculator (IPv4)
What it calculates
The “Subnet Calculator (IPv4)” calculator computes Hosts in subnet from 1 parameter: prefix /n.
Standard IT calculations for developers and sysadmins.
Example calculation
With parameters Prefix /N = 24 the result is 254.
How to use
- Enter the parameter values — every field above is adjustable with a slider.
- The result and related metrics are calculated automatically as you type.
- Use the additional metrics shown (if any) where needed.
- Copy the result or bookmark the page.