Question: how many years would it take to get to mars from earth?
Answer: The total journey time from Earth to Mars takes between 150-300 days depending on the speed of the launch, the alignment of Earth and Mars, and the length of the journey the spacecraft takes to reach its target. It really just depends on how much fuel you're willing to burn to get there. More fuel, shorter travel time.