In order to finish a marathon in 4 hours, your average pace needs to be 9 min, 9.62 sec per mile, or 9:9.62 minutes per mile. Example Calculation 2: How long will it take me to run a half marathon if my average pace is 10 minutes, 30 seconds per mile?