Skip to content
cosmodev ~/tools/subnet-cidr

Máy tính Subnet / CIDR

Converters & Formatters

Tính chi tiết subnet IPv4 từ một khối CIDR - network, broadcast, dải host, netmask, wildcard, số host, lớp IP và phát hiện dải riêng. Chia một khối thành các subnet nhỏ hơn, tất cả trong trình duyệt.

Chia thành các subnet nhỏ hơn
Chi tiết

192.168.1.0

192.168.1.255

192.168.1.1

192.168.1.254

255.255.255.0

0.0.0.255

254

/24

C

Có

Đang chia 192.168.1.0/24 thành /26 cho ra 4 subnet.

192.168.1.0/26
192.168.1.64/26
192.168.1.128/26
192.168.1.192/26

(Tài liệu bằng tiếng Anh)

What it does

The Subnet / CIDR Calculator turns any IPv4 CIDR block - like 192.168.1.0/24 - into a full subnet breakdown: network address, broadcast address, first and last usable host, subnet mask, wildcard mask, host count, classful IP class, and whether the range is private (RFC 1918). It also splits a block into smaller subnets of any prefix you choose. Everything runs 100% client-side, so nothing leaves your browser.

How to use it

  1. Type a CIDR block into the CIDR block field (e.g. 10.0.0.0/8), or hit Sample.
  2. Read the result grid: network, broadcast, host range, mask, wildcard, host count, class, and private-range flag - each with its own Copy button.
  3. To divide the block, enter a larger prefix under Split into smaller subnets and review the generated child subnets.
  4. Copy share link encodes your CIDR and split prefix in the URL, so a teammate sees the exact view.

Examples

Home network

192.168.1.0/24 → Network 192.168.1.0, Broadcast 192.168.1.255, Hosts 254, Mask 255.255.255.0, Class C, Private: Yes.

Point-to-point link

10.0.0.0/31 → 2 usable hosts (first = 10.0.0.0, last = 10.0.0.1), used for router-to-router links.

Split a /24

192.168.1.0/24 split into /26 → 192.168.1.0/26, 192.168.1.64/26, 192.168.1.128/26, 192.168.1.192/26.

Good to know

  • Host counts follow the standard rules: 2^(32−prefix) − 2 for /1-/30; /31 returns 2 (point-to-point, per RFC 3021); /32 returns 1 (single host).
  • Private ranges detected: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 (RFC 1918).
  • Normalization: a host IP like 192.168.1.5/24 is masked to its network 192.168.1.0/24 before splitting.
  • Shareable: the CIDR and split prefix live in the URL (?cidr=…&split=…).
  • Related tools: Data Unit Converter, Number Base Converter.
Mã nguồn14 ngôn ngữ

100% phía client · dữ liệu của bạn không bao giờ rời khỏi trình duyệt. Thấy hữu ích? Chia sẻ với đồng nghiệp của bạn.