ip
ipku.in

IPv4 Subnet Calculator

Enter an IP with a CIDR prefix or a subnet mask to see its network, broadcast, host range, and host count. You can also split the network into smaller subnets.

$ ipcalc
private IP (RFC 1918)10.13.158.0/25
network10.13.158.0/25
broadcast10.13.158.127
first host10.13.158.1
last host10.13.158.126
subnet mask255.255.255.128
wildcard0.0.0.127
addresses128
usable hosts126
classA
ipcalc 10.13.158.0/25
address00001010.00001101.10011110.00000000
subnet mask11111111.11111111.11111111.10000000
network00001010.00001101.10011110.00000000
broadcast00001010.00001101.10011110.01111111
green = network part, grey = host part
hex0x0a0d9e00
decimal168664576
reverse dns0.158.13.10.in-addr.arpa
ipv4-mapped::ffff:a0d:9e00

/25 split into /32 · 128 subnets

close ×
#networkhost rangebroadcast
110.13.158.0/3210.13.158.0 – 10.13.158.010.13.158.0
210.13.158.1/3210.13.158.1 – 10.13.158.110.13.158.1
310.13.158.2/3210.13.158.2 – 10.13.158.210.13.158.2
410.13.158.3/3210.13.158.3 – 10.13.158.310.13.158.3
510.13.158.4/3210.13.158.4 – 10.13.158.410.13.158.4
610.13.158.5/3210.13.158.5 – 10.13.158.510.13.158.5
710.13.158.6/3210.13.158.6 – 10.13.158.610.13.158.6
810.13.158.7/3210.13.158.7 – 10.13.158.710.13.158.7
910.13.158.8/3210.13.158.8 – 10.13.158.810.13.158.8
1010.13.158.9/3210.13.158.9 – 10.13.158.910.13.158.9
1110.13.158.10/3210.13.158.10 – 10.13.158.1010.13.158.10
1210.13.158.11/3210.13.158.11 – 10.13.158.1110.13.158.11
1310.13.158.12/3210.13.158.12 – 10.13.158.1210.13.158.12
1410.13.158.13/3210.13.158.13 – 10.13.158.1310.13.158.13
1510.13.158.14/3210.13.158.14 – 10.13.158.1410.13.158.14
1610.13.158.15/3210.13.158.15 – 10.13.158.1510.13.158.15
1710.13.158.16/3210.13.158.16 – 10.13.158.1610.13.158.16
1810.13.158.17/3210.13.158.17 – 10.13.158.1710.13.158.17
1910.13.158.18/3210.13.158.18 – 10.13.158.1810.13.158.18
2010.13.158.19/3210.13.158.19 – 10.13.158.1910.13.158.19
2110.13.158.20/3210.13.158.20 – 10.13.158.2010.13.158.20
2210.13.158.21/3210.13.158.21 – 10.13.158.2110.13.158.21
2310.13.158.22/3210.13.158.22 – 10.13.158.2210.13.158.22
2410.13.158.23/3210.13.158.23 – 10.13.158.2310.13.158.23
2510.13.158.24/3210.13.158.24 – 10.13.158.2410.13.158.24
2610.13.158.25/3210.13.158.25 – 10.13.158.2510.13.158.25
2710.13.158.26/3210.13.158.26 – 10.13.158.2610.13.158.26
2810.13.158.27/3210.13.158.27 – 10.13.158.2710.13.158.27
2910.13.158.28/3210.13.158.28 – 10.13.158.2810.13.158.28
3010.13.158.29/3210.13.158.29 – 10.13.158.2910.13.158.29
3110.13.158.30/3210.13.158.30 – 10.13.158.3010.13.158.30
3210.13.158.31/3210.13.158.31 – 10.13.158.3110.13.158.31
3310.13.158.32/3210.13.158.32 – 10.13.158.3210.13.158.32
3410.13.158.33/3210.13.158.33 – 10.13.158.3310.13.158.33
3510.13.158.34/3210.13.158.34 – 10.13.158.3410.13.158.34
3610.13.158.35/3210.13.158.35 – 10.13.158.3510.13.158.35
3710.13.158.36/3210.13.158.36 – 10.13.158.3610.13.158.36
3810.13.158.37/3210.13.158.37 – 10.13.158.3710.13.158.37
3910.13.158.38/3210.13.158.38 – 10.13.158.3810.13.158.38
4010.13.158.39/3210.13.158.39 – 10.13.158.3910.13.158.39
4110.13.158.40/3210.13.158.40 – 10.13.158.4010.13.158.40
4210.13.158.41/3210.13.158.41 – 10.13.158.4110.13.158.41
4310.13.158.42/3210.13.158.42 – 10.13.158.4210.13.158.42
4410.13.158.43/3210.13.158.43 – 10.13.158.4310.13.158.43
4510.13.158.44/3210.13.158.44 – 10.13.158.4410.13.158.44
4610.13.158.45/3210.13.158.45 – 10.13.158.4510.13.158.45
4710.13.158.46/3210.13.158.46 – 10.13.158.4610.13.158.46
4810.13.158.47/3210.13.158.47 – 10.13.158.4710.13.158.47
4910.13.158.48/3210.13.158.48 – 10.13.158.4810.13.158.48
5010.13.158.49/3210.13.158.49 – 10.13.158.4910.13.158.49
5110.13.158.50/3210.13.158.50 – 10.13.158.5010.13.158.50
5210.13.158.51/3210.13.158.51 – 10.13.158.5110.13.158.51
5310.13.158.52/3210.13.158.52 – 10.13.158.5210.13.158.52
5410.13.158.53/3210.13.158.53 – 10.13.158.5310.13.158.53
5510.13.158.54/3210.13.158.54 – 10.13.158.5410.13.158.54
5610.13.158.55/3210.13.158.55 – 10.13.158.5510.13.158.55
5710.13.158.56/3210.13.158.56 – 10.13.158.5610.13.158.56
5810.13.158.57/3210.13.158.57 – 10.13.158.5710.13.158.57
5910.13.158.58/3210.13.158.58 – 10.13.158.5810.13.158.58
6010.13.158.59/3210.13.158.59 – 10.13.158.5910.13.158.59
6110.13.158.60/3210.13.158.60 – 10.13.158.6010.13.158.60
6210.13.158.61/3210.13.158.61 – 10.13.158.6110.13.158.61
6310.13.158.62/3210.13.158.62 – 10.13.158.6210.13.158.62
6410.13.158.63/3210.13.158.63 – 10.13.158.6310.13.158.63
6510.13.158.64/3210.13.158.64 – 10.13.158.6410.13.158.64
6610.13.158.65/3210.13.158.65 – 10.13.158.6510.13.158.65
6710.13.158.66/3210.13.158.66 – 10.13.158.6610.13.158.66
6810.13.158.67/3210.13.158.67 – 10.13.158.6710.13.158.67
6910.13.158.68/3210.13.158.68 – 10.13.158.6810.13.158.68
7010.13.158.69/3210.13.158.69 – 10.13.158.6910.13.158.69
7110.13.158.70/3210.13.158.70 – 10.13.158.7010.13.158.70
7210.13.158.71/3210.13.158.71 – 10.13.158.7110.13.158.71
7310.13.158.72/3210.13.158.72 – 10.13.158.7210.13.158.72
7410.13.158.73/3210.13.158.73 – 10.13.158.7310.13.158.73
7510.13.158.74/3210.13.158.74 – 10.13.158.7410.13.158.74
7610.13.158.75/3210.13.158.75 – 10.13.158.7510.13.158.75
7710.13.158.76/3210.13.158.76 – 10.13.158.7610.13.158.76
7810.13.158.77/3210.13.158.77 – 10.13.158.7710.13.158.77
7910.13.158.78/3210.13.158.78 – 10.13.158.7810.13.158.78
8010.13.158.79/3210.13.158.79 – 10.13.158.7910.13.158.79
8110.13.158.80/3210.13.158.80 – 10.13.158.8010.13.158.80
8210.13.158.81/3210.13.158.81 – 10.13.158.8110.13.158.81
8310.13.158.82/3210.13.158.82 – 10.13.158.8210.13.158.82
8410.13.158.83/3210.13.158.83 – 10.13.158.8310.13.158.83
8510.13.158.84/3210.13.158.84 – 10.13.158.8410.13.158.84
8610.13.158.85/3210.13.158.85 – 10.13.158.8510.13.158.85
8710.13.158.86/3210.13.158.86 – 10.13.158.8610.13.158.86
8810.13.158.87/3210.13.158.87 – 10.13.158.8710.13.158.87
8910.13.158.88/3210.13.158.88 – 10.13.158.8810.13.158.88
9010.13.158.89/3210.13.158.89 – 10.13.158.8910.13.158.89
9110.13.158.90/3210.13.158.90 – 10.13.158.9010.13.158.90
9210.13.158.91/3210.13.158.91 – 10.13.158.9110.13.158.91
9310.13.158.92/3210.13.158.92 – 10.13.158.9210.13.158.92
9410.13.158.93/3210.13.158.93 – 10.13.158.9310.13.158.93
9510.13.158.94/3210.13.158.94 – 10.13.158.9410.13.158.94
9610.13.158.95/3210.13.158.95 – 10.13.158.9510.13.158.95
9710.13.158.96/3210.13.158.96 – 10.13.158.9610.13.158.96
9810.13.158.97/3210.13.158.97 – 10.13.158.9710.13.158.97
9910.13.158.98/3210.13.158.98 – 10.13.158.9810.13.158.98
10010.13.158.99/3210.13.158.99 – 10.13.158.9910.13.158.99
10110.13.158.100/3210.13.158.100 – 10.13.158.10010.13.158.100
10210.13.158.101/3210.13.158.101 – 10.13.158.10110.13.158.101
10310.13.158.102/3210.13.158.102 – 10.13.158.10210.13.158.102
10410.13.158.103/3210.13.158.103 – 10.13.158.10310.13.158.103
10510.13.158.104/3210.13.158.104 – 10.13.158.10410.13.158.104
10610.13.158.105/3210.13.158.105 – 10.13.158.10510.13.158.105
10710.13.158.106/3210.13.158.106 – 10.13.158.10610.13.158.106
10810.13.158.107/3210.13.158.107 – 10.13.158.10710.13.158.107
10910.13.158.108/3210.13.158.108 – 10.13.158.10810.13.158.108
11010.13.158.109/3210.13.158.109 – 10.13.158.10910.13.158.109
11110.13.158.110/3210.13.158.110 – 10.13.158.11010.13.158.110
11210.13.158.111/3210.13.158.111 – 10.13.158.11110.13.158.111
11310.13.158.112/3210.13.158.112 – 10.13.158.11210.13.158.112
11410.13.158.113/3210.13.158.113 – 10.13.158.11310.13.158.113
11510.13.158.114/3210.13.158.114 – 10.13.158.11410.13.158.114
11610.13.158.115/3210.13.158.115 – 10.13.158.11510.13.158.115
11710.13.158.116/3210.13.158.116 – 10.13.158.11610.13.158.116
11810.13.158.117/3210.13.158.117 – 10.13.158.11710.13.158.117
11910.13.158.118/3210.13.158.118 – 10.13.158.11810.13.158.118
12010.13.158.119/3210.13.158.119 – 10.13.158.11910.13.158.119
12110.13.158.120/3210.13.158.120 – 10.13.158.12010.13.158.120
12210.13.158.121/3210.13.158.121 – 10.13.158.12110.13.158.121
12310.13.158.122/3210.13.158.122 – 10.13.158.12210.13.158.122
12410.13.158.123/3210.13.158.123 – 10.13.158.12310.13.158.123
12510.13.158.124/3210.13.158.124 – 10.13.158.12410.13.158.124
12610.13.158.125/3210.13.158.125 – 10.13.158.12510.13.158.125
12710.13.158.126/3210.13.158.126 – 10.13.158.12610.13.158.126
12810.13.158.127/3210.13.158.127 – 10.13.158.12710.13.158.127
01 / table

IPv4 CIDR prefix table.

Click a prefix longer than your network to split it into subnets.

prefixsubnet maskaddresseshostsin your /25
/00.0.0.04,294,967,2964,294,967,294-
/1128.0.0.02,147,483,6482,147,483,646-
/2192.0.0.01,073,741,8241,073,741,822-
/3224.0.0.0536,870,912536,870,910-
/4240.0.0.0268,435,456268,435,454-
/5248.0.0.0134,217,728134,217,726-
/6252.0.0.067,108,86467,108,862-
/7254.0.0.033,554,43233,554,430-
/8255.0.0.016,777,21616,777,214-
/9255.128.0.08,388,6088,388,606-
/10255.192.0.04,194,3044,194,302-
/11255.224.0.02,097,1522,097,150-
/12255.240.0.01,048,5761,048,574-
/13255.248.0.0524,288524,286-
/14255.252.0.0262,144262,142-
/15255.254.0.0131,072131,070-
/16255.255.0.065,53665,534-
/17255.255.128.032,76832,766-
/18255.255.192.016,38416,382-
/19255.255.224.08,1928,190-
/20255.255.240.04,0964,094-
/21255.255.248.02,0482,046-
/22255.255.252.01,0241,022-
/23255.255.254.0512510-
/24255.255.255.0256254-
/25255.255.255.1281281261
/26255.255.255.19264622 split →
/27255.255.255.22432304 split →
/28255.255.255.24016148 split →
/29255.255.255.2488616 split →
/30255.255.255.2524232 split →
/31255.255.255.2542264 split →
/32255.255.255.25511128 split →
02 / faq

About this calculator.

How do I use this subnet calculator?

▼

Type an IP address followed by a prefix, like 192.168.1.10/24, or by a subnet mask, like 192.168.1.10 255.255.255.0. Without a prefix it uses /24. Click a row in the table to split the network into smaller subnets.

Why are usable hosts always 2 fewer?

▼

The first address in a subnet is the network address and the last is the broadcast address, so neither can go to a device. The exceptions are /31 (point-to-point links, RFC 3021) and /32 (a single address), which use every address.

Can I use it from a terminal?

▼

Yes. curl 'ipku.in/en/tools/ipv4-subnet-calculator?q=192.168.1.10/24' returns the result as plain text.

Learn how to work it out →