Skip to content

192.168.1.0/31
every number, and where it comes from.

Network and broadcast, first and last usable host, the mask in every notation, and the seam drawn in binary. Change the address below to calculate anything else — it recomputes in your browser, without a request.

try:
Live result · IPv4 192.168.1.0/31Private (RFC 1918)Class C · historic
Network192.168.1.0/31the name, not a host
Broadcast— nonea /31 point-to-point link — RFC 3021 removed the broadcast address
Usable hosts2of 2 total
First usable192.168.1.0every address counts
Last usable192.168.1.1every address counts
Wildcard0.0.0.1the mask, inverted
mask 255.255.255.254 hex 0xFFFFFFFE wildcard 0.0.0.1
192
11000000
octet 1
168
10101000
octet 2
1
00000001
octet 3
0
00000000
octet 4
recomputes in your browser as you type — no request, and nothing you type is logged
IPv4 + IPv6 + VLSM in one tool Mask in every form — dotted, CIDR, wildcard, binary, hex Calculating runs in your browser — what you type is never sent
PRIVATE (RFC 1918) · 2 ADDRESSES · 2 USABLE

Two addresses, both usable.

192.168.1.0/31 runs from 192.168.1.0 to 192.168.1.1: 2 usable addresses out of 2. There is no network or broadcast address to subtract: RFC 3021 removed them on point-to-point links, where there are exactly two ends and nothing to broadcast to.

The seam, in binary

bit 31 of 32
192
11000000
octet 1
168
10101000
octet 2
1
00000001
octet 3
0
00000000
octet 4
192.168.1.0/31 — the seam falls at bit 31 of 32: 31 network bits (green) leave 1 for hosts = 2 addresses, 2 usable.

The subnet

Private (RFC 1918)Class C · historic
Network192.168.1.0/31the name, not a host
Broadcast— nonea /31 point-to-point link — RFC 3021 removed the broadcast address
Usable hosts2of 2 total
First usable192.168.1.0every address counts
Last usable192.168.1.1every address counts
Wildcard0.0.0.1the mask, inverted
Private (RFC 1918): routable only inside your own network. Class C (first bits 110) is printed because exams still ask — routing has ignored classes since CIDR shipped in 1993.

The mask, in every form

same seam, five spellings
Dotted decimal255.255.255.254
CIDR/31
Wildcard (ACL)0.0.0.1
Binary11111111.11111111.11111111.11111110
Hex0xFFFFFFFE

Around this subnet

grow it · split it
◂ parent192.168.1.0/30this block and its sibling, merged
prev192.168.0.254/31the same-size block just below
next192.168.1.2/31the same-size block just above
split ×2192.168.1.0/32 · 192.168.1.1/322 × /32 — 1 usable hosts each
Shareable link
status.uptimia-dev.ovh/subnet-calculator/192.168.1.0-31

It travels only if you copy it and send it — opening it is the one thing that does reach our access log. What you type in the box never enters the address bar.

What we computed

arithmetic, not discovery
Input192.168.1.0/31 Netmask255.255.255.254 · 0xFFFFFFFE Wildcard0.0.0.1 Network192.168.1.0 Broadcastnone — a /31 point-to-point link — RFC 3021 removed the broadcast address Usable2 (192.168.1.0 – 192.168.1.1) Class · scopeC (historic) · Private (RFC 1918) Lookupsnone — this is arithmetic

Copy as text

Subnet:    192.168.1.0/31
Netmask:   255.255.255.254 = /31
Wildcard:  0.0.0.1
Network:   192.168.1.0
Broadcast: none — a /31 point-to-point link — RFC 3021 removed the broadcast address
HostMin:   192.168.1.0
HostMax:   192.168.1.1
Hosts:     2 usable of 2
Class:     C (historic) · Private (RFC 1918)
-- calculated at status.uptimia-dev.ovh/subnet-calculator
paste into a ticket — the format engineers already read
About this block
Two addresses, both usable. RFC 3021 removed the network/broadcast pair on point-to-point links, where there are exactly two ends and nothing to broadcast to.
What the mask decides

One number, four consequences.

Most calculators make you pick a page — IPv4 here, IPv6 elsewhere. Addresses stopped working like that years ago, so this one takes either.

Where the network ends

The network address and the broadcast are not configured anywhere — they fall out of the seam. All host bits zero names the block; all host bits one calls everyone in it.

network · broadcast

How many devices fit

Host bits set the size: 232−n addresses, minus the two the block spends on itself. The famous −2 — and the /31 and /32 exceptions where it does not apply.

2^(32−n) − 2

Who needs a router

Two hosts compare networks with one AND. Same result and they talk directly; different and everything goes via the gateway. A wrong mask here is why two machines on the same wire cannot see each other.

the AND test

How to grow

Every block splits into two halves, four quarters — or unequal pieces sized to real needs. That is VLSM, and it is the difference between fitting and buying more space.

split · right-size
Readout decoder

Six subnet mistakes people keep making

Much of subnetting folklore is a habit from 1993. What the numbers actually mean.

/31 on a point-to-point link

"No usable hosts"? Not since RFC 3021: on a link with exactly two ends, both addresses are usable. No network address, no broadcast, nothing wasted. The old habit says /30 and burns half of it.

→ modern gear: /31 · classic: /30
172.16.33.255 — a host?

Inside a /20, yes, and a perfectly normal one. Broadcast means all host bits set, which only the top address of the whole block has. Ending in .255 means nothing without the mask.

→ check the mask before you panic
255.0.255.0

Not a mask. Mask bits have to be contiguous — ones, then zeros, no gaps. This tool rejects it, and so does essentially all real equipment. If a config accepts it, worry.

→ contiguous or nothing
172.32.0.1 — "it's private"

It is not. RFC 1918's middle range is 172.16.0.0/12, which ends at 172.31.255.255. 172.32.x.x belongs to someone on the public internet — and one day your traffic will find them.

→ private stops at 172.31
wildcard 0.0.0.63

The mask, inverted — Cisco ACL notation, where 0 means "must match" and 1 means "don't care". Same /26 boundary, opposite spelling. We print both, and accept either as input.

→ same seam, ACL dialect
"Class C" on a 10.x network

Classes stopped mattering in 1993 when CIDR shipped. 10.0.0.0/8 is "class A" only in exam questions — what routes is the prefix length, nothing else. We print the class because interviews still ask.

→ read the /n, not the class
Common blocks

The subnets people actually look up

Worked answers for the blocks that turn up in real networks, each with a note on why it matters.

192.168.1.0/24The single most-typed subnet on earth. It is the LAN behind a large share of consumer routers, w… 192.168.0.0/24The other consumer-router default, and the reason a VPN between two homes so often fails: both e… 192.168.0.0/16The whole RFC 1918 "192.168" pool — 256 consecutive /24s. Useful as a summary route, but assigni… 192.168.1.0/25The first half of the home-router classic, and the usual first cut when a flat LAN is split — on… 192.168.1.128/25The upper half of 192.168.1.0/24. Note the network address is .128, not .0 — the seam has moved… 10.0.0.0/8The largest private block RFC 1918 defines — 16.7 million addresses. Almost nobody uses it as on… 10.0.0.0/16A typical site-sized slice of the 10/8 pool: 65,536 addresses, room for 256 /24s, and a boundary… 10.0.0.0/24The first /24 inside 10/8, and the default LAN of a good deal of virtualisation and container to… 10.10.10.0/24A lab favourite, picked because it is memorable rather than because it is free. Worth checking a… 172.16.0.0/12The RFC 1918 middle range, and the one people get wrong. It is a /12: it runs from 172.16.0.0 to… 172.16.0.0/16The first /16 of the 172.16/12 pool. Docker allocates bridge networks from this neighbourhood, w… 172.16.32.0/20A mid-octet seam, and the clearest proof that an address ending in .255 is not automatically a b… 192.168.1.1/32A single host route — the gateway address of most home networks. A /32 has no usable-hosts subtr… 0.0.0.0/0The default route. Every address matches it, which is why it is the last resort in a routing tab… 203.0.113.0/24TEST-NET-3, reserved by RFC 5737 for documentation. It never routes on the public internet, whic… 198.51.100.0/24TEST-NET-2, one of three ranges RFC 5737 set aside for documentation. Safe to put in a book, a d… 192.0.2.0/24TEST-NET-1, the original documentation range. If a config file contains it, that config was copi… 100.64.0.0/10Carrier-grade NAT space (RFC 6598). Your ISP may put your router behind it, which means the addr… 169.254.0.0/16Link-local, self-assigned when DHCP does not answer. An address here is almost never a plan — it… 127.0.0.0/8Loopback. A whole /8 — sixteen million addresses — spent on "this machine", which is generous by… 224.0.0.0/4The multicast range. These are group addresses, not host addresses: nothing is assigned one as i… 10.20.0.0/22A four-/24 block, the size an office site is often given. Big enough that variable-length subnet… 192.168.100.0/24A common default on cable modems and management interfaces, which is why it sometimes appears on… 10.1.1.0/24A widely-copied example block from vendor documentation and certification labs. Harmless in a la… 172.31.0.0/16The last /16 inside the 172.16/12 private pool — the boundary case. The next block up, 172.32.0.… 192.168.1.0/26A quarter of the home-router classic: 64 addresses, 62 usable. The size people reach for when ca… 192.168.1.0/27Thirty-two addresses, thirty usable — a common size for a small VLAN or a DHCP pool that should… 192.168.1.0/28Sixteen addresses, fourteen usable. Small enough that the −2 tax is a real 12.5% of the block.… 192.168.1.0/30Four addresses, two usable — the classic point-to-point link. Half the block is spent on the net… 192.168.1.0/31Two addresses, both usable. RFC 3021 removed the network/broadcast pair on point-to-point links,… 10.0.0.0/30A point-to-point link out of the 10/8 pool — the shape a router-to-router connection takes in mo… 10.0.0.0/31The RFC 3021 version of the same link: both addresses usable, nothing spent on a broadcast that… 255.255.255.0A /24 written the old way. The dotted netmask and the prefix length describe the same seam; the… 255.255.255.252The /30 netmask — the dotted spelling of the four-address point-to-point link.… 255.255.0.0A /16 in dotted form. Sixteen network bits, sixteen host bits, 65,534 usable addresses.… 2001:db8::/32The IPv6 documentation prefix (RFC 3849). It is the 2001:db8 you see in every example, and it ne… 2001:db8::/48A /48 is the allocation a site typically receives: 65,536 /64 LANs from one line of configuratio… 2001:db8::/56A /56 is what many ISPs delegate to a residential customer — 256 /64 LANs, enough to number a ho… 2001:db8::/64The standard IPv6 LAN. SLAAC autoconfiguration is specified around a 64-bit interface identifier… fe80::/10IPv6 link-local. Every IPv6 interface has one whether you configured it or not, and it is what n… fc00::/7Unique local addresses — IPv6's answer to RFC 1918. The intended use is fd00::/8 with a randomly… ::1/128IPv6 loopback — one single address, where IPv4 spent an entire /8 of sixteen million on the same…

Free tools are just the start.
Uptimia keeps your sites healthy.

Uptime, SSL, domain expiry, page speed, transactions — monitored from 171+ locations worldwide. Free for 30 days.

30 days free no credit card cancel anytime free plan after trial
100,000+ websites monitored · GDPR-compliant