Skip to main content
IP Range CalculatorPRO
Subnet Math & Set OperationsInstant Client-Side Tool

Bitwise Subnet Calculator

Show address-and-mask operations.

Bitwise Subnet Calculator: inputs and results

Enter an IP address, CIDR prefix, or range. Then check its first and last address below.

Quick presets:

Calculated Boundaries & ParametersReady

Network Address192.168.1.0
Broadcast Address192.168.1.255
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Total Addresses256
Usable Host Range254

Key Capabilities

  • •100% Client-Side: Zero telemetry or server latency.
  • •RFC Compliant: Exact 32-bit and 128-bit integer precision.
  • •Quick Copy: Instant access to CIDR, mask, and range bounds.
  • •Cross-Platform: Works on desktop, tablet, and mobile browsers.

How Bitwise Subnet Calculator Works?

This tool works by showing every bitwise operation behind a subnet calculation: AND for the network, NOT for the wildcard, and OR for the broadcast, octet by octet in binary.

  1. Enter an address and prefix

    Type 10.77.130.200/19.

  2. Write both values in binary

    The address and the mask appear as 32 bits each, aligned column by column.

  3. Apply AND, NOT, and OR

    AND keeps the network bits, NOT flips the mask into the wildcard, and OR sets the host bits to 1.

  4. Read the results per octet

    Each octet shows its binary input, binary result, and decimal result.

Bitwise Subnet Calculator Formula

The formula set is Network = IP AND Mask, Wildcard = NOT Mask, and Broadcast = Network OR Wildcard.

AND truth table

1 AND 1 = 1; any 0 → 0

Keeps a bit only where both inputs are 1.

OR truth table

0 OR 0 = 0; any 1 → 1

Sets a bit where either input is 1.

NOT

NOT 1 = 0; NOT 0 = 1

Flips each bit.

XOR check

IP XOR Network = Host part

Shows the bits removed by the mask.

Worked example: 10.77.130.200/19, octet 3

IP octet 3    = 130 = 10000010
Mask octet 3  = 224 = 11100000
AND           =       10000000 = 128 → Network 10.77.128.0
NOT mask      =       00011111 = 31
OR (network)  =       10011111 = 159 → Broadcast 10.77.159.255

Bitwise Subnet Calculator Conversion Table

The table shows the AND, NOT, and OR results for each of the 4 octets of 10.77.130.200/19.

OctetIP (Binary)Mask (Binary)AND → NetworkNOT → WildcardOR → Broadcast
1000010101111111100001010 (10)00000000 (0)00001010 (10)
2010011011111111101001101 (77)00000000 (0)01001101 (77)
3100000101110000010000000 (128)00011111 (31)10011111 (159)
4110010000000000000000000 (0)11111111 (255)11111111 (255)

What is Bitwise Subnet Calculator?

The Bitwise Subnet Calculator is a tool that displays the binary AND, NOT, and OR operations used to compute a subnet, instead of showing only the final answers.

Every subnet result comes from 3 bit operations on 32-bit values. Seeing those operations column by column explains why 130 becomes 128 under a /19 mask: the AND drops the 5 rightmost bits of the octet.

The calculator is a learning and verification tool. Students use it to check manual work, and engineers use it to explain subnet behavior in design reviews.

What are the uses of Bitwise Subnet Calculator?

There are 4 main uses of the Bitwise Subnet Calculator, including exam preparation, teaching, and code verification.

  • Preparing for subnetting exams

    CCNA candidates check each binary step of a manual calculation.

  • Teaching bitwise logic

    Instructors show AND, OR, and NOT on real addresses instead of abstract truth tables.

  • Verifying subnet code

    Developers compare intermediate bit values from their code with the calculator.

  • Explaining odd results

    The binary view shows why an address lands in an unexpected subnet.