def magnitude_to_moment(magnitude):
    """
    Convert moment magnitude Mw to scalar moment.

    :param magnitude: moment magnitude
    :returns: scalar moment [Nm]

    See :py:func:`moment_to_magnitude`.
    """
    return 10.0 ** (1.5 * (magnitude + 10.7)) * 1e-07
