Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsStudyTraining
ProjectsChecklistsAI RankingsNewsletterStatusTagsAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Study
Training
Projects
Checklists
AI Rankings
Newsletter
Status
Tags
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

429+ Articles
114+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
HomeToolsSubnet Calculator
Network Tool

Subnet Calculator

Calculate IPv4 subnet details from any IP address and CIDR prefix. Everything runs locally in your browser - no data is sent to any server.

/24
/24
/0/8/16/24/32

Calculation Results

Network Address
192.168.1.0
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
Total Hosts
256
Usable Hosts
254
IP Class
C
IP Type
Private (RFC 1918)

Network / Host Bit Split

Network (24)
Host (8)
Bit 0Bit 31
Binary Subnet Mask
11111111111111111111111100000000
11111111.11111111.11111111.00000000
Network bits (24)
Host bits (8)

CIDR Quick Reference

CIDRSubnet MaskUsable Hosts
/8255.0.0.016,777,214
/16255.255.0.065,534
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2542 (P2P)
/32255.255.255.2551 (Host)

Client-Side Only

All calculations run locally in your browser. No IP addresses or network data is transmitted to any server.

IPv4 Only

This calculator currently supports IPv4 addresses only. IPv6 subnet calculation is planned for a future update.

Subnet Tips

  • /24 (255.255.255.0) is the most common subnet for small networks with up to 254 hosts
  • /30 (255.255.255.252) is standard for point-to-point links between routers
  • /31 (RFC 3021) allows 2 usable addresses with no broadcast, ideal for router-to-router links
  • The wildcard mask is the inverse of the subnet mask, commonly used in ACLs and OSPF configurations