used to ask about the extent or degree of something
How far is the nearest gas station from here?
ここから一番近いガソリンスタンドまでどのくらいの距離ですか?