Paste an IPv4 address and CIDR prefix to get network details for firewalls, VPCs, and lab networks.
Subnet Calculator
100% FreeIPv4 CIDR calculator — network, broadcast, mask, hosts, and wildcard.
Network
- Mask255.255.255.0
- Network192.168.1.0
- Broadcast192.168.1.255
- First host192.168.1.1
- Last host192.168.1.254
- Hosts254
- Wildcard0.0.0.255
Embed This Tool
Easy to EmbedAdd Subnet Calculator to your website or blog in seconds.
- Responsive design
- Lightweight & fast
- No backend required
- Always up-to-date
<iframe
src="https://tools.town/embed/subnet-calculator/"
width="100%"
height="600"
style="border:none; border-radius:12px;"
loading="lazy"
title="Subnet Calculator">
</iframe> Advertisement
How to Use
- 1 Enter an IPv4 address
- 2 Set the CIDR prefix (0–32)
- 3 Read mask, network, broadcast, and host range
- 4 Copy values into firewall or VPC config
Features
- CIDR /0–/32
- Network + broadcast
- First/last host + count
- Wildcard mask
- Client-side
Why it Matters
VPC and firewall tickets always need what is the network for this /27 — this answers without a CLI.
Frequently Asked Questions
IPv6?
/31 and /32?
Private only?
Want to understand the math?
Size a Subnet for a Small Office or VPC
Pick the right CIDR prefix for a device count, then get the network, mask, and host range to paste into your router or cloud console.
16 Aug 2026
5 min read
Web Config Ops — Subnets, Permissions, HTTP Status & CSS Units
Hub for Tools.Town server and web config math: IPv4 CIDR subnetting, chmod permission modes, HTTP status code lookup, and px ↔ rem conversion — free, in-browser.
16 Aug 2026
5 min read
Related Tools You Might Like
IP Address Validator
Validate IPv4 and IPv6 addresses and see their breakdown — class, integer, hex, binary, expanded form, and whether they fall in private, loopback, or reserved ranges.
HTTP Status Code Lookup
Look up HTTP status codes (100–599) — meaning, category, and when to use.
Binary Converter
Convert integers between binary, octal, decimal, hex — BigInt-precise so values past 2^53 work without rounding. Accepts 0b/0o/0x prefixes.
Color Picker
Native color picker with HEX/RGB/HSL output and recent-colors history. Click the swatch or type a hex — values update instantly.
Cron Expression Parser
Translate 5-field POSIX cron expressions into plain English with field breakdown and the next 5 scheduled runs.