IP サブネット計算機

Results
—
—

IP サブネット計算機は IPv4 アドレスと CIDR プレフィックスを受け取り、サブネットマスク、ネットワークアドレス、ブロードキャストアドレス、ワイルドカードマスク、ホスト範囲、総ホスト数と使用可能ホスト数を導き出します。

公式
mask = ((1 << bits) − 1) << (32 − bits); network = ip & mask; broadcast = network | ~mask

よくある質問

サブネット内で使用できるホストが一部だけなのはなぜですか?
ネットワークアドレスとブロードキャストアドレスは予約されるため、使用可能なホスト数は 2^(32−プレフィックス) − 2 です。

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. 概要 MateCalc.

関連する計算機