= Tallyworks Guides  ·  ← All calculators

Guides › Other · Last updated 9 October 2026

How to use the IP Subnet Calculator

The IP subnet calculator shows the network address, mask, broadcast address and host range for an IPv4 address and prefix.

Open the IP Subnet Calculator →

What you need to enter

The formula

Mask = the first n bits set to 1. Network = IP AND mask. Broadcast = network OR NOT mask. Usable hosts = 2^(32 − n) − 2.

Worked example

Using the default values in the calculator:

Network address192.168.1.0/24
Subnet mask255.255.255.0
Broadcast address192.168.1.255
Usable host range192.168.1.1 – 192.168.1.254
Usable hosts254
Wildcard mask0.0.0.255

Tips for better results

Common mistakes to avoid

Please note: Results are estimates for general use. For safety-critical work such as electrical or building projects, check with a qualified professional and local codes. See our Disclaimer.

Related guides