Subnet Calculator

Solve subnet using the numerical operation shown. Use this free subnet calculator for fast, clear results with no signup required.

Subnet Calculator guide

What it is for

Solve subnet calculator with a reusable numerical operation.

How it is calculated

IPv4 address count = 2^(32 − prefix). Traditional usable hosts subtract network and broadcast addresses, with the engine’s /31 and /32 special cases preserved.

Assumptions

Inputs are finite numbers in the requested format and do not mix incompatible units.

Example

A /24 prefix has 256 total IPv4 addresses, 254 traditional usable hosts and mask 255.255.255.0.

Limitations

Round only at the end when precision matters, and independently check results used for work, study, or important decisions.

Browse all 212 calculators