CalculatorScale — 4,500+ Free Online Calculators and Converters
calculators calculatorscale.com • Free

IP Subnet Calculator

Network EngineeringIPv4 / IPv6 CIDR Subnet Engine

IP Subnet Calculator

Calculate network address, broadcast address, usable host IP ranges, subnet masks, wildcard masks, binary representations, and CIDR blocks for IPv4 and IPv6 networks.

Modify the values and click the calculate button to use

IPv4 Network Parameters

Quick Presets:
Subnet Output: 108.177.2.198/24

Usable Hosts: 254(256 total addresses)

Range: 108.177.2.1 - 108.177.2.254
Network Address:108.177.2.0
Broadcast Address:108.177.2.255
Subnet Mask:255.255.255.0
Wildcard Mask:0.0.0.255
Class / Scope:Class A
IP Type:Public Internet
Binary Dotted Representation32-Bit Map
IP Address:01101100.10110001.00000010.11000110
Subnet Mask:11111111.11111111.11111111.00000000
Network ID:01101100.10110001.00000010.00000000
Broadcast:01101100.10110001.00000010.11111111

How IP Subnetting and CIDR Masks Work

An IPv4 address is composed of 32 bits divided into 4 octets (e.g. 192.168.1.1). Subnet masking divides these 32 bits into two parts:

  • Network Identifier (Prefix bits): Shared by all devices on the same local physical or virtual network segment.
  • Host Identifier: Unique address identifying an individual computer, smartphone, or router interface.

The bitwise formula to determine the network address is: Network ID = IP Address AND Subnet Mask.

RFC 1918 Private IPv4 Address Allocations

Class A Block

10.0.0.0/8

10.0.0.0 – 10.255.255.255 (16.7M hosts)

Class B Block

172.16.0.0/12

172.16.0.0 – 172.31.255.255 (1.04M hosts)

Class C Block

192.168.0.0/16

192.168.0.0 – 192.168.255.255 (65,536 hosts)

⚡ 100% Free Tool • Instant Calculation • No Sign-Up
Embed Widget

Understanding IP Subnet Calculator & Formula

Mathematical Formula: Network Address = IP Address AND Subnet Mask | Usable Hosts = 2^(32 - CIDR) - 2

The IP Subnet Calculator on CalculatorScale.com is engineered to deliver instant, mathematically verified calculations conforming strictly to standard institutional equations. Whether planning long-term investments, managing household budgets, tracking clinical fitness targets, analyzing academic genetics, calculating veterinary dosages, or converting dimensional units, every calculation updates dynamically in real time without lag.

Every formula used in this tool adheres to certified international standards, including World Health Organization biometric metrics, veterinary clinical guidelines, NIST physical conversion constants, and standard biological equations. Results are computed entirely client-side inside your browser with complete data privacy, ensuring your sensitive numbers and statistics never leave your device.

Our calculators are 100% free with no registration, subscriptions, or paywalls required. You can toggle between imperial and metric units, customize input parameters, export calculation summaries, or embed this calculator directly into your own website or blog.

How to Use the IP Subnet Calculator

  1. 1 Choose IPv4 or IPv6 Subnet mode.
  2. 2 Enter an IP address (e.g. 192.168.1.1 or 10.0.0.1) and select your CIDR subnet mask prefix (/8 to /32).
  3. 3 Click the green "Calculate ▶️" button to view the network address, broadcast address, usable host IP range, wildcard mask, and 32-bit binary breakdown.
FAQ & Help 3 questions

IP Subnet Calculator — Frequently Asked Questions

Q1 What is a subnet mask and CIDR notation? ▾

A subnet mask (such as 255.255.255.0 or /24 in CIDR) is a 32-bit binary number that divides an IP address into its network routing identifier and individual device host identifier.

Q2 Why are two IP addresses subtracted from usable hosts? ▾

In standard IPv4 subnets, the lowest address (all host bits 0) is reserved as the Network ID and the highest address (all host bits 1) is reserved for Broadcast, leaving 2^(32 - CIDR) - 2 addresses for assignable client hosts.

Q3 What are the RFC 1918 Private IP Address ranges? ▾

Private ranges reserved for local networks are: 10.0.0.0/8 (10.0.0.0 - 10.255.255.255), 172.16.0.0/12 (172.16.0.0 - 172.31.255.255), and 192.168.0.0/16 (192.168.0.0 - 192.168.255.255).

Other • Internet and network calculators

More in Internet and network calculators

Browse Other →
Categories

Explore All 4,700+ Calculators by Category

Master A-Z Directory →
Biology Calculators 124

Genetics, molecular laboratory science, veterinary dosages, animal gestation, agronomy, and forestry.

Chemistry Calculators 111

Stoichiometry, chemical solutions, thermodynamics, kinetics, electrochemistry, and organic reactions.

Construction Calculators 7

Concrete, roofing, brick, framing, lumber spans, driveway paving, gravel, and material specifications.

Conversion Calculators 17

Precision metric and imperial unit converters for length, area, volume, mass, pressure, temperature, and speed.

Ecology Calculators 6

Carbon footprint, solar energy payback, tree sequestration, recycling offsets, and sustainable living metrics.

Everyday Life Calculators 13

Travel durations, clothing and shoe sizes, fuel economy, home budgeting, sleep cycles, and daily routines.

Finance Calculators 77

Mortgage amortization, compound interest, loans, retirement planning, taxes, investments, and salary projections.

Food & Cooking Calculators 1

Culinary volume-to-weight conversions, baking hydration, ingredient scaling, pizza dough, and party food planning.

Health Calculators 29

BMI, daily caloric needs (TDEE/BMR), body fat percentage, pregnancy due dates, clinical dosage, and pediatric metrics.

Math Calculators 433

Scientific calculators, fractions, percentages, geometry, trigonometry, algebra, linear systems, and matrices.

Physics Calculators 490

Kinematics, Newtonian dynamics, thermodynamics, fluid mechanics, electromagnetism, optics, and relativity.

Sports & Athletic Calculators 4

Heart rate training zones, running pace, triathlon pacing, cycling power, calories burned, and 1RM lifting benchmarks.

Statistics Calculators 7

Standard deviation, normal distribution (Z-scores), confidence intervals, sample size, and probability odds.

Other Calculators 16

Education GPA, photography exposures, music BPM, data storage, network bandwidth, and specialty calculations.