Toolman

/13 subnet

A /13 has a subnet mask of 255.248.0.0 and 524,286 usable hosts.

The numbers

Prefix length/13
Subnet mask255.248.0.0
Wildcard mask0.7.255.255
Network bits13
Host bits19
Total addresses524,288
Usable hosts524,286
/24 networks contained2,048

Where a /13 is used

A large subdivision of a private range.

Why the usable count is what it is

A /13 leaves 19 bits for hosts, giving 219 = 524,288 addresses. Two of those cannot be assigned to a machine: the one with all host bits set to zero is the network address, which names the subnet itself, and the one with all host bits set to one is the broadcast address. That leaves 524,286.

Binary layout

mask   11111111.11111000.00000000.00000000
       ^^^^^^^^^^^^^                   
       13 network bits, 19 host bits

Splitting and combining

PrefixUsable hostsRelationship
Twice the size/121,048,574Two /13 networks combine into one /12
This network/13524,286
Half the size/14262,142One /13 splits into two /14 networks
A quarter/15131,070Four /15 networks fit in a /13

Frequently asked questions

How many hosts are in a /13?

524,288 addresses in total, of which 524,286 are usable. The first is the network address and the last is the broadcast address, so two are always lost.

What is the subnet mask for /13?

255.248.0.0. The prefix length is the count of leading 1 bits in the mask, so /13 is 13 ones followed by 19 zeros.

What is the wildcard mask for /13?

0.7.255.255 — the bitwise inverse of the subnet mask. Cisco access lists and OSPF network statements take the wildcard rather than the mask; a zero bit must match and a one bit is ignored.

How does a /13 compare to a /24?

A /13 is 2,048 times larger than a /24 — it contains 2,048 of them.

Other prefix lengths

All prefix lengths · Subnet calculator