IP Subnet Calculator

Calculate network address, broadcast, range and usable hosts for IPv4 CIDR

IP Subnet Calculator — free online tool

🔒 Zero upload · Method · · Disclaimer · IP Subnet Calculator

IP Subnet Calculator helps you calculate network address, broadcast, range and usable hosts for IPv4 CIDR without a spreadsheet. You supply IP Address and Prefix Length (/24) to IP Subnet; the answer follows at once. IP Subnet ties each output to its formula. Students and professionals reach for IP Subnet when speed matters. IP Subnet runs in your browser. Tech & Digital data stays in the tab. IP Subnet sits in the Tech & Digital section next to free online ip subnet calculator and ip subnet calculator. IP Subnet goes from question to answer fast. IP Subnet answers the next Tech & Digital question you meet.

What /24 means for this address

For 192.168.1.10 with a /24 prefix the network address is 192.168.1.0, the mask 255.255.255.0, the broadcast 192.168.1.255 and the usable range 192.168.1.1 – 192.168.1.254: 254 hosts.

The prefix is the number of leading bits fixed as network; /24 fixes 24 of 32, leaving 8 host bits, and 2⁸ = 256 addresses in the block.

The arithmetic

An IPv4 address is 32 bits. The prefix length says how many are locked to the network, so host bits = 32 − prefix. For /24 that is 8 bits, and addresses = 28 = 256. Remove the network address (all host bits 0) and the broadcast (all host bits 1) and 254 remain usable.

The mask is those leading bits set to 1: /24 → 255.255.255.0. Network address is the IP ANDed with the mask; broadcast is the network with every host bit set to 1.

Worked example: 192.168.1.10/24

IP in binary: 11000000.10101000.00000001.00001010
Mask /24: 11111111.11111111.11111111.00000000
Network: 11000000.10101000.00000001.00000000 = 192.168.1.0
Broadcast: 11000000.10101000.00000001.11111111 = 192.168.1.255
Hosts: 192.168.1.1 to 192.168.1.254

Common prefixes at a glance

Where the two-address rule breaks

/31 (RFC 3021) provides two usable addresses on a point-to-point link, and /32 is a single host route with none. Above /30 the subtraction applies as normal. Getting this wrong is why a /31 link sometimes “loses” both ends.

Mistakes worth avoiding

Frequently Asked Questions

Why 254 usable hosts rather than 256?

A /24 holds 256 addresses. The first, with all host bits zero, names the network itself; the last, all host bits one, is the broadcast. Neither can be assigned to a device.

What is the subnet mask for /24?

255.255.255.0 — the first 24 bits set to 1 and the last 8 to 0. Every prefix has exactly one mask, so the mask never needs to be entered separately.

How many addresses in a /26?

64 — 2^6, because six host bits remain. That gives 62 usable hosts after the network and broadcast addresses.

Is 192.168.1.255 always broadcast?

Only within a /24. With a /16 mask it is an ordinary host address, because the broadcast for that block is 192.168.255.255. The mask decides, not the last octet.

Can I use /31 for a router-to-router link?

Yes — RFC 3021 allows /31 on point-to-point links and both addresses are usable. It saves two addresses per link compared with /30, which is why modern point-to-point configs use it.

About CalcProMaster calculators

CalcProMaster is a free library of 1285 online calculators across 20 categories — finance, health, math, business, construction, engineering, conversion, education and more. Every calculator runs entirely in your browser: no sign-up, no paywall, and no data leaves your device.

What makes these calculators different is transparency. Each tool shows the exact formula it uses. It also shows a step-by-step breakdown of how your inputs become the result. That way you can check the math instead of trusting a black box. Every calculator page explains how to read the result. It also lists common mistakes, assumptions and limitations. An FAQ sits with every one, and the most-used tools add a worked example. Health and finance tools name the formula they follow. Calorie needs use Mifflin-St Jeor. Loans use standard amortization. Each page says plainly when an answer should be confirmed with a professional.

The guides library goes deeper on the calculations people search for most. It covers percentage and discount math, loan EMI and amortization, income-tax brackets, calorie and macro planning, and concrete volumes. Each guide gives the formula, worked examples and links to the matching calculator. The glossary defines the terminology in plain language. The public formula QA dashboard shows the verification status of every calculator's math.

Popular starting points: loan EMI calculator, BMI calculator, percentage calculator, random number generator, and concrete calculator. You can also browse a category above to find the tool you need.

↑ ↓ navigate↵ openesc close