Choose language

Recently used

    Open a tool and it will appear here.

    Subnet Calculator

    Calculate IPv4 subnets, network ranges, and CIDR notation

    Input & options

    Quick presets & examples

    Your inputs are never uploaded or stored.

    Results

    Enter your values to see the result.

    How to use Subnet Calculator

    Type the address into "IPv4 address" as four dotted numbers without a slash: 10.0.0.0/24 is refused, so enter 10.0.0.0 and set the prefix to 24. Set "Prefix length (CIDR)" with the slider or a preset, or type a "Subnet mask", and the results update as you change a field. Use "Copy all" or "Download". Usable hosts are the total minus 2, so /26 holds 62 and /27 holds 30: for 50 devices choose /26. A mask that is not one solid run of ones, such as 255.0.255.0, is ignored and the results stay on the old prefix. IPv4 only. Nothing you enter is uploaded.