Skip to main content

实用工具

IP Subnet Calculator

🌐IP Subnet Calculator

e.g. 192.168.1.0

/8 to /32

🌐

Detailed Guide Coming Soon

We're working on a comprehensive educational guide for the IP Subnet Calculator in your language. The content below is shown in English.

是什么 IP Subnet Calculator?

▾

An IP subnet calculator breaks an IP address space into smaller networks. CIDR (Classless Inter-Domain Routing) notation specifies how many bits belong to the network portion — /24 means 24 bits for network, 8 bits for hosts, allowing 254 usable host addresses. Subnetting is essential for network design, router configuration, and firewall rules.

PrimeCalcPro provides professional-grade tools trusted by businesses and academics.

公式

▾
f(x)Subnet mask = n ones followed by (32−n) zeros in binary

如何 IP Subnet Calculator

▾
  1. 1IP addresses are 32-bit numbers (IPv4), written as 4 octets: e.g. 192.168.1.0
  2. 2CIDR /n means first n bits are the network address
  3. 3Subnet mask = n ones followed by (32−n) zeros in binary
  4. 4Network address = IP AND subnet mask
  5. 5Broadcast address = network address OR NOT(subnet mask)
  6. 6Usable hosts = 2^(32−n) − 2 (subtract network and broadcast addresses)

例题解析

▾
示例 1
已知:192.168.1.0/24
结果:Network: 192.168.1.0, Broadcast: 192.168.1.255, Hosts: 254

/24 gives 256 addresses, 254 usable

示例 2
已知:10.0.0.0/8
结果:Network: 10.0.0.0, Hosts: 16,777,214

Class A private range — 16 million hosts

实际应用

▾
🏗️

Academic homework and exam preparation

🔬

Engineering and architecture calculations

📊

Everyday measurement tasks around the home

Common CIDR Subnet Sizes

▾
CIDRSubnet MaskUsable HostsTypical Use
/30255.255.255.2522Point-to-point links
/29255.255.255.2486Small office
/28255.255.255.24014Small network
/27255.255.255.22430
/24255.255.255.0254Standard LAN
/16255.255.0.065,534Large campus
/8255.0.0.016,777,214ISP / Class A

常见问题

▾
Q

What is Ip Subnet?

A

An IP subnet calculator breaks an IP address space into smaller networks. CIDR (Classless Inter-Domain Routing) notation specifies how many bits belong to the network portion — /24 means 24 bits for network, 8 bits for hosts, allowing 254 usable host addresses

Q

How accurate is the Ip Subnet calculator?

A

The calculator uses the standard published formula for ip subnet. Results are accurate to the precision of the inputs you provide. For financial, medical, or legal decisions, always verify with a qualified professional.

Q

What units does the Ip Subnet calculator use?

A

This calculator works with inches. You can enter values in the units shown — the calculator handles all conversions internally.

Q

What formula does the Ip Subnet calculator use?

A

The core formula is: Subnet mask = n ones followed by (32−n) zeros in binary. Each step in the calculation is shown so you can verify the result manually.

Mathematically verified
Reviewed October 2026
Our methodology

获取每周数学提示

加入 12,000+ 订阅者,每周都会获得计算器提示。

🔒
100% 免费
无需注册
✓
准确
经过验证的公式
⚡
即时
即时结果
📱
移动友好
所有设备

设置

隐私条款关于© 2026 PrimeCalcPro