What Is a Subnet? Formula, CIDR Chart & Calculation Examples [2026]
What is a subnet? Learn IPv4 subnetting formulas, CIDR notation (/24 to /30), bitwise AND math, broadcast addresses, and usable host calculation with diagrams.
Loading network utility...
Fast, reliable network utilities by Lots of Network (LotsofNetwork) for developers, IT professionals, and system administrators. Diagnostic tools designed for clean, immediate results.
✓ DNS Resolved: 8 Records (A, AAAA, MX, TXT, NS)
✓ IP Diagnostic: IPv4 Routing & Autonomous System Verified
✓ TCP Port Check: Ports 80, 443 OPEN (0.84ms latency)
✓ Subnet Math: IPv4 /24 CIDR (254 Usable Hosts Calculated)
Essential high-speed utilities designed for IP detection, DNS propagation, CIDR subnetting, open port scans, and TLS certificates.
Detect your public IP address, explore geolocation, ISP, ASN, reverse DNS (PTR), and network details instantly.
Resolve any IPv4 or IPv6 address to its assigned PTR hostname and verify Forward-Confirmed Reverse DNS (FCrDNS).
Query DNS records (A, AAAA, MX, CNAME, TXT, NS, SOA, CAA, PTR) with reported TTL and response times.
Retrieve domain registration details, registrar, creation/expiration dates, nameservers, and status via RDAP & WHOIS.
Calculate IPv4 CIDR blocks, subnet masks, wildcard masks, network & broadcast addresses, and usable host ranges.
Convert any CIDR prefix notation to its complete IPv4 start/end range, or convert an IP range back to minimal CIDR blocks.
Verify SSL/TLS certificate validity, expiration date countdown, issuing CA, SAN hostnames, and TLS protocol security.
Test TCP port connectivity on any public IP or domain name. Verify firewall configuration and open services safely.
Trace HTTP 301/302 redirect chains, inspect response headers, measure TTFB latency, and audit security headers (HSTS, CSP).
Identify the vendor and hardware manufacturer of any network MAC address using the IEEE Organizationally Unique Identifier (OUI) registry.
Convert Internationalized Domain Names (Unicode) to DNS-compatible ASCII (xn--) and back. Detect IDN homograph phishing attacks and mixed character scripts.
High-speed, 100% in-browser utilities for API requests, time manipulation, cryptographic identifiers, and data encoding with zero server latency.
Beautify, validate, minify, and inspect JSON payloads with an interactive collapsible tree view, syntax error detection, and custom indentation.
Encode and decode text, files, and images to and from Base64. Features URL-safe encoding, live image preview, Data URI generators, and instant local processing.
Convert Unix Epoch timestamps (seconds/ms) to human dates, compare global server timezones (UTC, BDT, UK, New York, Tokyo), and calculate live timezone offsets.
Generate cryptographically secure UUID v4 and modern time-sortable UUID v7 (RFC 9562) identifiers. Bulk generator with format customization and timestamp decoder.
Convert cURL terminal commands into production-ready code in JavaScript (fetch), Node.js (axios), Python (requests & httpx), Go (net/http), PHP, and Rust (reqwest).
Interactive visual Linux file permissions calculator. Convert octal (755, 644, 700), symbolic (-rwxr-xr-x), SUID, SGID, and Sticky bits into ready-to-run terminal commands.
Engineered from the ground up for speed, accuracy, and zero friction.
Native Node.js execution with sub-second response times. No waiting in queue or third-party redirects.
All diagnostic and developer tools are completely free to use directly from your web browser with unlimited queries.
No login walls, email captures, or signups. Open the tool and get your network diagnostics immediately.
Strict RFC 1918 security filters prevent internal network probing and protect enterprise infrastructure.
Three quick steps to diagnose your network.
Select IP Lookup, DNS Resolver, Subnet Calculator, Port Checker, or WHOIS Lookup.
Provide a target domain name, IPv4 address, port number, or CIDR network prefix.
View formatted records, bitwise calculations, or connection status with one-click copy.
In-depth articles on subnetting, DNS troubleshooting, cURL conversion, and network architecture.
What is a subnet? Learn IPv4 subnetting formulas, CIDR notation (/24 to /30), bitwise AND math, broadcast addresses, and usable host calculation with diagrams.
Learn how to check open TCP ports using terminal commands (Netcat, PowerShell, lsof) and free online port scanners. Verify firewall and open port security.
What is DNS (Domain Name System)? Learn how DNS lookup works in 4 stages: Recursive Resolver, Root Server, TLD Server, and Authoritative Nameserver.
A complete technical guide to the most important DNS record types, their syntax, TTL settings, and practical configuration examples.
What is CIDR (Classless Inter-Domain Routing)? Learn what slash notation (/24, /28, /32) means, how CIDR replaced classful IP blocks, and CIDR math.
Explore how IP addresses route packets across the global internet, the role of routers and NAT, and how packets reach their destination.
IPv4 vs IPv6: Understand the critical architectural differences, address exhaustion, packet header structures, security (IPSec), and speed benchmarks.
Understand reverse DNS lookups, pointer (PTR) records, in-addr.arpa zones, and why rDNS is mandatory for email deliverability and server security.
Understand Autonomous Systems (AS), Border Gateway Protocol (BGP), 16-bit vs 32-bit ASNs, and how the global internet routes traffic between ISPs.
Learn why DNS changes take time to propagate worldwide, how TTL caching governs propagation, and how to verify DNS updates across global locations.
Free IPv4 Subnet Mask Cheat Sheet: Instant lookup for /8 to /32 CIDR prefixes, dotted-decimal subnet masks, wildcard masks, usable hosts, and network use cases.
Learn how to calculate subnet masks, network IDs, and broadcast addresses by hand without a calculator using the fast Magic Number method. With examples.
Comprehensive cheat sheet of standard TCP and UDP port numbers. Includes HTTP 80, HTTPS 443, SSH 22, DNS 53, RDP 3389, and database ports.
Learn how to test if a TCP port is open on remote servers and local firewalls using Windows Command Prompt, PowerShell Test-NetConnection, Netcat, and online tools.
Find the fastest free public DNS servers. Compare Cloudflare 1.1.1.1, Google 8.8.8.8, Quad9 9.9.9.9, and OpenDNS for latency, gaming, and privacy.
Step-by-step troubleshooting guide to resolve 'DNS Server Not Responding' errors on Windows, Mac, and home routers. Flush DNS, change resolvers, and restore connectivity.
Understand the difference between public WAN and private LAN IP addresses (RFC 1918) and learn how to find both on Windows, Mac, iPhone, Android, and Linux.
Learn what CIDR (Classless Inter-Domain Routing) notation means, how to read /24, /16, and /8 prefix lengths, and how to calculate IP ranges and subnet sizes.
Comprehensive guide to finding domain owners, registrars, expiration dates, EPP status codes, and nameservers using WHOIS and modern RDAP protocols.
Learn what TCP port 443 is, why HTTPS uses port 443 instead of port 80, how TLS encryption works, and how to verify your server's port 443 is open and accessible.
Learn how VPNs change your public IP address, what your traffic looks like to websites when using a VPN, and how to verify your VPN is working with an IP lookup tool.
Understand the key differences between HTTP and HTTPS, how TLS encryption protects users, why Google ranks HTTPS sites higher, and how to migrate from HTTP to HTTPS.
A practical, engineer-tested guide to computer network architectures: how PAN, LAN, WLAN, MAN, WAN, and SAN differ in range, latency, hardware, and real-world deployment.
Step-by-step guide to testing SSL/TLS certificates, understanding root and intermediate trust chains, certificate expiration warnings, and TLS 1.3 ciphers.
Learn how HTTP 301 and 302 redirects affect SEO and page speed, how to eliminate redirect loops, and how to deploy HSTS, CSP, and X-Frame-Options headers.
Comprehensive explanation of 48-bit MAC addresses, IEEE Organizationally Unique Identifiers (OUIs), Unicast vs. Multicast framing, and Wi-Fi MAC randomization.
Learn how Reverse DNS (rDNS) works, why PTR records are mandatory for email deliverability on Gmail and Outlook, and how to pass Forward-Confirmed Reverse DNS (FCrDNS).
Master IPv4 CIDR conversion: calculate network addresses, broadcast boundaries, usable host ranges, and decompose arbitrary IP blocks into minimal CIDR prefixes.
Master JSON data structures, standard RFC 8259 specifications, trailing comma errors, pretty-printing vs minification, and interactive tree debugging for developers.
Complete guide to Base64 encoding: 6-bit radix conversion, the 33% size overhead formula, standard vs URL-safe RFC 4648, and embedding images as Data URIs.
A complete engineer's guide to Unix epoch timestamps, the January 1 1970 origin, the Year 2038 problem, Daylight Saving Time complexities, and converting timezones like BDT to UK time accurately.
An in-depth engineering analysis comparing UUID v7 (RFC 9562) with UUID v4, B-tree index fragmentation, disk write amplification in PostgreSQL and MySQL, and migration patterns.
A complete engineer's guide to translating cURL terminal commands into production-grade Python requests, JavaScript fetch, and Go net/http code with proper error handling.
Deep dive into Unix and Linux file permissions, octal math (755, 644, 700), symbolic notation, SUID/SGID, sticky bits, and security best practices for sysadmins and developers.
Comprehensive technical analysis of Internationalized Domain Names (IDN), RFC 3492 Punycode algorithms, ACE prefix (xn--), and detecting homograph phishing attacks.
Comprehensive network engineering guide to IPv6 addressing, RFC 5952 canonical compression, /64 subnetting rules, SLAAC EUI-64, and ip6.arpa reverse DNS.
Complete technical guide to HTTP User-Agent strings, browser engine detection, the transition to User-Agent Client Hints (Sec-CH-UA), and privacy protections.