Skip to main content
SiteIndex
开发者可以使用

IPv4 子网计算器

Calculate an IPv4 subnet's network, broadcast, mask, host range, usable host count, and binary representation locally in your browser.

使用指南

交互式工具区

无需注册账号

IPv4 subnet calculator

Core processing uses browser APIs and locally loaded libraries, not an upload endpoint. Optional analytics and device or clipboard access are separate privacy considerations. Use synthetic data; browser processing is not a guarantee of confidentiality.

Calculations run in this browser. IPv4 CIDR uses a prefix length from /0 to /32. A /31 has two usable addresses for point-to-point links; a /32 identifies one host route.

IPv4 CIDR reference table
CIDRSubnet maskWildcard maskTotal IPsUsable hostsTypical use
/00.0.0.0255.255.255.2554,294,967,2964,294,967,294General subnetting
/1128.0.0.0127.255.255.2552,147,483,6482,147,483,646General subnetting
/2192.0.0.063.255.255.2551,073,741,8241,073,741,822General subnetting
/3224.0.0.031.255.255.255536,870,912536,870,910General subnetting
/4240.0.0.015.255.255.255268,435,456268,435,454General subnetting
/5248.0.0.07.255.255.255134,217,728134,217,726General subnetting
/6252.0.0.03.255.255.25567,108,86467,108,862General subnetting
/7254.0.0.01.255.255.25533,554,43233,554,430General subnetting
/8255.0.0.00.255.255.25516,777,21616,777,214Private network (RFC 1918)
/9255.128.0.00.127.255.2558,388,6088,388,606General subnetting
/10255.192.0.00.63.255.2554,194,3044,194,302General subnetting
/11255.224.0.00.31.255.2552,097,1522,097,150General subnetting
/12255.240.0.00.15.255.2551,048,5761,048,574Private network (RFC 1918)
/13255.248.0.00.7.255.255524,288524,286General subnetting
/14255.252.0.00.3.255.255262,144262,142General subnetting
/15255.254.0.00.1.255.255131,072131,070General subnetting
/16255.255.0.00.0.255.25565,53665,534Private network / large LAN
/17255.255.128.00.0.127.25532,76832,766General subnetting
/18255.255.192.00.0.63.25516,38416,382General subnetting
/19255.255.224.00.0.31.2558,1928,190General subnetting
/20255.255.240.00.0.15.2554,0964,094General subnetting
/21255.255.248.00.0.7.2552,0482,046General subnetting
/22255.255.252.00.0.3.2551,0241,022General subnetting
/23255.255.254.00.0.1.255512510General subnetting
/24255.255.255.00.0.0.255256254Small LAN
/25255.255.255.1280.0.0.127128126General subnetting
/26255.255.255.1920.0.0.636462General subnetting
/27255.255.255.2240.0.0.313230General subnetting
/28255.255.255.2400.0.0.151614AWS subnet minimum (IPv4)
/29255.255.255.2480.0.0.786General subnetting
/30255.255.255.2520.0.0.342Legacy point-to-point
/31255.255.255.2540.0.0.122RFC 3021 point-to-point
/32255.255.255.2550.0.0.011Single host route

RFC 1918 private IPv4 ranges

RangeAddress spanTypical use
10.0.0.0/810.0.0.0–10.255.255.255Large private networks
172.16.0.0/12172.16.0.0–172.31.255.255Private networks
192.168.0.0/16192.168.0.0–192.168.255.255Home and small-office LANs

Private ranges are not publicly routable. This tool calculates address ranges; it does not check whether a subnet is available on your network.

子网计算器是什么?

在浏览器本地计算 IPv4 子网的网络地址、广播地址、掩码、主机范围、可用主机数和二进制表示。

工作原理

在浏览器本地计算 IPv4 子网的网络地址、广播地址、掩码、主机范围、可用主机数和二进制表示。

常见用途

在浏览器本地计算 IPv4 子网的网络地址、广播地址、掩码、主机范围、可用主机数和二进制表示。

使用限制

结果可能因浏览器、网络、输入内容和外部服务而异。本工具仅供参考,不能替代专业诊断或建议。

常见问题
子网计算器是什么?
在浏览器本地计算 IPv4 子网的网络地址、广播地址、掩码、主机范围、可用主机数和二进制表示。

相关工具