Skip to content
    TheCalculatorsCalculate Anything. Anytime.
    HomeCalculatorsCategoriesBlogAbout
    HomeCalculatorsCategoriesBlogAbout
    1. Home
    2. Developer
    3. Ip Subnet Calculator

    Ip Subnet Calculator

    Enter an IPv4 address and CIDR prefix (/16–/30) to get the network address, broadcast address, first and last usable host, subnet mask, wildcard mask, total and usable host counts, plus address class and private/public scope — with full binary representations.

    #ip subnet calculator#cidr#subnet mask#network address#broadcast address

    TheCalculators — Ip Subnet Calculator

    Printed thecalculators.com

    Live mode: results update as you type.

    Network Address

    192.168.1.0/24

    C-class · Private (RFC 1918) · 254 usable hosts

    IP Address
    192.168.1.10
    CIDR Prefix
    /24
    Subnet Mask
    255.255.255.0
    Wildcard Mask
    0.0.0.255
    Network
    192.168.1.0
    Broadcast
    192.168.1.255
    First Host
    192.168.1.1
    Last Host
    192.168.1.254
    Total Addresses
    256
    Usable Hosts
    254
    Address Class
    C
    Scope
    Private (RFC 1918)

    How the subnet is derived

    1. 1Mask the IPIP 11000000.10101000.00000001.00001010 AND mask 11111111.11111111.11111111.00000000 → network 11000000.10101000.00000001.00000000 = 192.168.1.0
    2. 2OR the wildcardnetwork OR 00000000.00000000.00000000.11111111 → broadcast 192.168.1.255
    3. 3Host windowusable hosts run from 192.168.1.1 to 192.168.1.254
    4. 4Count hosts2^8 total − network − broadcast = 254 usable

    Binary representations

    ItemDecimalBinary
    IP address192.168.1.1011000000.10101000.00000001.00001010
    Subnet mask255.255.255.011111111.11111111.11111111.00000000
    Wildcard mask0.0.0.25500000000.00000000.00000000.11111111
    Network address192.168.1.011000000.10101000.00000001.00000000
    Broadcast address192.168.1.25511000000.10101000.00000001.11111111

    The network and broadcast addresses cannot be assigned to hosts. /31 (point-to-point, RFC 3021) and /32 (single host) are the classic exceptions — this tool covers /16 through /30.

    Most useful next

    Network Address

    192.168.1.0/24

    Formula

    network = IP AND mask · broadcast = network OR wildcard · usable hosts = 2^(32−CIDR) − 2

    Pro tips

    • • /26 and /28 subnets are the sweet spots for carving up a /24 into teams and DMZs.
    • • Wildcard masks are what Cisco ACLs and OSPF network statements expect — mask inverted.

    FAQ

    Related Calculators

    More Developer tools you might need.

    Base64 Encode

    Encode text to Base64 or decode Base64 back to text — instantly, safely in your browser.

    Calculate

    Binary Calculator

    Add, subtract, multiply or divide binary values and convert between base 2, 8, 10 and 16.

    Calculate

    Hex Calculator

    Hex arithmetic and instant conversion between hexadecimal, decimal, octal and binary.

    Calculate

    Bandwidth Calculator

    Estimate download or upload time from file size and connection speed, at any unit.

    Calculate
    TheCalculatorsCalculate Anything. Anytime.

    Your all-in-one destination for free online calculators. Simple. Fast. Accurate. Always here for you.

    Quick Links

    • Home
    • All Calculators
    • Categories
    • Blog
    • About Us
    • Contact

    Popular Categories

    • Health Calculators31
    • Finance Calculators62
    • Education Calculators9
    • Travel Calculators8
    • Everyday Calculators65
    • Developer Calculators7

    Resources

    • Calculator Guide
    • Tips & Tutorials
    • Calc of the Day
    • FAQs
    • Privacy Policy
    • Terms of Service
    • Sitemap

    © 2026 TheCalculators. All rights reserved. · 204 free tools and counting.

    Calculate Anything, Anytime.Made for a Smarter World

    /orCtrl Kto searchEscto close dialogsEnterto calculate