The grid is based on framerate, and the framerate is a fixed value in the Timeline asset. If you know the BPM you want to match, you can change the framerate of the Timeline to match.