Download a video

CLOUDE TOOLS · DEVELOPER TOOLS

IPv4 Subnet Calculator

Calculate an IPv4 network, mask, broadcast and usable host range from an address and CIDR prefix. Runs locally without probing hosts.

01 · YOUR INPUT

Set up your result

02 · YOUR RESULT

Output

Network / prefix
192.168.1.0/24
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Broadcast address
192.168.1.255
Total addresses
256
Usable host addresses
254
Host range
192.168.1.1 – 192.168.1.254

HOW IT WORKS

How to use the IPv4 Subnet Calculator

  1. Enter the values using the labeled controls.

  2. Review the live preview or calculation and the stated assumptions.

  3. Use the worked example to check the expected behavior.

  4. Copy or download the output where offered and verify it in your own workflow.

  5. Keep the stated limitations with any result you share.

EXAMPLES & USE CASES

See it in action

Input

address="192.168.1.42", prefix=24

Output

Network / prefix
192.168.1.0/24
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Broadcast address
192.168.1.255

DETAILED GUIDE

About the IPv4 Subnet Calculator

Enter a dotted-decimal IPv4 address and a prefix from zero to 32. The result shows the network boundary, subnet mask, wildcard mask and host range.

For 192.168.1.42/24 the network is 192.168.1.0, broadcast 192.168.1.255 and the conventional usable range is .1 through .254.

FAQS & RESOURCES

Frequently asked questions

Does this contact the address I enter?

No. This is local arithmetic and does not send packets or perform DNS or geolocation requests.

Why does /31 show two addresses?

The point-to-point convention uses both addresses as endpoints rather than reserving separate network and broadcast addresses.

Does a calculated range mean I can assign those addresses?

No. Routing, address reservations, network configuration and authorization still apply.

Is this tool free?

Yes. Cloude Tools is free to use with no sign-up.

Is my data uploaded to a server?

No. This tool runs entirely in your browser, so what you enter never leaves your device.

Does it work on mobile?

Yes. The tool is designed to be fully usable on a phone.