🌐 Subnet Calculator
Calculate the network address, broadcast address, usable host range, subnet and wildcard masks and number of hosts for any IPv4 address and prefix length.
Also known as: Subnet Mask Calculator · Ip Subnet Calculator · Subnet and Ip Address Calculator · Calculator Ip Subnetting · Cidr Calculator · Ip Calculator · Ip Address Calculator · Calculator for Subnet Mask
Loading calculator…
How to use the Subnet Calculator
- Enter an IPv4 address (optionally with /prefix).
- Choose the prefix length.
- Read the network details.
How it's calculated
Network = IP AND mask. Broadcast = network OR NOT mask. Usable hosts = 2^(32 − prefix) − 2.
Frequently asked questions
How many hosts are in a /24?
Is the Subnet Calculator free?
How accurate is the Subnet Calculator?
Can I use the Subnet Calculator on my phone or offline?
Read more about the Subnet Calculator
When to use the Subnet Calculator
Use the Subnet Calculator for iPv4 subnet calculator: network, broadcast, host range and mask from CIDR. It is one of 35 free physics & chemistry calculators, and pairs well with the Binary / Hex Calculator, Binary / Hex / Octal Converter, Chmod Calculator and Speed, Distance & Time Calculator.
Tips for accurate results
Keep every quantity in consistent units (SI units unless the form says otherwise), watch significant figures, and compare the result with a rough estimate to catch unit mistakes.
More Physics & Chemistry Calculators
- 🥶 Wind Chill Calculator
- 💧 Dew Point Calculator
- 🧬 Molar Mass Calculator
- 🚀 Acceleration Calculator
- 🧊 Density Calculator
- 💪 Force Calculator (F = ma)
- 🫧 Ideal Gas Law Calculator
- ⚗️ Molarity Calculator
- 🎯 Projectile Motion Calculator
- 🌈 Resistor Color Code Calculator
- 🧫 pH Calculator
- 💧 Dilution Calculator (C1V1 = C2V2)
Popular calculators
Results are estimates for information only. Calculations run privately in your browser.