Ko-fiSupport

Quick overview

Use Subnet Calculator to run practical calculations quickly and make decisions with clear, easy-to-read results.

Ccna subnetting practiceIpv4 subnet calculatorCalculate network and broadcast addressesCidr subnetting for it professionalsHow to determine usable ip host rangeWildcard mask calculator ccna

Free Online IPv4 Subnet Calculator & CCNA Subnetting Practice Tool

Calculate IPv4 network addresses, broadcast addresses, CIDR subnet masks, wildcard masks, and usable host ranges instantly. Built for network engineers and CCNA subnetting practice—runs 100% locally in your browser.

100% Client-Side•Data never leaves your device
Community Feedback & Roadmap

Have comments, suggestions, bug reports, or feature requests?

Help us improve Subnet Calculator with your ideas, bug reports, or UI enhancements. Protected by Cloudflare Turnstile verification to keep our feedback channel free from automated bots and crawlers.

How to Calculate IPv4 Subnets & Practice for CCNA

  1. 1

    Enter Base IPv4 Address

    Type any IPv4 host or network address (e.g., 192.168.1.1 or 10.0.0.0) into the IP input field.

  2. 2

    Select CIDR Prefix (/0 to /32)

    Choose the CIDR prefix length (such as /24, /26, or /30) from the dropdown selector.

  3. 3

    Inspect Network, Broadcast, Mask & Host Range

    Review the computed Network Address, Broadcast Address, Subnet Mask, ACL Wildcard Mask, First/Last Usable Host, and Total Usable Hosts.

  4. 4

    Test Your Subnet in Web Packet Tracer

    Copy the calculated gateway and host IPs and test them inside the BrainyTools Web Packet Tracer simulator to verify routing and ARP behavior.

What is the BrainyTools Subnet Tool?

The BrainyTools Subnet Calculator is a technical utility designed for the precise allocation of IP addresses within a network. Subnetting is critical for security and performance, and our tool provides the detailed metrics (CIDR, mask, host counts) needed to configure routers and switches correctly. Pair it with our Web Packet Tracer to practice configuring interfaces and static routes hands-on.

How to Calculate IP Subnets

  1. Enter IP Address: Type the base IPv4 address for your network.
  2. Choose Mask: Select the subnet mask or CIDR prefix.
  3. Analyze: Review the network address, first/last host, and broadcast.
  4. Implement: Use the data to configure your network infrastructure.

Frequently Asked Questions (Subnet Calculator)

How can I use this IPv4 Subnet Calculator for CCNA subnetting practice?▼

Pick a random IPv4 address and CIDR prefix (such as 172.16.45.19/21), calculate the Network ID, Broadcast IP, Subnet Mask, Wildcard Mask, and Usable Host Range on paper, and then enter the values above to verify your answers immediately. You can also test your subnet plan live in our Web Packet Tracer simulator.

How is the usable host count calculated for a CIDR subnet?▼

For standard IPv4 subnets (/0 through /30), the number of usable hosts is 2^(32 - CIDR) - 2, because 1 address is reserved for the Network ID and 1 address is reserved for the Broadcast Address. For example, a /24 subnet has 2^8 - 2 = 254 usable hosts, while a /30 point-to-point router link has 2 usable hosts.

What is the difference between a Subnet Mask and a Wildcard Mask?▼

A subnet mask uses binary 1s to identify the network portion of an IPv4 address (e.g., 255.255.255.0 for /24), whereas a wildcard mask is the inverted bitmask (0.0.0.255 for /24) used in Cisco IOS Access Control Lists (ACLs) and OSPF network statements to match specific host bits.

Related Guides & Articles

View All Articles →

Explore More Tools

★ Featured Tool

Web Packet Tracer & Online Network Simulator (Packet Tracer Alternative Online)

Run a free Packet Tracer alternative online with no download or Cisco NetAcad login required. Place PCs, Layer-2 switches, and Layer-3 routers on an interactive canvas, practice CCNA Cisco IOS CLI commands, and watch ARP and ICMP packets animate hop-by-hop.

Try this tool

Free IP Address Lookup & Geolocation Visualizer

Find country, city, region, ISP, coordinates, and local timezone info for any IPv4 or IPv6 address. Zero server tracking, built on CORS-friendly secure requests with interactive OpenStreetMap visualizer.

Try this tool

Free Online Number Base Converter

Easily convert numbers between Binary, Decimal, Hexadecimal, and Octal bases. Our high-precision Base Converter is a vital tool for programmers, computer scientists, and students working with low-level data representation and hardware logic.

Try this tool

Free Online Data Size Converter

Convert between different units of data storage including Bytes, Kilobytes (KB), Megabytes (MB), Gigabytes (GB), and Terabytes (TB). Our converter uses the standard binary calculation (1024) for maximum technical accuracy.

Try this tool

WiFi QR Code Generator — Share WiFi Instantly

Generate a secure, scannable QR code for your WiFi network instantly. Allows guests, customers, and colleagues to connect automatically by scanning the code—no manual password typing required. 100% private and generated locally in your browser.

Try this tool

Free Online Visual BMI Calculator

Calculate your Body Mass Index (BMI) with our interactive visual tool. Use sliders to adjust height and weight, select your somatotype (Ectomorph, Mesomorph, Endomorph), and see a real-time visualization of your body profile.

Try this tool

Free Online Age Calculator

Calculate your exact age in years, months, and days instantly. Discover your Western and Chinese zodiac signs, along with your Chinese zodiac personality traits. Perfect for milestone planning or satisfying your curiosity with precise insights.

Try this tool

Free Online Professional Unit Converter

Our comprehensive Unit Converter provides instant transformations across length, weight, temperature, and more. Designed for engineers, students, and travelers, this tool ensures you always have the right measurements at your fingertips with scientific precision.

Try this tool

Free Online Percentage & Discount Calculator

Master your finances and data analysis with our versatile Percentage Calculator. Quickly calculate percentage increases, decreases, and specific values for discounts, tips, or statistical reporting with absolute ease.

Try this tool