Questions & Answers about Мы были в восьмидесяти километрах от дома.
Yes, в usually means in or into, but in this pattern it helps express distance from something:
в + distance + от + place
So в восьмидесяти километрах от дома literally means something like at eighty kilometers from home, or more naturally in English, eighty kilometers from home.
This is a very common Russian structure:
- в одном километре от города — one kilometer from the city
- в пяти минутах от станции — five minutes from the station
- в двух шагах от школы — two steps away from the school
Because the numeral has to change case.
The preposition в in this expression requires the prepositional case, and the numeral also declines.
So:
- dictionary form: восемьдесят — eighty
- prepositional form: в восьмидесяти — in/at eighty
This is one of the trickier parts of Russian numerals: they often change form depending on case.