Skip to main content

คณิตศาสตร์

Subnet Calculator

IP Subnet Calculator

/
🌐

Detailed Guide Coming Soon

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

คืออะไร Subnet Calculator?

▾

An IP subnet calculator finds network address, broadcast address, usable host range, wildcard mask, and number of hosts from an IP/CIDR input like 192.168.1.0/24.

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

สูตร

▾
f(x)Network address = IP AND subnet mask; Host count = 2^(32−prefix)−2; CIDR = /24 means /24 prefix bits

คำอธิบายตัวแปร

▾
สัญลักษณ์ชื่อหน่วยคำอธิบาย
IPIP addressIPv4 dotted decimal—
SMSubnet maskdotted decimal or /prefix—
nNumber of usable hosts——

วิธี Subnet Calculator

▾
  1. 1CIDR /n: first n bits = network; remaining bits = host addresses
  2. 2Network address: all host bits set to 0
  3. 3Broadcast: all host bits set to 1
  4. 4Usable hosts = 2^(32−n) − 2

ตัวอย่างที่มีคำตอบ

▾
ตัวอย่าง 1
กำหนดให้:10.0.0.0/8
ผลลัพธ์:Network: 10.0.0.0; Broadcast: 10.255.255.255; Hosts: 10.0.0.1–10.255.255.254 (16,777,214 hosts)

การประยุกต์ใช้จริง

▾
🏗️

Network administration and planning

🔬

IP addressing schemes

📊

VLAN and network segmentation

🏥

Network security and access control

Common Subnet Sizes

▾
CIDRHosts usableSubnet maskUse case
/302255.255.255.252Point-to-point links
/296255.255.255.248Small office
/24254255.255.255.0Standard LAN
/1665,534255.255.0.0Large network
/816.7M255.0.0.0Class A network

คำถามที่พบบ่อย

▾
Q

What's a subnet mask?

A

Defines network portion of IP (mask 1s) and host portion (mask 0s). /24 = 255.255.255.0.

Q

How many hosts in /24 subnet?

A

2^(32−24)−2 = 2^8−2 = 256−2 = 254 usable addresses (network & broadcast reserved).

Q

What's CIDR notation?

A

/24 means first 24 bits are network. Shorthand for subnet mask. 192.168.1.0/24 is cleaner than /255.255.255.0.

เอกสารอ้างอิง

Mathematically verified
Reviewed October 2026
Our methodology

รับเคล็ดลับคณิตศาสตร์รายสัปดาห์

เข้าร่วมกับสมาชิก 12,000+ รายที่ได้รับเคล็ดลับเครื่องคิดเลขทุกสัปดาห์

🔒
ฟรี 100%
ไม่ต้องสมัครสมาชิก
✓
แม่นยำ
สูตรที่ยืนยันแล้ว
⚡
ทันที
ผลลัพธ์ขณะพิมพ์
📱
รองรับมือถือ
ทุกอุปกรณ์

การตั้งค่า