All tools
NETWORK PLANNING / LOCAL CALCULATION / DUAL STACK

Know the whole range,
not just the slash.

Turn IPv4 or IPv6 CIDR notation into exact boundaries, counts, binary prefix evidence, membership answers, and a child-subnet plan. Every calculation stays in this browser.

IPv4 + IPv6 No requests JSON export
TRY AN EXAMPLE
v4
CANONICAL NETWORK

192.0.2.0/27

Documentation IPv4 · Reserved for examples and documentation

The entered address contains host bits. The enclosing network is 192.0.2.0/27; the original address was preserved in the report.

Prefix length/27

5 host bits

Total addresses32

2^5 exact addresses

First address192.0.2.0
Last address192.0.2.31
01

Range boundaries

Input address
192.0.2.17
Network CIDR
192.0.2.0/27
Range start
192.0.2.0
Range end
192.0.2.31
Subnet mask
255.255.255.224
Wildcard mask
0.0.0.31
Broadcast
192.0.2.31
First usable
192.0.2.1
Last usable
192.0.2.30
Usable convention
30
02

Prefix in bits

Network Host
11000000
00000000
00000010
00010001

The first 27 bits identify the network. The remaining 5bits select an address inside it. Prefix math is exact even when the boundary falls mid-octet.

03

Address membership

Enter one address of the same IP version for an exact containment test.

04

Child subnet planner

CHILD NETWORKS32
ADDRESSES EACH1
NEW PREFIX/32
SUBNET MANIFEST
#Child CIDRFirst addressLast address
0192.0.2.0/32192.0.2.0192.0.2.0
1192.0.2.1/32192.0.2.1192.0.2.1
2192.0.2.2/32192.0.2.2192.0.2.2
3192.0.2.3/32192.0.2.3192.0.2.3
4192.0.2.4/32192.0.2.4192.0.2.4
5192.0.2.5/32192.0.2.5192.0.2.5
6192.0.2.6/32192.0.2.6192.0.2.6
7192.0.2.7/32192.0.2.7192.0.2.7
8192.0.2.8/32192.0.2.8192.0.2.8
9192.0.2.9/32192.0.2.9192.0.2.9
10192.0.2.10/32192.0.2.10192.0.2.10
11192.0.2.11/32192.0.2.11192.0.2.11
12192.0.2.12/32192.0.2.12192.0.2.12
13192.0.2.13/32192.0.2.13192.0.2.13
14192.0.2.14/32192.0.2.14192.0.2.14
15192.0.2.15/32192.0.2.15192.0.2.15
16192.0.2.16/32192.0.2.16192.0.2.16
17192.0.2.17/32192.0.2.17192.0.2.17
18192.0.2.18/32192.0.2.18192.0.2.18
19192.0.2.19/32192.0.2.19192.0.2.19
20192.0.2.20/32192.0.2.20192.0.2.20
21192.0.2.21/32192.0.2.21192.0.2.21
22192.0.2.22/32192.0.2.22192.0.2.22
23192.0.2.23/32192.0.2.23192.0.2.23
31192.0.2.31/32192.0.2.31192.0.2.31

Previewing the first 24 and final subnet; 7 rows omitted.

A prefix is a boundary in bits.

Classless Inter-Domain Routing writes an address followed by the number of leading network bits. In 192.0.2.17/27, 27 bits identify the network and five bits remain for addresses. Clearing those host bits produces 192.0.2.0; setting them produces 192.0.2.31. The same operation scales to all 128 IPv6 bits.

NETWORKaddress AND prefix mask
LASTnetwork OR host mask
COUNT2 ^ host bits

“Usable” depends on how the range is used.

The familiar host convention reserves the all-zero network address and all-one broadcast address. That makes a typical subnet’s conventional usable count two smaller than its total. Two important exceptions are shown explicitly: a /32 identifies one address, while RFC 3021 permits both addresses in a /31 on a point-to-point link. This calculator never subtracts those endpoints from the exact total.

/321 total

A single IPv4 address or host route.

/312 total

Both can be endpoints on an RFC 3021 point-to-point link.

/304 total

Two conventional host addresses plus network and broadcast.

No broadcast, much more address space.

IPv6 uses multicast instead of broadcast, so its first and last values are range boundaries—not reserved broadcast endpoints. Compressed output follows the familiar canonical rules: lowercase hexadecimal, suppressed leading zeroes, and one compressed longest run of zero groups. Expanded values remain available when fixed-width evidence is easier to audit.

Use ranges to investigate ownership, not to hide causality.

CIDR ranges appear in provider allowlists, firewall rules, routing announcements, reputation datasets, and log searches. For email, a range can help group adjacent sending IPs or verify that a callback source falls inside a published provider block. Deliverability decisions still belong at the narrowest observable level: a poor result on one IP does not prove that every address in a broad allocation behaves the same way.

ALLOWLIST REVIEW

Confirm whether a source is actually inside a vendor’s documented range before changing controls.

LOG INVESTIGATION

Turn an incident IP into a precise enclosing block, then preserve the original address as evidence.

POOL PLANNING

Split an allocation into explicit child networks for environments, tenants, or sending pools.

CIDR calculator FAQ.

Does a /24 always mean 256 addresses?+

Yes for either IP family when the prefix leaves eight host bits. An IPv4 /24 has 256 total addresses; an IPv6 /120 also has 256. Conventional IPv4 host usability is a separate question.

Why did my network address change?+

The address before the slash can be any member of the block. A canonical CIDR clears every host bit. The warning preserves that distinction instead of silently implying the input was already the network identifier.

Can I paste an IPv6 zone identifier such as %eth0?+

No. A zone identifier describes a local interface context and is not part of a portable CIDR prefix. Remove it before calculating.

Is every address in a subnet usable?+

Not under every protocol or deployment convention. The calculator reports exact mathematical boundaries, labels familiar IPv4 host conventions, and avoids inventing reserved IPv6 broadcast addresses.

Does being in the same CIDR mean two senders share reputation?+

Not necessarily. Network adjacency can help investigation, but reputation systems can evaluate IPs, domains, authentication, traffic, engagement, and time windows at different granularities.

FROM RANGE TO REPUTATION

Operate email with the evidence attached.

Manage sending domains, authentication, transactional streams, audiences, and campaigns in one workspace.

Start for free