QCalcuPop
All calculators
COMPUTING AND NETWORKS
IP

IPv4 subnet calculator

Find the network, mask, broadcast address and host range.

CalcuPop…

A CLEANER SITE, WITH YOUR HELP

Was it useful? Support CalcuPop.

Even a small voluntary contribution helps us keep these calculators free, clear and free from aggressive advertising.

Who’s behind CalcuPop
Support CalcuPopCard via Stripe or PayPalStripe or PayPal handles your payment. CalcuPop never sees or stores your card details.
SPREAD THE WORD

Share this calculator

Send the calculator, or prepare a controlled snapshot of the result.

DOES THE RESULT LOOK WRONG?

Help us improve this calculator.

HOW IT WORKS

A result to understand, not just read.

Enter an IPv4 address and a CIDR prefix, such as /24, or a dotted-decimal subnet mask, such as 255.255.255.0.

    FREQUENTLY ASKED QUESTIONS

    How are host addresses counted for /31 and /32?+

    The theoretical host count excludes the network and broadcast addresses, except for /31 point-to-point links with two addresses and /32 host routes with one address. Reserved address ranges are not subtracted. Calculations run locally on your device; no network scans are performed.

    RESULT GUIDE

    IPv4 subnet calculator

    Enter an IPv4 address and a CIDR prefix, such as /24, or a dotted-decimal subnet mask, such as 255.255.255.0.

    01 · FORMULA

    Calculation result

    IPv4 AND netmask → CIDR

    The theoretical host count excludes the network and broadcast addresses, except for /31 point-to-point links with two addresses and /32 host routes with one address. Reserved address ranges are not subtracted. Calculations run locally on your device; no network scans are performed.

    02 · WORKED EXAMPLE

    Calculation result

    • 192.168.1.130 /24
    • 255.255.255.0
    192.168.1.0/24 · 192.168.1.1 – 192.168.1.254

    The theoretical host count excludes the network and broadcast addresses, except for /31 point-to-point links with two addresses and /32 host routes with one address. Reserved address ranges are not subtracted. Calculations run locally on your device; no network scans are performed.

    03 · HOW TO READ IT

    How to interpret the result

    • Enter an IPv4 address and a CIDR prefix, such as /24, or a dotted-decimal subnet mask, such as 255.255.255.0.
    04 · LIMITS

    What the estimate does not include

    • /31: two addresses for a point-to-point link.
    • /32: a route to one host.
    • /0 covers all IPv4 addresses.