Calculation of the nonperturbative strong coupling from first principles