Everyday
Subnet Mask / CIDR Calculator
Network, broadcast and host range for an IPv4 CIDR.
Network
192.168.1.128/26
How this calculator works
The Subnet Mask / CIDR Calculator is a free everyday calculator. Network, broadcast and host range for an IPv4 CIDR. You provide 2 values — ip address, cidr prefix — and the result updates instantly as you type, so you can test different scenarios side by side.
Everyday calculations — dates, time, discounts and splits — are easy to get slightly wrong in your head. A dedicated calculator gives a consistent answer you can share with others.
The calculator follows the standard method for this type of problem and shows its working beside the result so you can follow every step.
Practical example
Suppose you open the Subnet Mask / CIDR Calculator and enter the following values:
- IP address: 192.168.1.130
- CIDR prefix: 26
The calculator works through the formula step by step and returns:
- Network: 192.168.1.128/26
- Subnet mask: 255.255.255.192
- Wildcard: 0.0.0.63
- Broadcast: 192.168.1.191
- Usable hosts: 62
- Host range: 192.168.1.129 – 192.168.1.190
The headline answer in this scenario is 192.168.1.128/26. Try changing one input at a time — for example increasing or decreasing the first value by 10% — to see how sensitive the result is to each assumption.
Key factors to consider
- Time zones, leap years and month lengths can affect date-based results.
- Rounding rules (to the nearest cent, minute or unit) are applied only at the final step.
- Double-check the inputs you typed; most surprising results come from a mistyped value.
- For legal or contractual deadlines, confirm the counting rules with the relevant authority.
Frequently asked questions
How accurate is the Subnet Mask / CIDR Calculator?
The Subnet Mask / CIDR Calculator applies the standard, published formula shown above with full floating-point precision and rounds only the displayed result. Its accuracy therefore depends mainly on the accuracy of the values you enter. Treat results as estimates for planning and education rather than as professional advice.
What is the Subnet Mask / CIDR Calculator used for?
Network, broadcast and host range for an IPv4 CIDR. It is commonly used to compare scenarios quickly, check figures provided by a third party, or understand how changing one input affects the outcome.
Why might my result differ from an official figure?
Banks, agencies and professionals may use different rounding, extra fees, alternative definitions or updated data. Use this result as a reference point and ask the provider which assumptions they apply.
Is my data stored?
No. Every calculation runs in your browser. Nothing you type is sent to our servers or saved, and the page works without an account.
For informational purposes only; not financial, medical or legal advice. See our Financial Disclaimer and Editorial Policy.