1. Press at the edge (how many frames off are you?)
Task: With 0 frames of grace, can you make it across 5 times in a row? See how many frames off you usually are, and find how much grace makes it reliable.
This runs the same calculation as the video "Why Can You Jump After Leaving a Ledge? Coyote Time Explained". Every 1/60 s: "add gravity to the speed → add the speed to the position". It counts the frames since you left the ground, and accepts a jump if that is less than the grace period (coyote time). Same box and same physics as the earlier "how jumps fall" video.
This page uses the same calculation as the video diagrams (gravity 32 squares/s², take-off 16.27 squares/s, running speed 6 squares/s = 0.1 square per frame, gap 5 squares). These are not values from a real game. There is no single right number of grace frames; it depends on running speed, gap width and how precise you want players to be. It always calculates in fixed 1/60 s steps, whatever your screen refresh rate.
Sources and credits: same as the video description (AI was used for the diagrams and script; no game footage or characters).