Search the complete library

Find a useful next step.

Start typing to search the complete UtilHub library.

Developer tools · Free online tool

IP subnet calculator

Work out the network, broadcast address, host range, mask and host count for an IPv4 address and prefix.

No sign-upNo run limitPrivate inputsMobile-friendly

IP subnet calculator workspace

Runs locally in your browser

You can also type CIDR notation, such as 192.168.1.10/24.

Result

Network—
Subnet mask—
Wildcard mask—
Broadcast address—
First host—
Last host—
Usable hosts—
Address type—

Use it with confidence

How to use the IP subnet calculator.

01

Add the requested inputs

Use the labelled fields in the workspace above. If example values are provided, try them first or replace them with your own.

02

Calculate and review

Use the main action when needed. The prefix sets the block size (2³²⁻ᵖʳᵉᶠⁱˣ addresses). The network is the address rounded down to the block, and the broadcast is the block’s last address. /31 and /32 follow RFC 3021.

03

Try a worked example

192.168.1.10/26 is in network 192.168.1.0, with hosts .1 to .62, broadcast 192.168.1.63 and mask 255.255.255.192.

04

Check the assumptions

IPv4 only. Cloud providers and some routers reserve extra addresses in each subnet.

Helpful answers

IP subnet calculator FAQs.

Is the IP subnet calculator free?

Yes. Use it as often as you need, with no sign-up and no run limit. Your inputs stay in your browser.

Does UtilHub upload or save my inputs?

No. This tool runs in your browser and UtilHub does not receive or store the values you enter. Your browser or device may still retain normal local history or form data.

How does this IP subnet calculator work?

The prefix sets the block size (2³²⁻ᵖʳᵉᶠⁱˣ addresses). The network is the address rounded down to the block, and the broadcast is the block’s last address. /31 and /32 follow RFC 3021.

What should I check before using the result?

IPv4 only. Cloud providers and some routers reserve extra addresses in each subnet.

Coming up