Kalkmi Online calculators
en
English

IPv4 Subnet Calculator

Inspect IPv4 networks and plan aligned, nonoverlapping subnets for different host requirements. See exact address counts, /31 links, /32 routes and remaining CIDR blocks.

Inspect an IPv4 network, or fit networks with different host requirements into one parent block.

Network containing your address

192.168.10.0/24

Address block: 192.168.10.0 – 192.168.10.255

Total addresses
256
LAN host slots
254
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255

Host range: 192.168.10.1 – 192.168.10.254

Directed broadcast: 192.168.10.255

LAN convention: two addresses are reserved. Special-purpose ranges and provider reservations may reduce availability.

The entered IPv4 address stays the same. Changing the prefix changes the containing network.

24 network bits · 8 host bits

How the subnet plan works

The prefix counts network bits in a 32-bit IPv4 address. A /24 leaves 8 host bits: 2⁸ = 256 addresses. For a conventional LAN, subtract the network and directed broadcast addresses to get 254 host slots.

VLSM assigns the smallest power-of-two block that fits each requirement. It places larger blocks first, preserving your order for equal sizes, and aligns each block within the parent. If all requirements cannot fit, no partial plan is presented.

Why /31 and /32 are different

RFC 3021 permits both addresses of a /31 on a point-to-point link. It does not make a /31 a general-purpose LAN; both ends must support this convention. There is no directed broadcast. A /32 identifies one address, commonly used as a host route, with no directed broadcast.

Input and scope

Use four decimal octets from 0 to 255, without leading zeroes, and a prefix from /0 to /32 or a contiguous dotted subnet mask. This tool supports IPv4 only. Host requirements are positive whole numbers; properly grouped English commas are accepted. LANs use at least /30, /31 links require exactly two endpoints, and /32 routes require exactly one address. Up to 64 networks can be planned.

Counts describe address conventions. Private, documentation, multicast, unspecified, loopback, broadcast and other special-purpose addresses are not all globally assignable. CSV exports prefix formula-like names with “Text: ” to keep them as text. Cloud providers may reserve additional addresses. Check your environment before applying the plan. The calculator does not configure or scan a network.

Standards: RFC 4632: CIDR, RFC 3021: /31 point-to-point links, RFC 1878: IPv4 mask table.

Was this calculation useful?
It takes one second and helps others choose a useful calculator.

Help improve Kalkmi Report an issue or request a useful calculator.
Suggest a calculator
Text copied
Removal error
Restore error
Calculator published
Calculator unpublished
Feedback sent
Done
Error
Author received:++
Calculator removed
Install as an app

Open the browser menu and choose “Add to Home Screen” or “Install app”.