NETWORK, DATA, AND DIGITAL MEDIA

IPv4 Subnet Calculator

Calculate an IPv4 network address, subnet mask, broadcast address, total address count, and traditional usable-host count from CIDR notation.

Enter your details

Change any assumption, then calculate your estimate.

Free to use

Review your result

Your result

Ready when you are.

Enter your values and select Calculate. Your result stays on this device.

How it works

The prefix creates a 32-bit network mask; bitwise AND yields the network and the inverted host mask yields the broadcast address.

Assumptions

Uses IPv4 and CIDR only. Host usability for /31, /32, point-to-point links, cloud networks, reserved ranges, and provider policies can differ.

About this calculator

This IPv4 subnet calculator targets the common U.S. IT search for a quick network-range check. It keeps the input address and CIDR prefix separate and returns the core dotted-decimal values together.

How to use it

  1. Enter a valid dotted-decimal IPv4 address.
  2. Enter a CIDR prefix from 0 through 32.
  3. Calculate the network, mask, broadcast, and address counts.
  4. Verify the result against the real platform before changing a production network.

Use case

subnet calculator: a clear planning check

Enter a dotted-decimal IPv4 address and prefix to calculate the network range using visible CIDR rules before verifying a production plan.

Check an IPv4 CIDR network, mask, broadcast address, and address count.

Build a reliable scenario

How to use and verify your IPv4 Subnet Calculator result

IPv4 Subnet Calculator helps you check a specific technology & networking question with figures that apply to you. Calculate an IPv4 network address, subnet mask, broadcast address, total address count, and traditional usable-host count from CIDR notation. Enter a dotted-decimal IPv4 address and prefix to calculate the network range using visible CIDR rules before verifying a production plan. Check an IPv4 CIDR network, mask, broadcast address, and address count. The page keeps the method and limits visible so the result can be understood, compared, and checked instead of treated as an unexplained answer.

Before calculating

Prepare IPv4 address and CIDR prefix. Enter a valid dotted-decimal IPv4 address. Enter a CIDR prefix from 0 through 32. Calculate the network, mask, broadcast, and address counts. Verify the result against the real platform before changing a production network. Keep units, dates, currency, and time periods consistent.

What changes the result?

The stated method is: The prefix creates a 32-bit network mask; bitwise AND yields the network and the inverted host mask yields the broadcast address. Change one assumption at a time to see which input drives the result, then compare scenarios on the same basis.

When checking the answer

Uses IPv4 and CIDR only. Host usability for /31, /32, point-to-point links, cloud networks, reserved ranges, and provider policies can differ. Verify production network plans against device, provider, security, and address-management requirements.

Quick verification checklist

  • • Confirm the date and unit of every input.
  • • Replace defaults with values that match your case.
  • • Compare the answer with a second scenario.
  • • Use the official source for regulated or high-impact decisions.

Source and update

Last reviewed: 2026-08-22

IETF RFC 4632 — Classless Inter-domain Routing

Frequently asked questions

What does /24 mean?

It means the first 24 bits are the network prefix, corresponding to the mask 255.255.255.0.

Why are two addresses often subtracted from usable hosts?

Traditional subnets reserve the network and broadcast addresses, although /31, /32, and platform-specific rules differ.

Does this support IPv6?

No. This calculator is limited to IPv4 CIDR.

Keep exploring

Related calculators

View category

Clear calculation guide

How to use this free IPv4 Subnet Calculator

This free IPv4 Subnet Calculator keeps the values and the calculation method visible instead of returning an unexplained number. Calculate an IPv4 network address, subnet mask, broadcast address, total address count, and traditional usable-host count from CIDR notation. Use it to check a scenario with the figures that apply to you.

Start by checking units, dates, decimal places, and the option you selected. This IPv4 subnet calculator targets the common U.S. IT search for a quick network-range check. It keeps the input address and CIDR prefix separate and returns the core dotted-decimal values together. The stated mathematical method is: The prefix creates a 32-bit network mask; bitwise AND yields the network and the inverted host mask yields the broadcast address.

Change one assumption at a time to understand what moves the result, then keep any final record or institution-specific rule separate from the arithmetic. Uses IPv4 and CIDR only. Host usability for /31, /32, point-to-point links, cloud networks, reserved ranges, and provider policies can differ. Hesaplayın is a clear, browser-based calculator for checking the maths behind your decision.