The most precise way to know is by checking the internal temperature with a thermometer. Once it reaches 5 degrees (F) below your desired doneness, pull it from the grill and let it rest for 5 minutes (it will continue to cook a bit more as it rests).