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.
Calculated Boundaries & ParametersReady
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.
Related Subnet Math & Set OperationsAll Tools
IP Address Offset Calculator
Add or subtract address positions.
Address Distance Calculator
Count positions between two addresses.
Subnet Boundary Checker
Check alignment to a specified prefix.
IP-in-Range Checker
Test whether an address belongs.
IP-in-Subnet Checker
Test membership within a CIDR block.
Same Subnet Checker
Compare addresses under a selected mask.
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.
Enter an address and prefix
Type
10.77.130.200/19.Write both values in binary
The address and the mask appear as 32 bits each, aligned column by column.
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.
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 → 0Keeps a bit only where both inputs are 1.
OR truth table
0 OR 0 = 0; any 1 → 1Sets a bit where either input is 1.
NOT
NOT 1 = 0; NOT 0 = 1Flips each bit.
XOR check
IP XOR Network = Host partShows 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.
| Octet | IP (Binary) | Mask (Binary) | AND → Network | NOT → Wildcard | OR → Broadcast |
|---|---|---|---|---|---|
| 1 | 00001010 | 11111111 | 00001010 (10) | 00000000 (0) | 00001010 (10) |
| 2 | 01001101 | 11111111 | 01001101 (77) | 00000000 (0) | 01001101 (77) |
| 3 | 10000010 | 11100000 | 10000000 (128) | 00011111 (31) | 10011111 (159) |
| 4 | 11001000 | 00000000 | 00000000 (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.