# /0 Subnet Mask (0.0.0.0) – Hosts, Range & FAQ

> The /0 subnet mask is 0.0.0.0. A /0 block holds 4,294,967,296 addresses with 4,294,967,294 usable hosts — ranges, wildcard, binary math and FAQs.

- Page URL: https://itinsighthub.com/subnet/0/
- Markdown variant of this page: append `?format=md` to any URL on this site or send `Accept: text/markdown`.
- Full site index for AI assistants: https://itinsighthub.com/llms.txt
- Full site export: https://itinsighthub.com/llms-full.txt

# /0 Subnet Mask ReferenceIPv4

The /0 mask, written 0.0.0.0, fixes zero network bits, so a single block spans every IPv4 address in existence. You will almost never configure it directly; you meet it constantly as 0.0.0.0/0, the default route.

The /0 subnet mask is 0.0.0.0, equivalent to 255.255.255.255 as a wildcard. A /0 block contains 4,294,967,296 IP addresses (4,294,967,294 usable hosts).

## /0 facts at a glance

- **Subnet mask:** 0.0.0.0
- **Wildcard mask:** 255.255.255.255
- **Binary mask:** 00000000.00000000.00000000.00000000
- **Total addresses:** 4,294,967,296
- **Usable hosts:** 4,294,967,294 (excludes network & broadcast)
- **Block size:** 4,294,967,296 addresses (232)
- **Typical role:** Default route and internet-wide aggregates

## Example /0 networks

A /0 spans a large share of the address space, so one aligned example says it all.

| Network | Usable range | Usable hosts |
| --- | --- | --- |
| 0.0.0.0/0 | 0.0.0.1 – 255.255.255.254 | 4,294,967,294 |

## How to calculate a /0 mask

A /0 mask sets the first 0 bits of a 32-bit number to 1 and leaves the remaining 32 bits as 0. In binary that reads `00000000.00000000.00000000.00000000`, which converts to dotted decimal `0.0.0.0`. Each block covers a contiguous run of 232 = 4,294,967,296 addresses, and every block starts at a multiple of that size. The wildcard simply flips every bit, giving `255.255.255.255`.

## Where /0 is used

- Default routing: 0.0.0.0/0 is the catch-all table entry that forwards traffic no other route matches.
- ACLs and firewall rules: the wildcard mask 255.255.255.255 expresses 'match any address'.
- Documentation and diagrams that depict the entire address space as one object.
- The mathematical baseline: every other prefix is simply a subdivision of /0.

Strictly speaking, a /0 has no single network or broadcast address, yet calculators conventionally subtract two, reporting 4,294,967,294 usable hosts. Read that figure as arithmetic convention, not an operational limit.

A default route is the least specific entry possible. Longest-prefix-match guarantees that any narrower route, whether a /24 or a /32, always wins over 0.0.0.0/0.

## Frequently asked questions

**How many IP addresses are in a /0?**

Exactly 4,294,967,296, because 2^32 is the size of the whole IPv4 address space. Applying the customary minus-two convention leaves 4,294,967,294 nominally usable addresses.

**What does a 0.0.0.0 netmask mean?**

No bits identify the network, so all 32 bits are host bits. As a routing destination, 0.0.0.0/0 matches every possible address, which is why it serves as the default route.

**Can I assign a /0 to an interface?**

There is no practical reason to. Interfaces carry specific prefixes such as /24, while 0.0.0.0/0 belongs in routing tables and firewall policies as a pointer toward a next hop.

**Is 0.0.0.0/0 the same as 0.0.0.0/8?**

No. The /0 covers all 4,294,967,296 addresses; the /8 covers only the 16,777,216 addresses whose first octet is zero, a range set aside for 'this network' and unusable on the Internet.

## Open this block in a calculator

[Open the /0 block in the subnet calculator](https://itinsighthub.com/subnet-calculator/?q=0.0.0.0%2F0)

[Get the /0 wildcard mask →](https://itinsighthub.com/wildcard-mask-calculator/?q=%2F0)

### Related prefixes

[/1](https://itinsighthub.com/subnet/1/)[/24](https://itinsighthub.com/subnet/24/)[/26](https://itinsighthub.com/subnet/26/)[/28](https://itinsighthub.com/subnet/28/)[/30](https://itinsighthub.com/subnet/30/)

/1 subnet mask →

---

© 2026 ITInsightHub · [About](https://itinsighthub.com/about/) · [Contact](https://itinsighthub.com/contact/) · [Privacy](https://itinsighthub.com/privacy/)
