OTHER · LOCAL CALCULATOR

CIDR Calculator

The CIDR calculator will give you the IP range of any network block given in CIDR notation and convert an IP range to CIDR notation.

Enter values

How it works

This calculator evaluates the displayed equation variants locally in your browser. Enter the known values; results are shown for equations whose required inputs are available.

Check units, assumptions and professional guidance before using results for medical, financial, legal, engineering or safety-critical decisions.

Formulas used by this calculator

The CIDR Calculator page lists 53 inputs, but every relation behind it depends on a lookup table or helper routine that the in-browser solver cannot evaluate, so it cannot return a dependable result. Use the related calculators linked on this page, or check the figures against an authoritative reference.

Inputs

FieldName in formulasCan be solved for
Ip g1ip_g1Input only
Ip g2ip_g2Input only
Ip g3ip_g3Input only
Ip g4ip_g4Input only
RangerangeInput only
DecimaldecimalInput only
Num ipsnum_ipsInput only
Prefix1prefix1Input only
Prefix2prefix2Input only
Prefix3prefix3Input only
Prefix4prefix4Input only
Subnet1subnet1Input only
Subnet2subnet2Input only
Subnet3subnet3Input only
Subnet4subnet4Input only
Last ip1last_ip1Input only
Last ip2last_ip2Input only
Last ip3last_ip3Input only
Last ip4last_ip4Input only
WhichwaywhichwayInput only
First ip1first_ip1Input only
First ip2first_ip2Input only
First ip3first_ip3Input only
First ip4first_ip4Input only
Wildcard1wildcard1Input only
Wildcard2wildcard2Input only
Wildcard3wildcard3Input only
Wildcard4wildcard4Input only
Cidr hostscidr_hostsInput only
Cidr rangecidr_rangeInput only
Ip last g1ip_last_g1Input only
Ip last g2ip_last_g2Input only
Ip last g3ip_last_g3Input only
Ip last g4ip_last_g4Input only
Cidr lengthcidr_lengthInput only
Ip first g1ip_first_g1Input only
Ip first g2ip_first_g2Input only
Ip first g3ip_first_g3Input only
Ip first g4ip_first_g4Input only
Valid rangevalid_rangeInput only

13 more inputs are available in the calculator form.