Calculators for everyday use

Calculator for IPv4 subnet

Address for IPv4 · How long di CIDR prefix be

Calculator for IPv4 subnet

Address of di network—
Mask for di subnet—
Address range wey you fit use—
Number of usable addresses—
Address to reach every device for di subnet—
Subnet wey come next—

The calculator treats /31 as a point-to-point link and /32 as one host address. RFC 3021

How di calculation dey work

How we dey calculate am

Di IPv4 address and prefix tell you which network di address belong to. A prefix of n network bits leave 32 − n bits for addresses in di subnet.

Example calculation

192,168,110/24 belong to 19,216,810/24. Di block get 256 addresses, from 19,216,810 to 1,921,681,255.

Wetin di result mean

For normal subnet, network and broadcast addresses dey reserved. Di calculator count usable hosts differently for /31 and /32.