IP Calculator

IPv4 and IPv6 subnet math, wildcard masks, CIDR helper, and IP range tools.

Calculator type

Inputs & calculate

Results

Enter values and calculate to see results.

CIDR quick reference

CIDRSubnet maskWildcardUsable hosts
/32255.255.255.2550.0.0.01
/30255.255.255.2520.0.0.32
/29255.255.255.2480.0.0.76
/28255.255.255.2400.0.0.1514
/27255.255.255.2240.0.0.3130
/26255.255.255.1920.0.0.6362
/25255.255.255.1280.0.0.127126
/24255.255.255.00.0.0.255254
/23255.255.254.00.0.1.255510
/22255.255.252.00.0.3.2551,022
/21255.255.248.00.0.7.2552,046
/20255.255.240.00.0.15.2554,094
/16255.255.0.00.0.255.25565,534
/8255.0.0.00.255.255.25516,777,214

/31 and /32 follow special rules; usable counts here match common exam-style defaults. Verify RFC 3021 for point-to-point /31.