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
| Field | Name in formulas | Can be solved for |
| Ip g1 | ip_g1 | Input only |
| Ip g2 | ip_g2 | Input only |
| Ip g3 | ip_g3 | Input only |
| Ip g4 | ip_g4 | Input only |
| Range | range | Input only |
| Decimal | decimal | Input only |
| Num ips | num_ips | Input only |
| Prefix1 | prefix1 | Input only |
| Prefix2 | prefix2 | Input only |
| Prefix3 | prefix3 | Input only |
| Prefix4 | prefix4 | Input only |
| Subnet1 | subnet1 | Input only |
| Subnet2 | subnet2 | Input only |
| Subnet3 | subnet3 | Input only |
| Subnet4 | subnet4 | Input only |
| Last ip1 | last_ip1 | Input only |
| Last ip2 | last_ip2 | Input only |
| Last ip3 | last_ip3 | Input only |
| Last ip4 | last_ip4 | Input only |
| Whichway | whichway | Input only |
| First ip1 | first_ip1 | Input only |
| First ip2 | first_ip2 | Input only |
| First ip3 | first_ip3 | Input only |
| First ip4 | first_ip4 | Input only |
| Wildcard1 | wildcard1 | Input only |
| Wildcard2 | wildcard2 | Input only |
| Wildcard3 | wildcard3 | Input only |
| Wildcard4 | wildcard4 | Input only |
| Cidr hosts | cidr_hosts | Input only |
| Cidr range | cidr_range | Input only |
| Ip last g1 | ip_last_g1 | Input only |
| Ip last g2 | ip_last_g2 | Input only |
| Ip last g3 | ip_last_g3 | Input only |
| Ip last g4 | ip_last_g4 | Input only |
| Cidr length | cidr_length | Input only |
| Ip first g1 | ip_first_g1 | Input only |
| Ip first g2 | ip_first_g2 | Input only |
| Ip first g3 | ip_first_g3 | Input only |
| Ip first g4 | ip_first_g4 | Input only |
| Valid range | valid_range | Input only |
13 more inputs are available in the calculator form.