How to convert ms (milliseconds) to BPM (beats per minute) and vice versa

If you have a delay pedal, you will want to be able to convert between milliseconds (ms) and BPM (beats per minute). This guide will explain how to do that with examples.