def msf(magnitude):
    """
    Magnitude scaling factor

    :param magnitude: Earthquake moment magnitude
    :return: float
    """
    magnitude_sf = 10. ** 2.24 / magnitude ** 2.56
    return magnitude_sf