Subnet calculator

Enter an address with a prefix, for example 192.168.1.10/24 — we'll calculate the mask, network address, broadcast address, range and number of hosts.

Network address
—
Broadcast
—
Mask
—
Wildcard mask
—
Host range
—
Number of hosts
—

Common prefixes

CIDRMaskHosts
/32255.255.255.2551
/30255.255.255.2522
/29255.255.255.2486
/28255.255.255.24014
/27255.255.255.22430
/26255.255.255.19262
/25255.255.255.128126
/24255.255.255.0254
/16255.255.0.065 534
/8255.0.0.016 777 214

Frequently asked questions

What does /24 mean?

A CIDR prefix: the first 24 bits of the address are the network number, the remaining 8 are hosts. A /24 network has 256 addresses, 254 of them for devices.

Why are there 2 fewer hosts?

The first address is the network address and the last is broadcast — devices don't get them. The exceptions are /31 and /32.

Looking for a server? VPS from the catalog

Compare providers' plans by price, country and features — prices are updated daily.

Find a VPS →

Other tools