The following formula illustrates how to determine the tempo before or after a metric modulation, or, alternatively, how many of the associated note values will be in each measure before or after the modulation: