Very basic grammar but for some reason I cannot easily find an answer online. For example, "My house is 5km from school."
Kind of like かかります but for distance instead of time.
There are a few common ways to express that.
「[家]{いえ}は[学校]{がっこう}から5kmのところにあります。」
「家から学校まで(は)5kmあります。」
「家から学校まで(は)5kmです。」
「家は学校から5km[離]{はな}れています。」
「家は学校から5km離れたところにあります。」
It is hard to say which one is most common. You will hear them all.
Note: I used "km" for the writing purpose. When you say these sentences out loud, you will read it as 「キロ」. From the context, no one will think you are talking about weight.