NetworkAI
  • MonitoringCertificate & Domain MonitorDaily checks of TLS certificates, domain registration and DNS, with alerts when a renewal fails.
  • AssessmentSecurity AssessmentA passive security report for a domain you own: TLS, DNS, email authentication, headers and registration.
أدوات مجانية
ابدأ من هنافحص صحة النطاقشهادة SSL وDNS وتوثيق البريد وترويسات الأمان وتاريخ الانتهاء في تقرير واحد بدرجة.أجرِ فحص الصحة →
النطاق
  • فاحص انتهاء النطاقات لعدة نطاقات
  • استعلام RDAP عن النطاقات
  • استعلام WHOIS
SSL / TLS
  • فاحص شهادات SSL
  • فاحص انتهاء SSL لعدة نطاقات
  • حاسبة مدة صلاحية الشهادات (47 يومًا)
  • جاهزية مدة صلاحية الشهادة
  • فاحص TLS ما بعد الكم
DNS
  • استعلام DNS
  • استعلام MX
  • فاحص سجلات CAA
  • فاحص انتشار DNS
  • استعلام سجلات TXT
  • استعلام NS
  • استعلام CNAME
  • استعلام DNS العكسي
توثيق البريد الإلكتروني
  • فاحص سجلات SPF
  • مولّد سجلات SPF
  • فاحص سجلات DMARC
  • مولّد سجلات DMARC
  • فاحص سجلات DKIM
  • فاحص متطلبات المرسلين
أمان المواقع
  • فاحص ترويسات الأمان
الشبكة وIP
  • ما هو عنوان IP الخاص بي
  • حاسبة الشبكات الفرعية
كل الأدوات المجانية →
الأسعارالتوثيقالأدلة
Log inابدأ مجانًا
  • MonitoringCertificate & Domain MonitorDaily checks of TLS certificates, domain registration and DNS, with alerts when a renewal fails.
  • AssessmentSecurity AssessmentA passive security report for a domain you own: TLS, DNS, email authentication, headers and registration.
أدوات مجانية
ابدأ من هنافحص صحة النطاق
النطاق
  • فاحص انتهاء النطاقات لعدة نطاقات
  • استعلام RDAP عن النطاقات
  • استعلام WHOIS
SSL / TLS
  • فاحص شهادات SSL
  • فاحص انتهاء SSL لعدة نطاقات
  • حاسبة مدة صلاحية الشهادات (47 يومًا)
  • جاهزية مدة صلاحية الشهادة
  • فاحص TLS ما بعد الكم
DNS
  • استعلام DNS
  • استعلام MX
  • فاحص سجلات CAA
  • فاحص انتشار DNS
  • استعلام سجلات TXT
  • استعلام NS
  • استعلام CNAME
  • استعلام DNS العكسي
توثيق البريد الإلكتروني
  • فاحص سجلات SPF
  • مولّد سجلات SPF
  • فاحص سجلات DMARC
  • مولّد سجلات DMARC
  • فاحص سجلات DKIM
  • فاحص متطلبات المرسلين
أمان المواقع
  • فاحص ترويسات الأمان
الشبكة وIP
  • ما هو عنوان IP الخاص بي
  • حاسبة الشبكات الفرعية
كل الأدوات المجانية →
الأسعارالتوثيقالأدلة
ابدأ مجانًاLog in
  1. الرئيسية
  2. /أدوات مجانية
  3. /الشبكة وIP
  4. /حاسبة الشبكات الفرعية

لم تُترجم هذه الصفحة بعد، لذلك تُعرض بالإنجليزية.

تعمل داخل متصفحك · لا يُرفع أي شيء

Subnet Calculator

Type an IP address with a CIDR prefix or a subnet mask to get the network address, broadcast address, usable host range, host count, subnet mask and wildcard mask — for IPv4 and IPv6, calculated in your browser.

For example 192.168.10.0/24, 10.0.0.5 255.255.240.0 or 2001:db8::/48.

192.168.10.0/24

IPv4Private (RFC 1918)
Address
192.168.10.0
Network address
192.168.10.0
Broadcast address
192.168.10.255
Subnet mask
255.255.255.0 (/24)
Wildcard mask
0.0.0.255
First usable
192.168.10.1
Last usable
192.168.10.254
Usable hosts
254
Total addresses
256
Class
C
Mask in binary
11111111.11111111.11111111.00000000
Reverse DNS zone
0.10.168.192.in-addr.arpa

What is a subnet calculator?

A subnet calculator works out the boundaries of an IP network from an address and its prefix length (CIDR notation such as /24) or subnet mask. It shows where the network starts and ends, which addresses hosts can use, how many there are, and how to split the range into smaller subnets.

How to use the IP subnet calculator

  • Enter an address with a prefix: 192.168.10.0/24, 10.20.30.40/20 or 2001:db8:abcd::/48.
  • Or with a dotted mask: 172.16.5.4 255.255.252.0. The mask must be contiguous (all ones, then all zeros).
  • Any address inside the network works — 192.168.10.77/24 gives the same network as 192.168.10.0/24.
  • Pick a longer prefix under Split into smaller subnets to list the equal-sized subnets that fit.

Nothing you type leaves your browser: the calculation is plain arithmetic in JavaScript. That makes it safe to use with internal address plans.

IPv4 subnet cheat sheet

CIDRSubnet maskWildcardAddressesUsable hosts
/8255.0.0.00.255.255.25516,777,21616,777,214
/16255.255.0.00.0.255.25565,53665,534
/20255.255.240.00.0.15.2554,0964,094
/22255.255.252.00.0.3.2551,0241,022
/24255.255.255.00.0.0.255256254
/26255.255.255.1920.0.0.636462
/27255.255.255.2240.0.0.313230
/28255.255.255.2400.0.0.151614
/29255.255.255.2480.0.0.786
/30255.255.255.2520.0.0.342
/31255.255.255.2540.0.0.122 (point-to-point, RFC 3021)
/32255.255.255.2550.0.0.011 (a single host)

Usable hosts are the total minus two: the first address names the network and the last is the broadcast address. The exceptions are /31, used on point-to-point links where both addresses are usable, and /32, a single host route.

How subnetting works

An IPv4 address is 32 bits. The prefix length says how many leading bits identify the network; the remaining bits number the hosts. In 192.168.10.77/24, the first 24 bits (192.168.10) are the network and the last 8 bits leave 256 addresses. The subnet mask is the same idea written as an address — 24 one-bits then 8 zero-bits is 255.255.255.0.

Network address = the address with every host bit set to 0. Broadcast address = every host bit set to 1. The wildcard mask is the inverse of the subnet mask; Cisco ACLs and OSPF statements use it instead of the mask.

Binary view
Address    192.168.10.77   11000000.10101000.00001010.01001101
Mask /24   255.255.255.0   11111111.11111111.11111111.00000000
Network    192.168.10.0    11000000.10101000.00001010.00000000
Broadcast  192.168.10.255  11000000.10101000.00001010.11111111

Each extra prefix bit halves the network: a /24 splits into two /25s, four /26s or eight /27s. The split list shows each one with its first and last usable address.

IPv6 subnetting

IPv6 addresses are 128 bits, so the numbers get large: a single /64 holds 18,446,744,073,709,551,616 addresses. In practice nobody counts hosts. Every LAN is a /64 (SLAAC needs it), a site typically gets a /48 or /56 from its provider, and planning is about how many /64 networks fit — 65,536 in a /48, 256 in a /56.

  • IPv6 has no broadcast address; the calculator shows the first and last address of the prefix instead.
  • fc00::/7 is unique local (the IPv6 equivalent of private ranges), fe80::/10 is link-local, and 2001:db8::/32 is reserved for documentation.
  • Addresses are shown in RFC 5952 short form and fully expanded.

Private, public and special IPv4 ranges

RangeUse
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16Private networks (RFC 1918) — not routed on the internet
100.64.0.0/10Carrier-grade NAT (shared address space)
169.254.0.0/16Link-local — a device that failed to get an address from DHCP
127.0.0.0/8Loopback (this machine)
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24Documentation examples
Want to know which public address your network uses on the internet? See What Is My IP. To check the name behind an address, use the reverse DNS lookup.

الأسئلة الشائعة

How many usable hosts are in a /24?

+

254. A /24 has 256 addresses; the first is the network address and the last is the broadcast address, so 254 can be given to hosts. The general formula is 2 to the power of (32 minus the prefix), minus 2.

What is the subnet mask for /27?

+

255.255.255.224. A /27 has 27 network bits, which leaves 5 host bits: 32 addresses, of which 30 are usable hosts. The wildcard mask, used in Cisco access lists and OSPF, is 0.0.0.31.

What is a wildcard mask?

+

The bitwise inverse of the subnet mask: 0 where the mask has 1 and the other way round. For 255.255.255.0 it is 0.0.0.255. Cisco access lists and OSPF network statements use wildcard masks to say which bits must match.

Can a /31 subnet have hosts?

+

Yes. RFC 3021 allows /31 networks on point-to-point links, where both addresses are usable because a two-host link needs neither a network nor a broadcast address. Most routers support it, and it saves half the addresses of a /30.

Why is every IPv6 LAN a /64?

+

Stateless address autoconfiguration (SLAAC) builds a host's address from a 64-bit network prefix and a 64-bit interface identifier, so it only works on /64 networks. Using any other size on a LAN breaks SLAAC and some other IPv6 features.

Does this subnet calculator send my IP addresses anywhere?

+

No. The calculation runs entirely in your browser, so internal address plans never leave your machine. We only count that the tool was used, never what you typed, so private ranges and VPN plans stay private.

Is 255.255.0.0 a subnet mask?

+

Yes. 255.255.0.0 is the mask for a /16 network: the first 16 bits are the network part and the last 16 are for hosts, which gives 65,536 addresses and 65,534 usable hosts. It was the default mask of the old Class B networks and is still common for large private ranges such as 172.16.0.0/16.

أدوات ذات صلة

كل أدوات الشبكة وIP →
  • ما هو عنوان IP الخاص بي

    عنوان IPv4 العام واسم DNS العكسي والشبكة (ASN) والدولة مع زر للنسخ.

  • استعلام DNS العكسي

    اسم PTR لعنوان IPv4 أو IPv6 وهل يعود إلى العنوان نفسه.

  • استعلام DNS

    سجلات A وAAAA وCNAME وMX وNS وTXT وCAA وSOA في عرض واحد.

كتبه ويحدّثه فريق NetworkAI، وقد بناه مهندس أمن شبكات ممارس · آخر تحديث: 5 نوفمبر 2026

NetworkAI

تنبيهات فشل التجديد لشهادات TLS وتسجيلات النطاقات.

المنتج

  • مراقب الشهادات
  • الأسعار
  • تسجيل الدخول
  • ابدأ مجانًا

أدوات مجانية

  • فحص صحة النطاق
  • فاحص شهادات SSL
  • فاحص سجلات SPF
  • فاحص سجلات DMARC
  • فاحص ترويسات الأمان
  • استعلام DNS
  • كل الأدوات المجانية →

فئات الأدوات

  • النطاق
  • SSL / TLS
  • DNS
  • توثيق البريد الإلكتروني
  • أمان المواقع
  • الشبكة وIP

الموارد

  • التوثيق
  • تنبيهات Slack وWebhook
  • الأدلة
  • كل المقارنات
  • NetworkAI مقابل UptimeRobot
© 2026 NetworkAI · من تطوير مهندس أمن شبكات
الخصوصيةالشروط
EnglishEspañolDeutsch