Kokeby is approximately 30 kilometers away from Perth, making it a convenient location for those who work or study in the city.