Try:
192.168.1.0/24
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 of 256 addresses
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Binary mask
11111111.11111111.11111111.00000000
Address class · type
Class C · private
4 subnets of 64 addresses
  • 192.168.1.0/26
  • 192.168.1.64/26
  • 192.168.1.128/26
  • 192.168.1.192/26

How subnetting works

A prefix length (/24, /26 …) says how many leading bits identify the network; the remaining bits number the hosts. A /24 leaves 8 host bits: 256 addresses, of which 254 are usable because the first is the network address and the last is the broadcast address.

All calculations run in your browser. /31 networks follow RFC 3021 (two usable addresses for point-to-point links) and /32 describes a single host.

Common subnet masks

PrefixSubnet maskUsable hosts
/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
/23255.255.254.0510
/22255.255.252.01,022
/16255.255.0.065,534
/8255.0.0.016,777,214

Subnets on a home network

Most home routers use a /24 such as 192.168.1.0/24 — up to 254 devices. If you add a second router, give it a different subnet (for example 192.168.2.0/24) to avoid address conflicts. See public vs private IP addresses.

Questions

What is a wildcard mask?

The inverse of the subnet mask (0.0.0.255 for a /24). Cisco access lists and some routing protocols use it to match address ranges.

How many subnets do I get if I split a /24 into /26?

Four subnets of 64 addresses each (62 usable hosts per subnet).